Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.514/1.514, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.3 kB / 361.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008653, allocations: 88.86 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 0 / 0.851 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5956/0.5956, allocations: 115.3 MB / 0.9636 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.462, allocations: 426.2 MB / 1.38 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.462, allocations: 70.62 kB / 1.38 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.05673/1.519, allocations: 24.88 MB / 1.404 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.519, allocations: 4 kB / 1.404 GB, free: 116.5 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.0007917/1.52, allocations: 491.5 kB / 1.405 GB, free: 116 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.52, allocations: 8.031 kB / 1.405 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/1.52, allocations: 28.42 kB / 1.405 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/1.52, allocations: 208.1 kB / 1.405 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.52, allocations: 4 kB / 1.405 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/1.52, allocations: 11.94 kB / 1.405 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00044/1.521, allocations: 414.8 kB / 1.405 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/1.521, allocations: 213.2 kB / 1.406 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.521, allocations: 7.938 kB / 1.406 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.521, allocations: 0 / 1.406 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/1.521, allocations: 8 kB / 1.406 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/1.522, allocations: 0.9882 MB / 1.407 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/1.522, allocations: 143.6 kB / 1.407 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/1.522, allocations: 49.3 kB / 1.407 GB, free: 114 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.524, allocations: 1.939 MB / 1.409 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.524, allocations: 37 kB / 1.409 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/1.524, allocations: 0 / 1.409 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0005518/1.524, allocations: 133 kB / 1.409 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/1.524, allocations: 55.31 kB / 1.409 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.524, allocations: 130.3 kB / 1.409 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.524, allocations: 25.7 kB / 1.409 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/1.524, allocations: 145 kB / 1.409 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/1.524, allocations: 53.05 kB / 1.409 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/1.524, allocations: 0 / 1.409 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/1.524, allocations: 325.9 kB / 1.409 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/1.525, allocations: 31.42 kB / 1.41 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/1.525, allocations: 129.5 kB / 1.41 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.525, allocations: 89.16 kB / 1.41 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.525, allocations: 0 / 1.41 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005042/1.526, allocations: 201 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.526, allocations: 4.469 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.526, allocations: 4 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.526, allocations: 15.91 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.526, allocations: 62.45 kB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.526, allocations: 7.938 kB / 1.41 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/1.526, allocations: 19.75 kB / 1.41 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.526, allocations: 15.69 kB / 1.41 GB, free: 110.3 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 6.893e-05/1.526, allocations: 115.4 kB / 1.41 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/1.526, allocations: 15.8 kB / 1.41 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/1.527, allocations: 190.1 kB / 1.41 GB, free: 110 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.527, allocations: 3.984 kB / 1.41 GB, free: 110 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.527, allocations: 7.938 kB / 1.41 GB, free: 110 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.527, allocations: 0 / 1.41 GB, free: 110 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.527, allocations: 183.1 kB / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.527, allocations: 1.812 kB / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.527, allocations: 31.92 kB / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.527, allocations: 0 / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/1.527, allocations: 0 / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.527, allocations: 0 / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.527, allocations: 4 kB / 1.411 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004398/1.527, allocations: 242 kB / 1.411 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/1.528, allocations: 119 kB / 1.411 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/1.528, allocations: 0 / 1.411 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.528, allocations: 7.984 kB / 1.411 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/1.528, allocations: 4 kB / 1.411 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.528, allocations: 11.17 kB / 1.411 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.63e-05/1.528, allocations: 109.4 kB / 1.411 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004429/1.528, allocations: 79.72 kB / 1.411 GB, free: 109.2 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.0003549/1.529, allocations: 224.1 kB / 1.411 GB, free: 109 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002296/1.529, allocations: 104.6 kB / 1.411 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.529, allocations: 0 / 1.411 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/1.529, allocations: 46.05 kB / 1.411 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/1.529, allocations: 28.28 kB / 1.412 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/1.53, allocations: 172 kB / 1.412 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/1.53, allocations: 0.7423 MB / 1.412 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/1.53, allocations: 0 / 1.412 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.006771/1.537, allocations: 3.24 MB / 1.416 GB, free: 104.8 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)