Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 189.9 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4664/0.4664, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.4 MB / 342.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 96.17 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1692/0.1706, allocations: 78.43 MB / 493.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.5409, allocations: 72.3 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.598/1.139, allocations: 343.9 MB / 0.8888 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.139, allocations: 67.47 kB / 0.8888 GB, free: 14.27 MB / 0.5573 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.05153/1.191, allocations: 20.32 MB / 0.9087 GB, free: 13.95 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.191, allocations: 8 kB / 0.9087 GB, free: 13.94 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.191, allocations: 23.8 kB / 0.9087 GB, free: 13.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/1.192, allocations: 217.5 kB / 0.9089 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/1.192, allocations: 4 kB / 0.9089 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/1.192, allocations: 13.03 kB / 0.9089 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005694/1.192, allocations: 408.2 kB / 0.9093 GB, free: 13.33 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/1.193, allocations: 218.4 kB / 0.9095 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.193, allocations: 0 / 0.9095 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/1.193, allocations: 0 / 0.9095 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/1.193, allocations: 8 kB / 0.9095 GB, free: 13.13 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.194, allocations: 0.948 MB / 0.9105 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.194, allocations: 153.8 kB / 0.9106 GB, free: 12.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/1.194, allocations: 51.73 kB / 0.9107 GB, free: 12.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/1.196, allocations: 1.914 MB / 0.9125 GB, free: 9.797 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.196, allocations: 38.42 kB / 0.9126 GB, free: 9.754 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 3.477e-06/1.196, allocations: 0 / 0.9126 GB, free: 9.754 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0005735/1.196, allocations: 139.9 kB / 0.9127 GB, free: 9.625 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.197, allocations: 55.41 kB / 0.9128 GB, free: 9.559 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/1.197, allocations: 129.5 kB / 0.9129 GB, free: 9.434 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.197, allocations: 25.7 kB / 0.9129 GB, free: 9.402 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/1.197, allocations: 147.5 kB / 0.9131 GB, free: 9.262 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/1.197, allocations: 46.7 kB / 0.9131 GB, free: 9.223 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/1.197, allocations: 5.969 kB / 0.9131 GB, free: 9.219 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.197, allocations: 322.3 kB / 0.9134 GB, free: 8.902 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/1.197, allocations: 35.55 kB / 0.9134 GB, free: 8.875 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/1.197, allocations: 136.3 kB / 0.9136 GB, free: 8.707 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/1.198, allocations: 79.48 kB / 0.9136 GB, free: 8.641 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.198, allocations: 4 kB / 0.9137 GB, free: 8.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006167/1.198, allocations: 211.6 kB / 0.9139 GB, free: 8.445 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.198, allocations: 4 kB / 0.9139 GB, free: 8.441 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.198, allocations: 4 kB / 0.9139 GB, free: 8.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.198, allocations: 4 kB / 0.9139 GB, free: 8.434 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.198, allocations: 59.91 kB / 0.9139 GB, free: 8.375 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.198, allocations: 4 kB / 0.9139 GB, free: 8.371 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.199, allocations: 28.16 kB / 0.914 GB, free: 8.344 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/1.199, allocations: 15.69 kB / 0.914 GB, free: 8.332 MB / 0.573 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 9.961e-05/1.199, allocations: 104.9 kB / 0.9141 GB, free: 8.223 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/1.199, allocations: 19.8 kB / 0.9141 GB, free: 8.203 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/1.199, allocations: 181.7 kB / 0.9143 GB, free: 8.062 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.199, allocations: 7.891 kB / 0.9143 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.199, allocations: 0 / 0.9143 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.199, allocations: 0 / 0.9143 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/1.2, allocations: 194.8 kB / 0.9145 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.2, allocations: 0 / 0.9145 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.2, allocations: 27.86 kB / 0.9145 GB, free: 7.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.2, allocations: 4 kB / 0.9145 GB, free: 7.816 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.2, allocations: 0 / 0.9145 GB, free: 7.816 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.2, allocations: 3.984 kB / 0.9145 GB, free: 7.812 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.2, allocations: 0 / 0.9145 GB, free: 7.812 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000475/1.2, allocations: 239.8 kB / 0.9147 GB, free: 7.582 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005882/1.201, allocations: 0.6141 MB / 0.9153 GB, free: 6.973 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/1.201, allocations: 119.4 kB / 0.9154 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/1.201, allocations: 3.984 kB / 0.9154 GB, free: 6.844 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/1.201, allocations: 21.39 kB / 0.9155 GB, free: 6.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/1.201, allocations: 4 kB / 0.9155 GB, free: 6.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/1.201, allocations: 11.61 kB / 0.9155 GB, free: 6.812 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.645e-05/1.202, allocations: 104.7 kB / 0.9156 GB, free: 6.719 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001103/1.203, allocations: 89.95 kB / 0.9157 GB, free: 6.641 MB / 0.573 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.00036/1.203, allocations: 197.1 kB / 0.9158 GB, free: 6.445 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002617/1.203, allocations: 99.92 kB / 0.9159 GB, free: 6.363 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.203, allocations: 8.125 kB / 0.9159 GB, free: 6.355 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/1.203, allocations: 43.67 kB / 0.916 GB, free: 6.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/1.204, allocations: 31 kB / 0.916 GB, free: 6.297 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/1.204, allocations: 174.6 kB / 0.9162 GB, free: 6.121 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/1.205, allocations: 0.7434 MB / 0.9169 GB, free: 5.348 MB / 0.573 GB Notification: Performance of SimCode: time 2.91e-07/1.205, allocations: 0 / 0.9169 GB, free: 5.348 MB / 0.573 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)