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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [: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.7113/0.7113, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.0026/0.0026, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009599/0.0009601, allocations: 89.27 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.372/0.373, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.5788, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.873, allocations: 309.9 MB / 0.9236 GB, free: 192.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/1.873, allocations: 83.94 kB / 0.9237 GB, free: 192.7 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.04305/1.916, allocations: 17.18 MB / 0.9405 GB, free: 175.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/1.917, allocations: 12 kB / 0.9405 GB, free: 175.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/1.919, allocations: 195.4 kB / 0.9407 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/1.919, allocations: 206.8 kB / 0.9409 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/1.919, allocations: 12 kB / 0.9409 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/1.919, allocations: 12 kB / 0.9409 GB, free: 175 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004602/1.92, allocations: 196.5 kB / 0.9411 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/1.92, allocations: 228 kB / 0.9413 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.92, allocations: 4 kB / 0.9413 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/1.92, allocations: 4 kB / 0.9413 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/1.92, allocations: 11.92 kB / 0.9413 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/1.922, allocations: 1.346 MB / 0.9426 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/1.922, allocations: 150.5 kB / 0.9428 GB, free: 173 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/1.922, allocations: 56.84 kB / 0.9428 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/1.922, allocations: 7.984 kB / 0.9428 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.922, allocations: 38.56 kB / 0.9429 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/1.922, allocations: 0 / 0.9429 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003899/1.923, allocations: 141.8 kB / 0.943 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/1.923, allocations: 55.41 kB / 0.9431 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.923, allocations: 123.3 kB / 0.9432 GB, free: 172.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.923, allocations: 25.7 kB / 0.9432 GB, free: 172.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/1.923, allocations: 127.9 kB / 0.9433 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/1.923, allocations: 63.09 kB / 0.9434 GB, free: 172.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/1.923, allocations: 0 / 0.9434 GB, free: 172.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/1.923, allocations: 326.8 kB / 0.9437 GB, free: 172 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/1.923, allocations: 48.41 kB / 0.9437 GB, free: 171.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/1.923, allocations: 118.1 kB / 0.9439 GB, free: 171.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/1.924, allocations: 58.31 kB / 0.9439 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.924, allocations: 4 kB / 0.9439 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003509/1.924, allocations: 193.2 kB / 0.9441 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.924, allocations: 11.94 kB / 0.9441 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.924, allocations: 0 / 0.9441 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.924, allocations: 4 kB / 0.9441 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/1.924, allocations: 71.8 kB / 0.9442 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.924, allocations: 7.938 kB / 0.9442 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/1.925, allocations: 32.08 kB / 0.9442 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/1.925, allocations: 15.98 kB / 0.9442 GB, free: 171.4 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 9.572e-05/1.925, allocations: 112.8 kB / 0.9443 GB, free: 171.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/1.925, allocations: 7.906 kB / 0.9444 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/1.925, allocations: 182.3 kB / 0.9445 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.925, allocations: 4 kB / 0.9445 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.925, allocations: 0 / 0.9445 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.925, allocations: 3.906 kB / 0.9445 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/1.926, allocations: 209.9 kB / 0.9447 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.926, allocations: 0 / 0.9447 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/1.926, allocations: 59.88 kB / 0.9448 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.926, allocations: 0 / 0.9448 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.926, allocations: 4 kB / 0.9448 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.926, allocations: 8 kB / 0.9448 GB, free: 170.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.926, allocations: 0 / 0.9448 GB, free: 170.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002932/1.926, allocations: 250.4 kB / 0.945 GB, free: 170.5 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004155/1.927, allocations: 0.6246 MB / 0.9457 GB, free: 169.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.927, allocations: 108.8 kB / 0.9458 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/1.927, allocations: 4 kB / 0.9458 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.927, allocations: 15.98 kB / 0.9458 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/1.927, allocations: 7.984 kB / 0.9458 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.927, allocations: 15.98 kB / 0.9458 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.211e-05/1.927, allocations: 98.23 kB / 0.9459 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001112/1.929, allocations: 55.91 kB / 0.9459 GB, free: 169.5 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.00033/1.929, allocations: 130 kB / 0.9461 GB, free: 169.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003232/1.929, allocations: 148.2 kB / 0.9462 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.929, allocations: 4.25 kB / 0.9462 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/1.929, allocations: 67.92 kB / 0.9463 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.93, allocations: 27.97 kB / 0.9463 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/1.931, allocations: 220.1 kB / 0.9465 GB, free: 168.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/1.931, allocations: 0.7515 MB / 0.9473 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/1.931, allocations: 0 / 0.9473 GB, free: 168.1 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)