Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.003806/0.003806, allocations: 180.2 kB / 7.458 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7686/0.7686, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.02 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4938/0.4949, allocations: 88.43 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.7001, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/2.027, allocations: 411.4 MB / 1.035 GB, free: 222 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/2.028, allocations: 83.95 kB / 1.035 GB, free: 221.9 MB / 0.6823 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.2178/2.246, allocations: 86.71 MB / 1.12 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/2.246, allocations: 8 kB / 1.12 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/2.246, allocations: 23.81 kB / 1.12 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/2.246, allocations: 214.8 kB / 1.12 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/2.246, allocations: 12 kB / 1.12 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/2.246, allocations: 8 kB / 1.12 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004841/2.247, allocations: 412.2 kB / 1.12 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/2.247, allocations: 219.8 kB / 1.121 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/2.247, allocations: 0 / 1.121 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/2.247, allocations: 7.984 kB / 1.121 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/2.247, allocations: 8 kB / 1.121 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/2.248, allocations: 0.9687 MB / 1.122 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/2.249, allocations: 143.5 kB / 1.122 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/2.249, allocations: 52.89 kB / 1.122 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/2.25, allocations: 1.954 MB / 1.124 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/2.25, allocations: 38.56 kB / 1.124 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/2.25, allocations: 0 / 1.124 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005556/2.251, allocations: 145.4 kB / 1.124 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/2.251, allocations: 51.41 kB / 1.124 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/2.251, allocations: 139.5 kB / 1.124 GB, free: 130 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/2.251, allocations: 29.7 kB / 1.124 GB, free: 130 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/2.251, allocations: 139.8 kB / 1.124 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/2.251, allocations: 51.2 kB / 1.124 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/2.251, allocations: 0 / 1.124 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001491/2.251, allocations: 322.8 kB / 1.125 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/2.251, allocations: 28 kB / 1.125 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/2.251, allocations: 133.7 kB / 1.125 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/2.252, allocations: 81.56 kB / 1.125 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.252, allocations: 0 / 1.125 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004782/2.252, allocations: 213.1 kB / 1.125 GB, free: 129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/2.252, allocations: 4 kB / 1.125 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/2.252, allocations: 8.406 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/2.252, allocations: 8 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/2.252, allocations: 59.91 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/2.252, allocations: 8 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/2.252, allocations: 19.75 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/2.252, allocations: 8 kB / 1.125 GB, free: 128.8 MB / 0.6823 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 0.0001151/2.253, allocations: 116.9 kB / 1.125 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/2.253, allocations: 19.75 kB / 1.125 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/2.253, allocations: 193.3 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/2.253, allocations: 3.906 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/2.253, allocations: 0 / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/2.253, allocations: 3.984 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/2.254, allocations: 186.1 kB / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/2.254, allocations: 0 / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/2.254, allocations: 27.98 kB / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/2.254, allocations: 4 kB / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/2.254, allocations: 0 / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/2.254, allocations: 0 / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.254, allocations: 4 kB / 1.126 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004443/2.254, allocations: 243.2 kB / 1.126 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005642/2.255, allocations: 0.6247 MB / 1.127 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/2.255, allocations: 124.8 kB / 1.127 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/2.255, allocations: 4 kB / 1.127 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/2.255, allocations: 19.98 kB / 1.127 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/2.255, allocations: 11.92 kB / 1.127 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/2.255, allocations: 11.98 kB / 1.127 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.205e-05/2.255, allocations: 110.1 kB / 1.127 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001018/2.256, allocations: 99.84 kB / 1.127 GB, free: 127 MB / 0.6823 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.0004151/2.257, allocations: 245 kB / 1.127 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002657/2.257, allocations: 103.1 kB / 1.127 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/2.257, allocations: 0 / 1.127 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/2.257, allocations: 43.86 kB / 1.127 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/2.257, allocations: 36.91 kB / 1.127 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/2.258, allocations: 164.4 kB / 1.127 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/2.258, allocations: 0.7395 MB / 1.128 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.258, allocations: 4 kB / 1.128 GB, free: 125.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)