Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001471/0.001471, allocations: 181.2 kB / 366.3 MB, free: 2.008 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.551/1.551, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.001066/0.001066, allocations: 77.94 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2818/0.283, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/1.013, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/2.027, allocations: 381.1 MB / 1.345 GB, free: 103.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/2.027, allocations: 69.09 kB / 1.345 GB, free: 103.2 MB / 0.823 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.04384/2.071, allocations: 19.7 MB / 1.364 GB, free: 87.41 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.071, allocations: 12 kB / 1.364 GB, free: 87.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/2.071, allocations: 19.81 kB / 1.364 GB, free: 87.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/2.072, allocations: 216.6 kB / 1.364 GB, free: 87.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/2.072, allocations: 4 kB / 1.364 GB, free: 87.13 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/2.072, allocations: 11.91 kB / 1.364 GB, free: 87.12 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005355/2.072, allocations: 413.5 kB / 1.365 GB, free: 86.79 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/2.073, allocations: 213 kB / 1.365 GB, free: 86.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/2.073, allocations: 0 / 1.365 GB, free: 86.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/2.073, allocations: 4 kB / 1.365 GB, free: 86.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/2.073, allocations: 7.875 kB / 1.365 GB, free: 86.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/2.074, allocations: 0.9434 MB / 1.366 GB, free: 85.67 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/2.074, allocations: 134.6 kB / 1.366 GB, free: 85.55 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/2.074, allocations: 57.23 kB / 1.366 GB, free: 85.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/2.076, allocations: 1.924 MB / 1.368 GB, free: 83.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/2.076, allocations: 41.3 kB / 1.368 GB, free: 83.22 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/2.076, allocations: 0 / 1.368 GB, free: 83.22 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0005198/2.076, allocations: 133.8 kB / 1.368 GB, free: 83.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/2.076, allocations: 55.41 kB / 1.368 GB, free: 83.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/2.076, allocations: 133.9 kB / 1.368 GB, free: 82.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/2.076, allocations: 25.7 kB / 1.368 GB, free: 82.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/2.076, allocations: 149.7 kB / 1.369 GB, free: 82.72 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/2.076, allocations: 44.36 kB / 1.369 GB, free: 82.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/2.076, allocations: 4 kB / 1.369 GB, free: 82.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/2.076, allocations: 325.6 kB / 1.369 GB, free: 82.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/2.077, allocations: 26.88 kB / 1.369 GB, free: 82.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/2.077, allocations: 133.3 kB / 1.369 GB, free: 82.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/2.077, allocations: 77.67 kB / 1.369 GB, free: 82.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/2.077, allocations: 4 kB / 1.369 GB, free: 82.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000451/2.077, allocations: 204.4 kB / 1.369 GB, free: 81.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/2.077, allocations: 4 kB / 1.369 GB, free: 81.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.077, allocations: 4 kB / 1.369 GB, free: 81.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/2.077, allocations: 4 kB / 1.369 GB, free: 81.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/2.078, allocations: 67.28 kB / 1.369 GB, free: 81.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/2.078, allocations: 7.984 kB / 1.369 GB, free: 81.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/2.078, allocations: 24.72 kB / 1.369 GB, free: 81.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/2.078, allocations: 12.31 kB / 1.369 GB, free: 81.8 MB / 0.823 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 9.158e-05/2.078, allocations: 116 kB / 1.37 GB, free: 81.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/2.078, allocations: 11.91 kB / 1.37 GB, free: 81.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/2.079, allocations: 185.4 kB / 1.37 GB, free: 81.51 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.079, allocations: 0 / 1.37 GB, free: 81.51 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/2.079, allocations: 4 kB / 1.37 GB, free: 81.51 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/2.079, allocations: 3.938 kB / 1.37 GB, free: 81.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/2.079, allocations: 190.8 kB / 1.37 GB, free: 81.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/2.079, allocations: 0 / 1.37 GB, free: 81.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/2.079, allocations: 35.97 kB / 1.37 GB, free: 81.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/2.079, allocations: 4 kB / 1.37 GB, free: 81.26 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/2.079, allocations: 3.938 kB / 1.37 GB, free: 81.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/2.079, allocations: 0 / 1.37 GB, free: 81.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.079, allocations: 0 / 1.37 GB, free: 81.25 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004093/2.079, allocations: 239.7 kB / 1.37 GB, free: 81.02 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005274/2.08, allocations: 0.6113 MB / 1.371 GB, free: 80.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/2.08, allocations: 118.7 kB / 1.371 GB, free: 80.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/2.08, allocations: 0 / 1.371 GB, free: 80.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/2.08, allocations: 4 kB / 1.371 GB, free: 80.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/2.08, allocations: 7.984 kB / 1.371 GB, free: 80.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/2.08, allocations: 15.17 kB / 1.371 GB, free: 80.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.128e-05/2.08, allocations: 103.8 kB / 1.371 GB, free: 80.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001085/2.081, allocations: 89.02 kB / 1.371 GB, free: 80.1 MB / 0.823 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.0003244/2.082, allocations: 186.4 kB / 1.371 GB, free: 79.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002486/2.082, allocations: 111.5 kB / 1.371 GB, free: 79.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.082, allocations: 0 / 1.371 GB, free: 79.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/2.082, allocations: 38.94 kB / 1.371 GB, free: 79.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/2.082, allocations: 32.52 kB / 1.371 GB, free: 79.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/2.083, allocations: 166.2 kB / 1.372 GB, free: 79.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/2.083, allocations: 0.7466 MB / 1.372 GB, free: 78.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/2.083, allocations: 4 kB / 1.372 GB, free: 78.82 MB / 0.823 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)