Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.204/2.204, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.002562/0.002562, allocations: 196 kB / 315.1 MB, free: 4.281 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.118/2.118, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001304/0.001304, allocations: 97.5 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5141/0.5155, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.7643, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/2.31, allocations: 424.3 MB / 1.298 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/2.311, allocations: 70.45 kB / 1.298 GB, free: 243.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.06174/2.373, allocations: 13.59 MB / 1.311 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/2.373, allocations: 8.406 kB / 1.311 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/2.373, allocations: 30.73 kB / 1.311 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/2.373, allocations: 233.4 kB / 1.311 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/2.373, allocations: 24.59 kB / 1.311 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/2.373, allocations: 8.844 kB / 1.311 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00177/2.375, allocations: 0.6107 MB / 1.312 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/2.376, allocations: 226.4 kB / 1.312 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/2.376, allocations: 0 / 1.312 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/2.376, allocations: 1.156 kB / 1.312 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/2.376, allocations: 3.219 kB / 1.312 GB, free: 242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/2.377, allocations: 281.2 kB / 1.313 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/2.378, allocations: 412.8 kB / 1.313 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/2.378, allocations: 166.2 kB / 1.313 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/2.379, allocations: 388.7 kB / 1.313 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/2.379, allocations: 36 kB / 1.313 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 3.226e-06/2.379, allocations: 0.7812 kB / 1.313 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.005191/2.384, allocations: 0.6982 MB / 1.314 GB, free: 241 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/2.384, allocations: 59.22 kB / 1.314 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/2.384, allocations: 113.1 kB / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/2.384, allocations: 27.11 kB / 1.314 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/2.384, allocations: 86.73 kB / 1.314 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/2.384, allocations: 122.7 kB / 1.315 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/2.384, allocations: 0 / 1.315 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/2.384, allocations: 327.5 kB / 1.315 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/2.385, allocations: 135.2 kB / 1.315 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/2.385, allocations: 138.8 kB / 1.315 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004275/2.389, allocations: 499.4 kB / 1.316 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.39, allocations: 0 / 1.316 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.005207/2.395, allocations: 0.6905 MB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/2.395, allocations: 8.531 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/2.395, allocations: 0 / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/2.395, allocations: 1.281 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/2.396, allocations: 124 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/2.396, allocations: 1.25 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/2.396, allocations: 60.31 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.136e-05/2.396, allocations: 15.7 kB / 1.316 GB, free: 239.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001191/2.396, allocations: 106.3 kB / 1.317 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/2.397, allocations: 17.12 kB / 1.317 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/2.402, allocations: 0.7743 MB / 1.317 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/2.402, allocations: 3.781 kB / 1.317 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/2.402, allocations: 1 kB / 1.317 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.402, allocations: 0 / 1.317 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/2.403, allocations: 289.3 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.403, allocations: 0 / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/2.403, allocations: 116.1 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/2.403, allocations: 4.719 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/2.403, allocations: 7.734 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/2.403, allocations: 1.656 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.403, allocations: 0.875 kB / 1.318 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005118/2.409, allocations: 0.7352 MB / 1.318 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005076/2.414, allocations: 1.118 MB / 1.32 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/2.414, allocations: 98.5 kB / 1.32 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/2.414, allocations: 5.312 kB / 1.32 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/2.414, allocations: 49.89 kB / 1.32 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/2.415, allocations: 87.58 kB / 1.32 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/2.415, allocations: 15.39 kB / 1.32 GB, free: 238 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.795e-05/2.415, allocations: 101.9 kB / 1.32 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001701/2.417, allocations: 128.9 kB / 1.32 GB, free: 237.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 (37): * Single equations (assignments): 37 * 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.000884/2.418, allocations: 245.5 kB / 1.32 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001064/2.419, allocations: 343.4 kB / 1.321 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.419, allocations: 1.312 kB / 1.321 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/2.419, allocations: 203.9 kB / 1.321 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/2.42, allocations: 55.38 kB / 1.321 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/2.421, allocations: 313.9 kB / 1.321 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/2.422, allocations: 0.7807 MB / 1.322 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/2.422, allocations: 0 / 1.322 GB, free: 236.7 MB / 0.8542 GB