Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_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.004422/0.004421, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7889/0.7889, 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.734/1.734, allocations: 221.3 MB / 395 MB, free: 10.13 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: 102.2 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.524/0.5251, allocations: 88.43 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.7077, allocations: 82.29 MB / 0.6333 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.955, allocations: 411.4 MB / 1.035 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.955, allocations: 83.94 kB / 1.035 GB, free: 221.5 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.2203/2.175, allocations: 86.71 MB / 1.12 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/2.175, allocations: 8 kB / 1.12 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/2.176, allocations: 31.8 kB / 1.12 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/2.176, allocations: 218.8 kB / 1.12 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/2.176, allocations: 8 kB / 1.12 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/2.176, allocations: 11.94 kB / 1.12 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005049/2.177, allocations: 404.2 kB / 1.12 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/2.177, allocations: 219.8 kB / 1.121 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/2.177, allocations: 3.938 kB / 1.121 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/2.177, allocations: 4 kB / 1.121 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/2.177, allocations: 7.984 kB / 1.121 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/2.178, allocations: 0.9726 MB / 1.122 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/2.179, allocations: 139.5 kB / 1.122 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/2.179, allocations: 56.83 kB / 1.122 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/2.18, allocations: 1.958 MB / 1.124 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/2.18, allocations: 38.56 kB / 1.124 GB, free: 130 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/2.18, allocations: 0 / 1.124 GB, free: 130 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005556/2.18, allocations: 133.4 kB / 1.124 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/2.18, allocations: 51.41 kB / 1.124 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/2.181, allocations: 142.5 kB / 1.124 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/2.181, allocations: 33.7 kB / 1.124 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/2.181, allocations: 139.8 kB / 1.124 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/2.181, allocations: 47.2 kB / 1.124 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/2.181, allocations: 0 / 1.124 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/2.181, allocations: 330.8 kB / 1.125 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/2.181, allocations: 24 kB / 1.125 GB, free: 129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/2.181, allocations: 137.7 kB / 1.125 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/2.181, allocations: 75.88 kB / 1.125 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/2.181, allocations: 0 / 1.125 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005488/2.182, allocations: 209.1 kB / 1.125 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/2.182, allocations: 10.5 kB / 1.125 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/2.182, allocations: 7.984 kB / 1.125 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/2.182, allocations: 4 kB / 1.125 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/2.182, allocations: 51.92 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/2.182, allocations: 16.39 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/2.182, allocations: 23.75 kB / 1.125 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/2.182, allocations: 12 kB / 1.125 GB, free: 128.4 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 8.991e-05/2.182, allocations: 112.9 kB / 1.125 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/2.183, allocations: 15.81 kB / 1.125 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/2.183, allocations: 197.5 kB / 1.125 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/2.183, allocations: 3.906 kB / 1.125 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.183, allocations: 0 / 1.125 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/2.183, allocations: 7.984 kB / 1.125 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/2.183, allocations: 182.1 kB / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/2.183, allocations: 0 / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/2.184, allocations: 35.92 kB / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/2.184, allocations: 0 / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/2.184, allocations: 4 kB / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/2.184, allocations: 0 / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.184, allocations: 0 / 1.126 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004885/2.184, allocations: 239.2 kB / 1.126 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006997/2.185, allocations: 0.6325 MB / 1.127 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/2.185, allocations: 124.8 kB / 1.127 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/2.185, allocations: 3.938 kB / 1.127 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/2.185, allocations: 23.98 kB / 1.127 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/2.185, allocations: 7.984 kB / 1.127 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/2.185, allocations: 8 kB / 1.127 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.21e-05/2.185, allocations: 109.1 kB / 1.127 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001074/2.186, allocations: 99.83 kB / 1.127 GB, free: 126.6 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.0003595/2.187, allocations: 243 kB / 1.127 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002318/2.187, allocations: 106.9 kB / 1.127 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.187, allocations: 0 / 1.127 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/2.187, allocations: 43.88 kB / 1.127 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/2.188, allocations: 28.91 kB / 1.127 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/2.188, allocations: 168.5 kB / 1.127 GB, free: 126 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/2.188, allocations: 0.7395 MB / 1.128 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/2.188, allocations: 0 / 1.128 GB, free: 125.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)