Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h") [: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.241/2.241, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.001549/0.001548, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.861/1.861, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001329/0.001329, allocations: 103.3 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.302e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.224, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/5.721, allocations: 2.183 GB / 3.071 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/5.722, allocations: 87.33 kB / 3.071 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.728/7.449, allocations: 397.7 MB / 3.46 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.831e-05/7.45, allocations: 23.38 kB / 3.46 GB, free: 112.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001772/7.451, allocations: 0.8489 MB / 3.461 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/7.451, allocations: 8.031 kB / 3.461 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/7.452, allocations: 63.47 kB / 3.461 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/7.452, allocations: 442.8 kB / 3.461 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/7.452, allocations: 16 kB / 3.461 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/7.453, allocations: 36 kB / 3.461 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007757/7.453, allocations: 282.5 kB / 3.461 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/7.454, allocations: 0.6027 MB / 3.462 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/7.454, allocations: 0 / 3.462 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/7.455, allocations: 4 kB / 3.462 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/7.455, allocations: 35.91 kB / 3.462 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/7.458, allocations: 2.989 MB / 3.465 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/7.458, allocations: 206.5 kB / 3.465 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/7.458, allocations: 112.6 kB / 3.465 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/7.458, allocations: 4 kB / 3.465 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/7.458, allocations: 50.44 kB / 3.465 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 3.326e-06/7.458, allocations: 0 / 3.465 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0005502/7.459, allocations: 137.3 kB / 3.465 GB, free: 106 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/7.459, allocations: 290.7 kB / 3.466 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/7.459, allocations: 219.6 kB / 3.466 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/7.459, allocations: 29.7 kB / 3.466 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/7.459, allocations: 259.6 kB / 3.466 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/7.459, allocations: 35.48 kB / 3.466 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/7.459, allocations: 0 / 3.466 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/7.46, allocations: 342.9 kB / 3.467 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/7.46, allocations: 19.98 kB / 3.467 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/7.46, allocations: 92.58 kB / 3.467 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/7.46, allocations: 43.91 kB / 3.467 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/7.46, allocations: 0 / 3.467 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002568/7.46, allocations: 129.2 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/7.46, allocations: 4 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/7.46, allocations: 4.188 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/7.46, allocations: 4 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/7.46, allocations: 27.98 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/7.46, allocations: 288 / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/7.461, allocations: 31.88 kB / 3.467 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/7.461, allocations: 8 kB / 3.467 GB, free: 104.4 MB / 0.8698 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 (10): * Single equations (assignments): 10 * 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 8.369e-05/7.461, allocations: 112.9 kB / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/7.461, allocations: 23.72 kB / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/7.461, allocations: 40.88 kB / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/7.461, allocations: 7.984 kB / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/7.461, allocations: 0 / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/7.461, allocations: 8 kB / 3.467 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/7.463, allocations: 1.215 MB / 3.468 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/7.463, allocations: 7.906 kB / 3.468 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/7.463, allocations: 23.98 kB / 3.468 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/7.463, allocations: 4 kB / 3.468 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/7.463, allocations: 4 kB / 3.468 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/7.463, allocations: 4 kB / 3.468 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/7.463, allocations: 4.125 kB / 3.468 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003577/7.464, allocations: 386.2 kB / 3.469 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/7.464, allocations: 112.7 kB / 3.469 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/7.464, allocations: 7.984 kB / 3.469 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/7.464, allocations: 15.98 kB / 3.469 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/7.464, allocations: 15.98 kB / 3.469 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/7.464, allocations: 12 kB / 3.469 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002073/7.465, allocations: 175.1 kB / 3.469 GB, free: 102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001019/7.466, allocations: 223.2 kB / 3.469 GB, free: 101.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002649/7.468, allocations: 1.645 MB / 3.471 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003432/7.469, allocations: 71.91 kB / 3.471 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/7.469, allocations: 4.375 kB / 3.471 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/7.469, allocations: 47.86 kB / 3.471 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/7.47, allocations: 85.2 kB / 3.471 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/7.471, allocations: 0.5771 MB / 3.472 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/7.472, allocations: 0.9384 MB / 3.472 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.813e-06/7.472, allocations: 0 / 3.472 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.03031/7.502, allocations: 11.85 MB / 3.484 GB, free: 86.67 MB / 0.8698 GB