Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_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.003521/0.003521, allocations: 179.9 kB / 7.457 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.7379/0.7379, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.706/1.706, allocations: 221.3 MB / 395 MB, free: 10.27 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.001302/0.001302, allocations: 99.22 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5458/0.5472, allocations: 88.42 MB / 0.5529 GB, free: 88.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.7527, allocations: 82.29 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/2.136, allocations: 353.7 MB / 0.9787 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/2.136, allocations: 70.06 kB / 0.9787 GB, free: 209.3 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.04498/2.181, allocations: 20.31 MB / 0.9986 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/2.181, allocations: 7.656 kB / 0.9986 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/2.181, allocations: 25.08 kB / 0.9986 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/2.181, allocations: 216.1 kB / 0.9988 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/2.181, allocations: 7.812 kB / 0.9988 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/2.181, allocations: 8.422 kB / 0.9988 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005656/2.182, allocations: 410.6 kB / 0.9992 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/2.182, allocations: 222.6 kB / 0.9994 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/2.182, allocations: 0 / 0.9994 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/2.182, allocations: 3.156 kB / 0.9994 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/2.182, allocations: 6.25 kB / 0.9994 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/2.184, allocations: 0.9585 MB / 1 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/2.184, allocations: 137.7 kB / 1.001 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/2.184, allocations: 49.02 kB / 1.001 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/2.185, allocations: 1.921 MB / 1.002 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/2.185, allocations: 34.47 kB / 1.002 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/2.185, allocations: 0 / 1.002 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005943/2.186, allocations: 140 kB / 1.003 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/2.186, allocations: 59.12 kB / 1.003 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/2.186, allocations: 129.4 kB / 1.003 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/2.186, allocations: 25.7 kB / 1.003 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/2.186, allocations: 145.3 kB / 1.003 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/2.186, allocations: 50.48 kB / 1.003 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/2.186, allocations: 0 / 1.003 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/2.186, allocations: 325.8 kB / 1.003 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/2.186, allocations: 28.83 kB / 1.003 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/2.187, allocations: 132.1 kB / 1.003 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/2.187, allocations: 83.19 kB / 1.004 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.187, allocations: 3.812 kB / 1.004 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004525/2.187, allocations: 204.6 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/2.187, allocations: 3.875 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/2.187, allocations: 3.906 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/2.187, allocations: 7.344 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/2.188, allocations: 59.69 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/2.188, allocations: 11.34 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/2.188, allocations: 25.02 kB / 1.004 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/2.188, allocations: 14.72 kB / 1.004 GB, free: 203.6 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 6.914e-05/2.188, allocations: 108.8 kB / 1.004 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/2.188, allocations: 21.23 kB / 1.004 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/2.188, allocations: 181.3 kB / 1.004 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/2.188, allocations: 9.516 kB / 1.004 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.188, allocations: 0 / 1.004 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.188, allocations: 3.906 kB / 1.004 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/2.189, allocations: 180.2 kB / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/2.189, allocations: 0 / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/2.189, allocations: 34.16 kB / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/2.189, allocations: 7.812 kB / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/2.189, allocations: 1.969 kB / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.189, allocations: 0 / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.189, allocations: 0 / 1.004 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004145/2.189, allocations: 241.3 kB / 1.005 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005061/2.19, allocations: 0.6154 MB / 1.005 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/2.19, allocations: 112.1 kB / 1.005 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/2.19, allocations: 5.547 kB / 1.005 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/2.19, allocations: 22.47 kB / 1.005 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/2.19, allocations: 7.531 kB / 1.005 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/2.19, allocations: 13.06 kB / 1.005 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.915e-05/2.19, allocations: 108 kB / 1.005 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001055/2.191, allocations: 84.41 kB / 1.006 GB, free: 202.4 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.000279/2.192, allocations: 190.4 kB / 1.006 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002114/2.192, allocations: 105.4 kB / 1.006 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.192, allocations: 0 / 1.006 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/2.192, allocations: 48.83 kB / 1.006 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/2.192, allocations: 30.48 kB / 1.006 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/2.193, allocations: 168.9 kB / 1.006 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/2.193, allocations: 0.746 MB / 1.007 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/2.193, allocations: 0 / 1.007 GB, free: 201.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)