Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_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.004872/0.004872, allocations: 179.5 kB / 7.455 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7098/0.7098, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.538/1.538, allocations: 221.3 MB / 395 MB, free: 10.23 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.001306/0.001306, allocations: 110 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.495/0.4964, allocations: 88.41 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.6556, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.894, allocations: 353.7 MB / 0.9787 GB, free: 266.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.894, allocations: 73.69 kB / 0.9787 GB, free: 266.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.05566/1.95, allocations: 20.31 MB / 0.9986 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.95, allocations: 8.406 kB / 0.9986 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/1.95, allocations: 24.89 kB / 0.9986 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/1.95, allocations: 217.5 kB / 0.9988 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.95, allocations: 5.656 kB / 0.9988 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/1.95, allocations: 8.688 kB / 0.9988 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007056/1.951, allocations: 409.6 kB / 0.9992 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/1.952, allocations: 219.2 kB / 0.9994 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.952, allocations: 1.156 kB / 0.9994 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.952, allocations: 4.844 kB / 0.9994 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/1.952, allocations: 13.14 kB / 0.9994 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.953, allocations: 0.9462 MB / 1 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/1.953, allocations: 136.1 kB / 1.001 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/1.953, allocations: 51.7 kB / 1.001 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.955, allocations: 1.914 MB / 1.002 GB, free: 256 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.955, allocations: 37.47 kB / 1.002 GB, free: 256 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/1.955, allocations: 0 / 1.002 GB, free: 256 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000577/1.955, allocations: 139.2 kB / 1.003 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/1.955, allocations: 61.06 kB / 1.003 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.955, allocations: 132.6 kB / 1.003 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/1.955, allocations: 26.61 kB / 1.003 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/1.956, allocations: 147 kB / 1.003 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/1.956, allocations: 50.27 kB / 1.003 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/1.956, allocations: 0 / 1.003 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.956, allocations: 321.6 kB / 1.003 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/1.956, allocations: 27.47 kB / 1.003 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/1.956, allocations: 129.4 kB / 1.003 GB, free: 255 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/1.956, allocations: 84.92 kB / 1.004 GB, free: 255 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.956, allocations: 4.688 kB / 1.004 GB, free: 255 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005555/1.957, allocations: 206.4 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.957, allocations: 6.969 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.957, allocations: 4.438 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.957, allocations: 10.22 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.957, allocations: 56.72 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/1.957, allocations: 13.14 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/1.957, allocations: 23.16 kB / 1.004 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.957, allocations: 13.81 kB / 1.004 GB, free: 254.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 7.015e-05/1.957, allocations: 108.9 kB / 1.004 GB, free: 254.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/1.957, allocations: 15.81 kB / 1.004 GB, free: 254.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/1.958, allocations: 193.9 kB / 1.004 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.958, allocations: 0 / 1.004 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.958, allocations: 4 kB / 1.004 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.958, allocations: 7.844 kB / 1.004 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.958, allocations: 182.2 kB / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.958, allocations: 4 kB / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/1.958, allocations: 31.92 kB / 1.004 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.958, allocations: 3.906 kB / 1.004 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.958, allocations: 0 / 1.004 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.958, allocations: 0 / 1.004 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.958, allocations: 8 kB / 1.004 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003981/1.959, allocations: 242 kB / 1.005 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004514/1.959, allocations: 0.6129 MB / 1.005 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/1.959, allocations: 113 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/1.959, allocations: 3.906 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/1.959, allocations: 19.98 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/1.959, allocations: 7.984 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/1.96, allocations: 11.98 kB / 1.005 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.821e-05/1.96, allocations: 110.2 kB / 1.005 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001047/1.961, allocations: 83.94 kB / 1.006 GB, free: 253 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.0002954/1.961, allocations: 191 kB / 1.006 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002181/1.961, allocations: 103.8 kB / 1.006 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.961, allocations: 0 / 1.006 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/1.961, allocations: 47.44 kB / 1.006 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/1.962, allocations: 36.77 kB / 1.006 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/1.962, allocations: 160.5 kB / 1.006 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/1.962, allocations: 0.7473 MB / 1.007 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/1.962, allocations: 0 / 1.007 GB, free: 251.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)