Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [: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 1.954/1.954, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.00162/0.00162, allocations: 173.3 kB / 319.6 MB, free: 3.297 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.766/1.766, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001804/0.001804, allocations: 96.56 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/1.044e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.579/1.79, allocations: 400.8 MB / 1.279 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.79, allocations: 70.61 kB / 1.28 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.06549/1.856, allocations: 18.37 MB / 1.297 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.856, allocations: 5.812 kB / 1.297 GB, free: 244.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004338/1.856, allocations: 366.2 kB / 1.298 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.856, allocations: 9.25 kB / 1.298 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/1.856, allocations: 2.969 kB / 1.298 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/1.856, allocations: 169.2 kB / 1.298 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.856, allocations: 5.312 kB / 1.298 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/1.856, allocations: 7.453 kB / 1.298 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.734e-05/1.857, allocations: 12.86 kB / 1.298 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/1.857, allocations: 47.16 kB / 1.298 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.857, allocations: 0 / 1.298 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.857, allocations: 3.938 kB / 1.298 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.857, allocations: 1 kB / 1.298 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/1.857, allocations: 141.3 kB / 1.298 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.544e-05/1.857, allocations: 47.22 kB / 1.298 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/1.857, allocations: 15.62 kB / 1.298 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/1.858, allocations: 0.607 MB / 1.299 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/1.858, allocations: 32.44 kB / 1.299 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/1.858, allocations: 0.9688 kB / 1.299 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006759/1.859, allocations: 283 kB / 1.299 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/1.859, allocations: 53.09 kB / 1.299 GB, free: 243.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/1.859, allocations: 93.62 kB / 1.299 GB, free: 243 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.859, allocations: 25.7 kB / 1.299 GB, free: 243 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/1.859, allocations: 86.58 kB / 1.299 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/1.859, allocations: 23.84 kB / 1.299 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.859, allocations: 1.094 kB / 1.299 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/1.859, allocations: 321.7 kB / 1.3 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/1.859, allocations: 6.5 kB / 1.3 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/1.859, allocations: 52.41 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/1.859, allocations: 16.06 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.859, allocations: 7.906 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001833/1.859, allocations: 78.81 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.859, allocations: 5.719 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.859, allocations: 1.906 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.859, allocations: 2.438 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.86, allocations: 22.55 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.86, allocations: 2.812 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/1.86, allocations: 5.094 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.86, allocations: 7.719 kB / 1.3 GB, free: 242.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.653e-05/1.86, allocations: 107.7 kB / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/1.86, allocations: 2.875 kB / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/1.86, allocations: 13.08 kB / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.86, allocations: 5.25 kB / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.86, allocations: 0 / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.86, allocations: 2.047 kB / 1.3 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/1.86, allocations: 155.1 kB / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.86, allocations: 0 / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/1.86, allocations: 20.25 kB / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.86, allocations: 0 / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.86, allocations: 6.203 kB / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.86, allocations: 0 / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.86, allocations: 0 / 1.3 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001987/1.861, allocations: 175.3 kB / 1.3 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.861, allocations: 82.38 kB / 1.3 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/1.861, allocations: 1.031 kB / 1.3 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.861, allocations: 7.656 kB / 1.3 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/1.861, allocations: 3.578 kB / 1.3 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.861, allocations: 2.5 kB / 1.3 GB, free: 242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.522e-05/1.861, allocations: 77.67 kB / 1.301 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003611/1.861, allocations: 15.88 kB / 1.301 GB, free: 241.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002725/1.862, allocations: 158.2 kB / 1.301 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001388/1.862, allocations: 32.36 kB / 1.301 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.862, allocations: 1 kB / 1.301 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/1.862, allocations: 20.17 kB / 1.301 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.862, allocations: 4.516 kB / 1.301 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/1.863, allocations: 245.9 kB / 1.301 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/1.863, allocations: 0.6974 MB / 1.302 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/1.863, allocations: 4 kB / 1.302 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004465/1.868, allocations: 0.9448 MB / 1.303 GB, free: 240.7 MB / 0.8542 GB