Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [: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/BuildSysPro 3.5.0/package.mo): time 0.6895/0.6895, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 193.2 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 399.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001202, allocations: 97.14 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/1.014e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1917, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.34, allocations: 309.9 MB / 0.9235 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.34, allocations: 79.89 kB / 0.9236 GB, free: 192.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.03709/1.377, allocations: 16.71 MB / 0.9399 GB, free: 175.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.377, allocations: 0 / 0.9399 GB, free: 175.9 MB / 0.6198 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.0008278/1.378, allocations: 478.5 kB / 0.9404 GB, free: 175.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.378, allocations: 8.031 kB / 0.9404 GB, free: 175.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/1.38, allocations: 203.4 kB / 0.9406 GB, free: 175.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/1.381, allocations: 206.8 kB / 0.9408 GB, free: 175 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.381, allocations: 8 kB / 0.9408 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/1.381, allocations: 8 kB / 0.9408 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004238/1.381, allocations: 196.5 kB / 0.941 GB, free: 174.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/1.381, allocations: 236 kB / 0.9412 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.381, allocations: 0 / 0.9412 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/1.382, allocations: 0 / 0.9412 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/1.382, allocations: 11.94 kB / 0.9412 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/1.383, allocations: 1.354 MB / 0.9425 GB, free: 173 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/1.383, allocations: 138.5 kB / 0.9427 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/1.384, allocations: 56.89 kB / 0.9427 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/1.384, allocations: 11.98 kB / 0.9427 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.384, allocations: 34.56 kB / 0.9428 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/1.384, allocations: 0 / 0.9428 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003796/1.384, allocations: 141.8 kB / 0.9429 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.384, allocations: 55.39 kB / 0.943 GB, free: 172.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.384, allocations: 123.3 kB / 0.9431 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.384, allocations: 25.7 kB / 0.9431 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/1.384, allocations: 135.9 kB / 0.9432 GB, free: 172.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/1.384, allocations: 59.09 kB / 0.9433 GB, free: 172.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/1.384, allocations: 0 / 0.9433 GB, free: 172.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/1.385, allocations: 318.8 kB / 0.9436 GB, free: 171.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/1.385, allocations: 48.39 kB / 0.9436 GB, free: 171.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.385, allocations: 126.1 kB / 0.9438 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.385, allocations: 51.95 kB / 0.9438 GB, free: 171.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.385, allocations: 4 kB / 0.9438 GB, free: 171.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003189/1.385, allocations: 191.6 kB / 0.944 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.385, allocations: 11.92 kB / 0.944 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.385, allocations: 4 kB / 0.944 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.385, allocations: 4 kB / 0.944 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.386, allocations: 76.11 kB / 0.9441 GB, free: 171.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.386, allocations: 7.938 kB / 0.9441 GB, free: 171.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/1.386, allocations: 27.77 kB / 0.9441 GB, free: 171.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.386, allocations: 8 kB / 0.9441 GB, free: 171.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001001/1.386, allocations: 112.8 kB / 0.9442 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.386, allocations: 19.89 kB / 0.9443 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/1.387, allocations: 178.2 kB / 0.9444 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.387, allocations: 4 kB / 0.9444 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.387, allocations: 0 / 0.9444 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.387, allocations: 3.906 kB / 0.9444 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/1.387, allocations: 213.9 kB / 0.9446 GB, free: 170.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.387, allocations: 4 kB / 0.9446 GB, free: 170.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.387, allocations: 55.91 kB / 0.9447 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.387, allocations: 0 / 0.9447 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/1.387, allocations: 7.984 kB / 0.9447 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.387, allocations: 0.625 kB / 0.9447 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.387, allocations: 0 / 0.9447 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002867/1.388, allocations: 250.6 kB / 0.9449 GB, free: 170.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/1.388, allocations: 108.8 kB / 0.945 GB, free: 170.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.388, allocations: 0 / 0.945 GB, free: 170.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.388, allocations: 15.98 kB / 0.9451 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/1.388, allocations: 11.98 kB / 0.9451 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/1.388, allocations: 11.98 kB / 0.9451 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.099e-05/1.388, allocations: 98.25 kB / 0.9452 GB, free: 170.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004327/1.389, allocations: 56.02 kB / 0.9452 GB, free: 170.1 MB / 0.6198 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 (20): * Single equations (assignments): 20 * 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.00029/1.389, allocations: 130.3 kB / 0.9454 GB, free: 169.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002784/1.389, allocations: 143.8 kB / 0.9455 GB, free: 169.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.389, allocations: 4.625 kB / 0.9455 GB, free: 169.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/1.389, allocations: 63.94 kB / 0.9456 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.39, allocations: 31.95 kB / 0.9456 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/1.391, allocations: 224.2 kB / 0.9458 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/1.391, allocations: 0.7515 MB / 0.9465 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/1.391, allocations: 3.938 kB / 0.9465 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.008883/1.4, allocations: 3.322 MB / 0.9498 GB, free: 165.4 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)