Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7971/0.7971, allocations: 141.8 MB / 149.1 MB, free: 2.488 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 182.5 kB / 182 MB, free: 14.45 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 436 MB, free: 7.402 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001026, allocations: 87.61 kB / 0.507 GB, free: 24.55 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 285 kB / 0.5885 GB, free: 10.66 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.983e-06, allocations: 0 / 0.6759 GB, free: 1.043 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4815, allocations: 82.77 MB / 0.7567 GB, free: 111.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7448/1.226, allocations: 377.1 MB / 1.125 GB, free: 3.117 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.227, allocations: 68.91 kB / 1.125 GB, free: 3.082 MB / 0.6513 GB Notification: Performance of FrontEnd: time 0.04327/1.27, allocations: 18.72 MB / 1.143 GB, free: 4.164 MB / 0.6669 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.27, allocations: 4 kB / 1.143 GB, free: 4.16 MB / 0.6669 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.0004907/1.27, allocations: 362 kB / 1.144 GB, free: 3.766 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.27, allocations: 12.03 kB / 1.144 GB, free: 3.754 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/1.271, allocations: 7.906 kB / 1.144 GB, free: 3.746 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.271, allocations: 163 kB / 1.144 GB, free: 3.547 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1.271, allocations: 4 kB / 1.144 GB, free: 3.543 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/1.271, allocations: 7.688 kB / 1.144 GB, free: 3.539 MB / 0.6669 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.199e-05/1.271, allocations: 11.98 kB / 1.144 GB, free: 3.527 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/1.271, allocations: 57.39 kB / 1.144 GB, free: 3.469 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/1.271, allocations: 0 / 1.144 GB, free: 3.469 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.271, allocations: 0 / 1.144 GB, free: 3.469 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.271, allocations: 4 kB / 1.144 GB, free: 3.465 MB / 0.6669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/1.271, allocations: 141.9 kB / 1.144 GB, free: 3.293 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/1.271, allocations: 40.7 kB / 1.144 GB, free: 3.254 MB / 0.6669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/1.271, allocations: 8.859 kB / 1.144 GB, free: 3.242 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/1.272, allocations: 0.6148 MB / 1.145 GB, free: 2.535 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.272, allocations: 34.56 kB / 1.145 GB, free: 2.492 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/1.272, allocations: 4 kB / 1.145 GB, free: 2.488 MB / 0.6669 GB Notification: Performance of matching and sorting (n=7): time 0.0005681/1.273, allocations: 275.2 kB / 1.145 GB, free: 2.18 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.273, allocations: 55.22 kB / 1.145 GB, free: 2.117 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/1.273, allocations: 92.98 kB / 1.145 GB, free: 2.02 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.273, allocations: 25.7 kB / 1.145 GB, free: 1.988 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/1.273, allocations: 92.05 kB / 1.145 GB, free: 1.895 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/1.273, allocations: 30.48 kB / 1.145 GB, free: 1.871 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/1.273, allocations: 0 / 1.145 GB, free: 1.871 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.273, allocations: 322.7 kB / 1.146 GB, free: 1.547 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/1.273, allocations: 7.938 kB / 1.146 GB, free: 1.543 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/1.273, allocations: 48.28 kB / 1.146 GB, free: 1.484 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/1.273, allocations: 19.67 kB / 1.146 GB, free: 1.469 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/1.273, allocations: 0 / 1.146 GB, free: 1.469 MB / 0.6669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/1.273, allocations: 88.64 kB / 1.146 GB, free: 1.383 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.273, allocations: 6.969 kB / 1.146 GB, free: 1.379 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.273, allocations: 0 / 1.146 GB, free: 1.379 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.273, allocations: 4 kB / 1.146 GB, free: 1.375 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/1.273, allocations: 24.11 kB / 1.146 GB, free: 1.352 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.273, allocations: 3.938 kB / 1.146 GB, free: 1.348 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/1.273, allocations: 4 kB / 1.146 GB, free: 1.344 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.273, allocations: 4 kB / 1.146 GB, free: 1.34 MB / 0.6669 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 8.069e-05/1.274, allocations: 104.9 kB / 1.146 GB, free: 1.23 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/1.274, allocations: 7.906 kB / 1.146 GB, free: 1.219 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/1.274, allocations: 7.75 kB / 1.146 GB, free: 1.215 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.274, allocations: 0 / 1.146 GB, free: 1.215 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.274, allocations: 0 / 1.146 GB, free: 1.215 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.274, allocations: 8 kB / 1.146 GB, free: 1.207 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/1.274, allocations: 145.5 kB / 1.146 GB, free: 1.031 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.274, allocations: 256 / 1.146 GB, free: 1.031 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/1.274, allocations: 23.89 kB / 1.146 GB, free: 1.008 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.274, allocations: 4 kB / 1.146 GB, free: 1.004 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.274, allocations: 0 / 1.146 GB, free: 1.004 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.274, allocations: 0 / 1.146 GB, free: 1.004 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.274, allocations: 0 / 1.146 GB, free: 1.004 MB / 0.6669 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001706/1.274, allocations: 173.1 kB / 1.146 GB, free: 0.832 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/1.274, allocations: 89.09 kB / 1.146 GB, free: 0.7266 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/1.274, allocations: 3.906 kB / 1.146 GB, free: 0.7227 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.274, allocations: 0 / 1.146 GB, free: 0.7227 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/1.274, allocations: 7.984 kB / 1.146 GB, free: 0.7148 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/1.274, allocations: 3.5 kB / 1.146 GB, free: 0.7148 MB / 0.6669 GB Notification: Performance of sort global known variables: time 3.501e-05/1.274, allocations: 79.66 kB / 1.146 GB, free: 0.6367 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.000257/1.275, allocations: 12 kB / 1.146 GB, free: 0.625 MB / 0.6669 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.0002301/1.275, allocations: 151.2 kB / 1.147 GB, free: 484 kB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.0001013/1.275, allocations: 31.88 kB / 1.147 GB, free: 456 kB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.275, allocations: 0 / 1.147 GB, free: 456 kB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/1.275, allocations: 23.5 kB / 1.147 GB, free: 436 kB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.275, allocations: 0 / 1.147 GB, free: 436 kB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/1.276, allocations: 270.2 kB / 1.147 GB, free: 148 kB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.276, allocations: 0.6958 MB / 1.148 GB, free: 15.42 MB / 0.6825 GB Notification: Performance of SimCode: time 1.784e-06/1.276, allocations: 3.938 kB / 1.148 GB, free: 15.42 MB / 0.6825 GB Notification: Performance of Templates: time 0.003768/1.28, allocations: 0.9527 MB / 1.148 GB, free: 14.48 MB / 0.6825 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)