Running: ./testmodel.py --libraries=/var/lib/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 (/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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [: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.491/2.491, 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.001612/0.001611, allocations: 177.3 kB / 319.6 MB, free: 3.312 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 1.832/1.832, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.002012/0.002012, allocations: 108.6 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.039e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.508/1.723, allocations: 420.7 MB / 1.299 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.724, allocations: 66.78 kB / 1.299 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.09844/1.822, allocations: 24.9 MB / 1.323 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.822, allocations: 3.688 kB / 1.323 GB, free: 238.6 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.001026/1.823, allocations: 488.9 kB / 1.324 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.823, allocations: 16.36 kB / 1.324 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/1.823, allocations: 24.66 kB / 1.324 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/1.824, allocations: 205.8 kB / 1.324 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/1.824, allocations: 9.672 kB / 1.324 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.824, allocations: 9.25 kB / 1.324 GB, free: 237.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007725/1.825, allocations: 408.2 kB / 1.324 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/1.825, allocations: 221.5 kB / 1.325 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.825, allocations: 1.312 kB / 1.325 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/1.825, allocations: 1.656 kB / 1.325 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/1.825, allocations: 8.375 kB / 1.325 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.827, allocations: 0.9898 MB / 1.326 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/1.827, allocations: 144.9 kB / 1.326 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.827, allocations: 46.58 kB / 1.326 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/1.829, allocations: 1.946 MB / 1.328 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.829, allocations: 36.31 kB / 1.328 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/1.829, allocations: 4 kB / 1.328 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0008161/1.83, allocations: 133.5 kB / 1.328 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.83, allocations: 52.69 kB / 1.328 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.83, allocations: 140 kB / 1.328 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.83, allocations: 27.14 kB / 1.328 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.83, allocations: 134.1 kB / 1.328 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/1.83, allocations: 57.78 kB / 1.328 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/1.83, allocations: 0 / 1.328 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.83, allocations: 328 kB / 1.329 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/1.831, allocations: 26.47 kB / 1.329 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/1.831, allocations: 132.8 kB / 1.329 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/1.831, allocations: 82.8 kB / 1.329 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.831, allocations: 1.312 kB / 1.329 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008132/1.832, allocations: 204.5 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.832, allocations: 8.75 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.832, allocations: 3.75 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/1.832, allocations: 5.562 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/1.833, allocations: 60.69 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.833, allocations: 5.438 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.833, allocations: 19.38 kB / 1.329 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/1.833, allocations: 19.2 kB / 1.329 GB, free: 233.6 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.0001363/1.833, allocations: 111.9 kB / 1.329 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/1.833, allocations: 22.84 kB / 1.329 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/1.834, allocations: 188.7 kB / 1.329 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.834, allocations: 2.188 kB / 1.329 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.834, allocations: 3.906 kB / 1.329 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.834, allocations: 1.062 kB / 1.329 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/1.834, allocations: 179.3 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.835, allocations: 4.938 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.835, allocations: 26.98 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.835, allocations: 1.094 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.835, allocations: 6.25 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.835, allocations: 7.922 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.835, allocations: 1.094 kB / 1.33 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006903/1.836, allocations: 235 kB / 1.33 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/1.836, allocations: 117.8 kB / 1.33 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/1.836, allocations: 3.906 kB / 1.33 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.836, allocations: 8.016 kB / 1.33 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/1.836, allocations: 12.77 kB / 1.33 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/1.836, allocations: 5.281 kB / 1.33 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.41e-05/1.836, allocations: 112.4 kB / 1.33 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006416/1.837, allocations: 78.64 kB / 1.33 GB, free: 232.8 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.0004876/1.837, allocations: 220.8 kB / 1.33 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003835/1.838, allocations: 106.6 kB / 1.33 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.838, allocations: 1.375 kB / 1.33 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.838, allocations: 40.42 kB / 1.331 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/1.838, allocations: 30.17 kB / 1.331 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/1.839, allocations: 165 kB / 1.331 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/1.839, allocations: 0.7399 MB / 1.331 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/1.839, allocations: 0 / 1.331 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01297/1.852, allocations: 3.257 MB / 1.335 GB, free: 230.1 MB / 0.8542 GB