Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.227/2.227, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.00176/0.00176, allocations: 185.2 kB / 315.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.1 MB / 0.5658 GB, free: 404 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.001873/0.001873, allocations: 104.7 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5347/0.5366, allocations: 112.4 MB / 0.7797 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.766, allocations: 106.2 MB / 0.8835 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/2.367, allocations: 420.8 MB / 1.294 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/2.367, allocations: 65.8 kB / 1.294 GB, free: 244.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.1134/2.48, allocations: 25.39 MB / 1.319 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.48, allocations: 8.844 kB / 1.319 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/2.481, allocations: 24.05 kB / 1.319 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/2.481, allocations: 202.8 kB / 1.319 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/2.481, allocations: 5.25 kB / 1.319 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/2.481, allocations: 9.531 kB / 1.319 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008349/2.482, allocations: 415.7 kB / 1.32 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/2.482, allocations: 216.2 kB / 1.32 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/2.482, allocations: 3.938 kB / 1.32 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/2.482, allocations: 1.094 kB / 1.32 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/2.482, allocations: 9.594 kB / 1.32 GB, free: 239.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/2.484, allocations: 0.9775 MB / 1.321 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/2.484, allocations: 141.6 kB / 1.321 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/2.485, allocations: 53.42 kB / 1.321 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/2.486, allocations: 1.944 MB / 1.323 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/2.486, allocations: 46.14 kB / 1.323 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/2.486, allocations: 4 kB / 1.323 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007586/2.487, allocations: 129.8 kB / 1.323 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/2.487, allocations: 51.41 kB / 1.323 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/2.487, allocations: 137.4 kB / 1.323 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/2.487, allocations: 25.7 kB / 1.323 GB, free: 236 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/2.487, allocations: 138.8 kB / 1.324 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/2.488, allocations: 54.08 kB / 1.324 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/2.488, allocations: 0 / 1.324 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/2.488, allocations: 326.2 kB / 1.324 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.774e-05/2.488, allocations: 34.61 kB / 1.324 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/2.488, allocations: 131.8 kB / 1.324 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/2.488, allocations: 73.5 kB / 1.324 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/2.488, allocations: 3.875 kB / 1.324 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000907/2.489, allocations: 212.3 kB / 1.324 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.489, allocations: 12 kB / 1.324 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/2.489, allocations: 3.906 kB / 1.324 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/2.489, allocations: 3.906 kB / 1.324 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/2.49, allocations: 62.62 kB / 1.324 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/2.49, allocations: 11.83 kB / 1.325 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/2.49, allocations: 19.56 kB / 1.325 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/2.49, allocations: 11.72 kB / 1.325 GB, free: 235.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001048/2.49, allocations: 108.9 kB / 1.325 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/2.49, allocations: 19.62 kB / 1.325 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/2.491, allocations: 189.6 kB / 1.325 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/2.491, allocations: 3.875 kB / 1.325 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/2.491, allocations: 7.891 kB / 1.325 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.491, allocations: 0 / 1.325 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/2.492, allocations: 176.7 kB / 1.325 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/2.492, allocations: 3.906 kB / 1.325 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/2.492, allocations: 31.23 kB / 1.325 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/2.492, allocations: 7.906 kB / 1.325 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/2.492, allocations: 7.875 kB / 1.325 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/2.492, allocations: 0 / 1.325 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.492, allocations: 0 / 1.325 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006567/2.493, allocations: 232.5 kB / 1.325 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007526/2.493, allocations: 0.6211 MB / 1.326 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/2.494, allocations: 117.9 kB / 1.326 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/2.494, allocations: 3.906 kB / 1.326 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/2.494, allocations: 4.375 kB / 1.326 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/2.494, allocations: 8.766 kB / 1.326 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/2.494, allocations: 12.3 kB / 1.326 GB, free: 234 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.96e-05/2.494, allocations: 104.8 kB / 1.326 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001568/2.496, allocations: 85.28 kB / 1.326 GB, free: 233.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005058/2.496, allocations: 220.5 kB / 1.326 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004202/2.497, allocations: 102.9 kB / 1.327 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/2.497, allocations: 2.188 kB / 1.327 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/2.497, allocations: 42.3 kB / 1.327 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/2.497, allocations: 38.22 kB / 1.327 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/2.498, allocations: 161.8 kB / 1.327 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/2.499, allocations: 0.7435 MB / 1.327 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/2.499, allocations: 0 / 1.327 GB, free: 232.9 MB / 0.8542 GB