Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.467/2.467, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 185.3 kB / 360.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 96.02 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2732/0.2744, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.9056, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.975, allocations: 380 MB / 1.334 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.975, allocations: 67.81 kB / 1.334 GB, free: 183.2 MB / 0.8542 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.0784/2.054, allocations: 19.71 MB / 1.353 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.054, allocations: 8.5 kB / 1.353 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/2.054, allocations: 23.8 kB / 1.353 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/2.054, allocations: 210.2 kB / 1.353 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/2.054, allocations: 4 kB / 1.353 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/2.054, allocations: 19.91 kB / 1.353 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006314/2.055, allocations: 410.5 kB / 1.354 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/2.055, allocations: 213.4 kB / 1.354 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/2.055, allocations: 0 / 1.354 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/2.055, allocations: 0.75 kB / 1.354 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/2.055, allocations: 11.98 kB / 1.354 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/2.057, allocations: 0.9431 MB / 1.355 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/2.057, allocations: 144.9 kB / 1.355 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/2.057, allocations: 47.67 kB / 1.355 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/2.059, allocations: 1.924 MB / 1.357 GB, free: 166 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/2.059, allocations: 38.44 kB / 1.357 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/2.059, allocations: 0 / 1.357 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0008078/2.06, allocations: 131 kB / 1.357 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/2.06, allocations: 55.39 kB / 1.357 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/2.06, allocations: 130.7 kB / 1.357 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/2.06, allocations: 33.7 kB / 1.357 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/2.06, allocations: 143 kB / 1.357 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/2.06, allocations: 45.98 kB / 1.358 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/2.06, allocations: 0 / 1.358 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/2.06, allocations: 329.5 kB / 1.358 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/2.06, allocations: 27 kB / 1.358 GB, free: 165 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/2.061, allocations: 144.3 kB / 1.358 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/2.061, allocations: 74.62 kB / 1.358 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/2.061, allocations: 0 / 1.358 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007339/2.062, allocations: 203.3 kB / 1.358 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/2.062, allocations: 8 kB / 1.358 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.062, allocations: 3.984 kB / 1.358 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/2.062, allocations: 8 kB / 1.358 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/2.062, allocations: 53.61 kB / 1.358 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/2.062, allocations: 8.453 kB / 1.358 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/2.063, allocations: 27.69 kB / 1.358 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/2.063, allocations: 15.75 kB / 1.358 GB, free: 164.5 MB / 0.8542 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.0001032/2.063, allocations: 121.2 kB / 1.359 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/2.063, allocations: 11.91 kB / 1.359 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/2.064, allocations: 188.4 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/2.064, allocations: 4 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.064, allocations: 0 / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/2.064, allocations: 7.984 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/2.064, allocations: 184.3 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.064, allocations: 0 / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/2.064, allocations: 35.91 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/2.064, allocations: 1.438 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/2.064, allocations: 4 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/2.064, allocations: 0 / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.064, allocations: 0 / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006545/2.065, allocations: 241.3 kB / 1.359 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007097/2.066, allocations: 0.6116 MB / 1.36 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/2.066, allocations: 119.8 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/2.066, allocations: 1.781 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/2.066, allocations: 4 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/2.066, allocations: 7.984 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/2.066, allocations: 17.05 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.544e-05/2.067, allocations: 109 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00154/2.068, allocations: 86.58 kB / 1.36 GB, free: 162.8 MB / 0.8542 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.0004195/2.069, allocations: 180.4 kB / 1.36 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004005/2.069, allocations: 106.8 kB / 1.36 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/2.069, allocations: 0.9375 kB / 1.36 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/2.069, allocations: 45.25 kB / 1.36 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/2.07, allocations: 31.61 kB / 1.36 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/2.07, allocations: 163.2 kB / 1.361 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/2.071, allocations: 0.7471 MB / 1.361 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/2.071, allocations: 1.312 kB / 1.361 GB, free: 161.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)