Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.2 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 95 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5827/0.5838, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.8579, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8923/1.75, allocations: 391.6 MB / 1.588 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.751, allocations: 67.25 kB / 1.588 GB, free: 15.52 MB / 1.026 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.04754/1.798, allocations: 20.32 MB / 1.608 GB, free: 15.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.798, allocations: 9 kB / 1.608 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/1.798, allocations: 23.81 kB / 1.608 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/1.799, allocations: 217.7 kB / 1.608 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.799, allocations: 4 kB / 1.608 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/1.799, allocations: 16 kB / 1.608 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004846/1.799, allocations: 406.7 kB / 1.608 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/1.8, allocations: 215.1 kB / 1.608 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.8, allocations: 0 / 1.608 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/1.8, allocations: 3.938 kB / 1.608 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/1.8, allocations: 8 kB / 1.608 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.801, allocations: 0.9482 MB / 1.609 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/1.801, allocations: 146.4 kB / 1.61 GB, free: 13.22 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/1.801, allocations: 54.08 kB / 1.61 GB, free: 13.18 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.803, allocations: 1.918 MB / 1.611 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.803, allocations: 33.62 kB / 1.612 GB, free: 10.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/1.803, allocations: 3.984 kB / 1.612 GB, free: 10.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.0004982/1.803, allocations: 131.2 kB / 1.612 GB, free: 10.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.803, allocations: 63.25 kB / 1.612 GB, free: 10.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.803, allocations: 134.8 kB / 1.612 GB, free: 10.57 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/1.803, allocations: 25.7 kB / 1.612 GB, free: 10.54 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/1.804, allocations: 146.8 kB / 1.612 GB, free: 10.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/1.804, allocations: 45.92 kB / 1.612 GB, free: 10.36 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/1.804, allocations: 0 / 1.612 GB, free: 10.36 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.804, allocations: 325.2 kB / 1.612 GB, free: 10.04 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/1.804, allocations: 31.11 kB / 1.612 GB, free: 10.02 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/1.804, allocations: 130.2 kB / 1.612 GB, free: 9.855 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/1.804, allocations: 84.55 kB / 1.613 GB, free: 9.785 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.804, allocations: 4 kB / 1.613 GB, free: 9.781 MB / 1.042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004975/1.805, allocations: 204.3 kB / 1.613 GB, free: 9.598 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.805, allocations: 4 kB / 1.613 GB, free: 9.594 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.805, allocations: 4 kB / 1.613 GB, free: 9.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.805, allocations: 7.906 kB / 1.613 GB, free: 9.582 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/1.805, allocations: 63.06 kB / 1.613 GB, free: 9.523 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.805, allocations: 11.94 kB / 1.613 GB, free: 9.512 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/1.805, allocations: 27.62 kB / 1.613 GB, free: 9.484 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/1.805, allocations: 19.42 kB / 1.613 GB, free: 9.469 MB / 1.042 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.399e-05/1.805, allocations: 107.7 kB / 1.613 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/1.805, allocations: 15.81 kB / 1.613 GB, free: 9.344 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/1.806, allocations: 180.6 kB / 1.613 GB, free: 9.184 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.806, allocations: 0 / 1.613 GB, free: 9.184 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.806, allocations: 8 kB / 1.613 GB, free: 9.176 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.806, allocations: 0 / 1.613 GB, free: 9.176 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/1.806, allocations: 187.9 kB / 1.613 GB, free: 8.969 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.806, allocations: 0 / 1.613 GB, free: 8.969 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.806, allocations: 27.98 kB / 1.613 GB, free: 8.941 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.806, allocations: 0 / 1.613 GB, free: 8.941 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.806, allocations: 3.984 kB / 1.613 GB, free: 8.938 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.806, allocations: 0 / 1.613 GB, free: 8.938 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.806, allocations: 7.906 kB / 1.613 GB, free: 8.93 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004542/1.807, allocations: 235.7 kB / 1.614 GB, free: 8.703 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000581/1.807, allocations: 0.6273 MB / 1.614 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/1.807, allocations: 116 kB / 1.614 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/1.807, allocations: 0 / 1.614 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.808, allocations: 19.98 kB / 1.614 GB, free: 7.941 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/1.808, allocations: 11.89 kB / 1.614 GB, free: 7.93 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.808, allocations: 10.69 kB / 1.614 GB, free: 7.922 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.346e-05/1.808, allocations: 104.4 kB / 1.615 GB, free: 7.828 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0009898/1.809, allocations: 84.98 kB / 1.615 GB, free: 7.758 MB / 1.042 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.0003341/1.809, allocations: 194.2 kB / 1.615 GB, free: 7.562 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002262/1.809, allocations: 102.1 kB / 1.615 GB, free: 7.477 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.809, allocations: 4 kB / 1.615 GB, free: 7.473 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/1.81, allocations: 43.11 kB / 1.615 GB, free: 7.438 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/1.81, allocations: 36.05 kB / 1.615 GB, free: 7.41 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/1.81, allocations: 163.4 kB / 1.615 GB, free: 7.234 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/1.811, allocations: 0.7426 MB / 1.616 GB, free: 6.465 MB / 1.042 GB Notification: Performance of SimCode: time 2.064e-06/1.811, allocations: 0 / 1.616 GB, free: 6.465 MB / 1.042 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1)