Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 189.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002144/0.002144, allocations: 97.88 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.517e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 106.2 MB / 0.888 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.672, allocations: 373.3 MB / 1.253 GB, free: 250 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.672, allocations: 70.22 kB / 1.253 GB, free: 250 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.08424/1.757, allocations: 18.9 MB / 1.271 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.757, allocations: 3.938 kB / 1.271 GB, free: 248.7 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.001055/1.758, allocations: 473.5 kB / 1.272 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.758, allocations: 7.906 kB / 1.272 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/1.758, allocations: 21.06 kB / 1.272 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/1.759, allocations: 215.8 kB / 1.272 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/1.759, allocations: 7.906 kB / 1.272 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/1.759, allocations: 11.78 kB / 1.272 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009424/1.76, allocations: 408.5 kB / 1.272 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/1.76, allocations: 220.5 kB / 1.272 GB, free: 248 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.76, allocations: 0 / 1.272 GB, free: 248 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/1.76, allocations: 3.812 kB / 1.272 GB, free: 248 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/1.76, allocations: 3.719 kB / 1.272 GB, free: 248 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/1.762, allocations: 0.9834 MB / 1.273 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/1.763, allocations: 146.1 kB / 1.274 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.763, allocations: 56.44 kB / 1.274 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/1.765, allocations: 1.908 MB / 1.275 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.766, allocations: 45.05 kB / 1.276 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 5.13e-06/1.766, allocations: 0 / 1.276 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.001194/1.767, allocations: 137.2 kB / 1.276 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.767, allocations: 55.31 kB / 1.276 GB, free: 245 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/1.767, allocations: 137.5 kB / 1.276 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/1.767, allocations: 25.7 kB / 1.276 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/1.767, allocations: 149 kB / 1.276 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/1.767, allocations: 43.86 kB / 1.276 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.767, allocations: 0 / 1.276 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/1.767, allocations: 330.1 kB / 1.276 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/1.768, allocations: 28.67 kB / 1.276 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.768, allocations: 136 kB / 1.277 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/1.769, allocations: 82.45 kB / 1.277 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.769, allocations: 0 / 1.277 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001251/1.77, allocations: 214.3 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.77, allocations: 6.094 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.77, allocations: 3.906 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.77, allocations: 3.938 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/1.771, allocations: 61.06 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.771, allocations: 9.766 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/1.771, allocations: 23.5 kB / 1.277 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/1.771, allocations: 13.5 kB / 1.277 GB, free: 244.2 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.0001429/1.771, allocations: 116.2 kB / 1.277 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/1.771, allocations: 15.62 kB / 1.277 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.773, allocations: 184 kB / 1.277 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.773, allocations: 1.828 kB / 1.277 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.773, allocations: 0 / 1.277 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.773, allocations: 0 / 1.277 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/1.773, allocations: 187.3 kB / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.773, allocations: 0 / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/1.774, allocations: 32.66 kB / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.774, allocations: 7.906 kB / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/1.774, allocations: 3.906 kB / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.774, allocations: 0 / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.774, allocations: 1.875 kB / 1.277 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001051/1.775, allocations: 239.4 kB / 1.278 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.775, allocations: 113.1 kB / 1.278 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/1.775, allocations: 0 / 1.278 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/1.776, allocations: 13.25 kB / 1.278 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/1.776, allocations: 11.98 kB / 1.278 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/1.776, allocations: 19.03 kB / 1.278 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001109/1.776, allocations: 102.3 kB / 1.278 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009077/1.777, allocations: 71.48 kB / 1.278 GB, free: 243.5 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.0005122/1.777, allocations: 186.9 kB / 1.278 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.778, allocations: 101.2 kB / 1.278 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.778, allocations: 8.281 kB / 1.278 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/1.778, allocations: 34.45 kB / 1.278 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/1.779, allocations: 29.09 kB / 1.278 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009205/1.78, allocations: 166.9 kB / 1.278 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/1.78, allocations: 0.7491 MB / 1.279 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.453e-06/1.78, allocations: 0 / 1.279 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01506/1.795, allocations: 3.223 MB / 1.282 GB, free: 242.2 MB / 0.8542 GB