Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.037/2.037, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 186.8 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 91.02 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.496/0.4973, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.7145, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.042/6.757, allocations: 2.187 GB / 3.071 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/6.757, allocations: 82.33 kB / 3.071 GB, free: 182.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 2.653/9.41, allocations: 0.5847 GB / 3.655 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/9.41, allocations: 7.344 kB / 3.655 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/9.413, allocations: 291.1 kB / 3.656 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/9.415, allocations: 0.5714 MB / 3.656 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/9.415, allocations: 27.53 kB / 3.656 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/9.416, allocations: 43.62 kB / 3.656 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001649/9.417, allocations: 0.5244 MB / 3.657 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/9.419, allocations: 0.7878 MB / 3.657 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/9.419, allocations: 3.75 kB / 3.657 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/9.419, allocations: 6.438 kB / 3.657 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/9.419, allocations: 41.67 kB / 3.658 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/9.425, allocations: 3.698 MB / 3.661 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/9.426, allocations: 176.6 kB / 3.661 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/9.426, allocations: 122.8 kB / 3.661 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/9.427, allocations: 0.633 MB / 3.662 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/9.427, allocations: 37.97 kB / 3.662 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.156e-06/9.427, allocations: 0 / 3.662 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002677/9.43, allocations: 416.7 kB / 3.662 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/9.43, allocations: 105.5 kB / 3.663 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/9.431, allocations: 352.4 kB / 3.663 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/9.431, allocations: 29.67 kB / 3.663 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/9.431, allocations: 356.8 kB / 3.663 GB, free: 167 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/9.431, allocations: 60.05 kB / 3.663 GB, free: 167 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/9.431, allocations: 3.688 kB / 3.663 GB, free: 167 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/9.431, allocations: 350.5 kB / 3.664 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/9.431, allocations: 87.02 kB / 3.664 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/9.432, allocations: 218 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/9.432, allocations: 151.1 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/9.432, allocations: 7.031 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001069/9.433, allocations: 348.5 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/9.433, allocations: 5.438 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/9.433, allocations: 5.438 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/9.433, allocations: 9.188 kB / 3.664 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/9.434, allocations: 65.92 kB / 3.665 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/9.434, allocations: 9.875 kB / 3.665 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/9.435, allocations: 45.48 kB / 3.665 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/9.435, allocations: 21.3 kB / 3.665 GB, free: 166.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/9.435, allocations: 111.2 kB / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/9.435, allocations: 46.19 kB / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/9.436, allocations: 271.7 kB / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/9.436, allocations: 3.844 kB / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/9.436, allocations: 3.562 kB / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/9.436, allocations: 0 / 3.665 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/9.439, allocations: 1.197 MB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/9.439, allocations: 3.406 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/9.44, allocations: 44.77 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/9.44, allocations: 4.75 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/9.44, allocations: 5.5 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/9.44, allocations: 13.59 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/9.44, allocations: 2.906 kB / 3.666 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009722/9.441, allocations: 0.6189 MB / 3.667 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001446/9.442, allocations: 1.115 MB / 3.668 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/9.443, allocations: 140 kB / 3.668 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/9.443, allocations: 7.125 kB / 3.668 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/9.444, allocations: 30.97 kB / 3.668 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/9.444, allocations: 28.53 kB / 3.668 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/9.444, allocations: 14.98 kB / 3.668 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004244/9.444, allocations: 262 kB / 3.668 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003093/9.447, allocations: 0.5774 MB / 3.669 GB, free: 164.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003807/9.451, allocations: 2.222 MB / 3.671 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007175/9.452, allocations: 205.7 kB / 3.671 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/9.452, allocations: 0 / 3.671 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/9.452, allocations: 102.1 kB / 3.671 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/9.454, allocations: 170.9 kB / 3.672 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/9.456, allocations: 0.8482 MB / 3.672 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/9.457, allocations: 1.046 MB / 3.673 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/9.457, allocations: 0 / 3.673 GB, free: 162.4 MB / 0.8698 GB