Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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 10.0.0-master/package.mo): time 2.091/2.091, allocations: 390.4 MB / 397.7 MB, free: 11.27 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: 185.2 kB / 490.8 MB, free: 1.965 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.467/1.467, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009506, allocations: 84.67 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5947/0.5956, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.8397, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9376/1.777, allocations: 435.2 MB / 1.637 GB, free: 13.78 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.778, allocations: 70.47 kB / 1.637 GB, free: 13.75 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04179/1.819, allocations: 19.07 MB / 1.655 GB, free: 14.39 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.819, allocations: 8 kB / 1.655 GB, free: 14.38 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/1.82, allocations: 3.906 kB / 1.655 GB, free: 14.38 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/1.82, allocations: 163.1 kB / 1.656 GB, free: 14.18 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/1.82, allocations: 29.69 kB / 1.656 GB, free: 14.14 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/1.82, allocations: 4 kB / 1.656 GB, free: 14.14 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/1.82, allocations: 11.94 kB / 1.656 GB, free: 14.13 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/1.82, allocations: 41.38 kB / 1.656 GB, free: 14.09 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/1.82, allocations: 0 / 1.656 GB, free: 14.09 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.82, allocations: 0 / 1.656 GB, free: 14.09 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/1.82, allocations: 7.984 kB / 1.656 GB, free: 14.08 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/1.821, allocations: 309.4 kB / 1.656 GB, free: 13.73 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/1.821, allocations: 22.58 kB / 1.656 GB, free: 13.7 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/1.821, allocations: 4.859 kB / 1.656 GB, free: 13.69 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/1.821, allocations: 81.17 kB / 1.656 GB, free: 13.59 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.821, allocations: 42.42 kB / 1.656 GB, free: 13.54 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/1.821, allocations: 4 kB / 1.656 GB, free: 13.54 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.000165/1.821, allocations: 37.55 kB / 1.656 GB, free: 13.5 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/1.821, allocations: 51.41 kB / 1.656 GB, free: 13.43 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/1.821, allocations: 101 kB / 1.656 GB, free: 13.33 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/1.821, allocations: 25.7 kB / 1.656 GB, free: 13.3 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/1.821, allocations: 91.55 kB / 1.656 GB, free: 13.21 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-06/1.821, allocations: 0 / 1.656 GB, free: 13.21 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/1.821, allocations: 0 / 1.656 GB, free: 13.21 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/1.821, allocations: 314.8 kB / 1.657 GB, free: 12.89 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/1.821, allocations: 7.25 kB / 1.657 GB, free: 12.89 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/1.821, allocations: 17.7 kB / 1.657 GB, free: 12.86 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/1.821, allocations: 11.94 kB / 1.657 GB, free: 12.85 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.821, allocations: 0 / 1.657 GB, free: 12.85 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/1.821, allocations: 49.56 kB / 1.657 GB, free: 12.8 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.821, allocations: 4 kB / 1.657 GB, free: 12.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/1.821, allocations: 0 / 1.657 GB, free: 12.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/1.821, allocations: 0 / 1.657 GB, free: 12.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/1.822, allocations: 7.984 kB / 1.657 GB, free: 12.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.822, allocations: 4 kB / 1.657 GB, free: 12.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/1.822, allocations: 11.91 kB / 1.657 GB, free: 12.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.822, allocations: 0 / 1.657 GB, free: 12.77 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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.041e-05/1.822, allocations: 108.9 kB / 1.657 GB, free: 12.66 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.822, allocations: 0 / 1.657 GB, free: 12.66 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/1.822, allocations: 117 kB / 1.657 GB, free: 12.54 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/1.822, allocations: 183.3 kB / 1.657 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-05/1.822, allocations: 184.2 kB / 1.657 GB, free: 12.17 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/1.822, allocations: 180.3 kB / 1.657 GB, free: 11.98 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/1.822, allocations: 381.4 kB / 1.658 GB, free: 11.57 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/1.822, allocations: 112.9 kB / 1.658 GB, free: 11.45 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/1.822, allocations: 101 kB / 1.658 GB, free: 11.34 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/1.822, allocations: 184.2 kB / 1.658 GB, free: 11.16 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/1.823, allocations: 180.2 kB / 1.658 GB, free: 10.97 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.46e-05/1.823, allocations: 176.3 kB / 1.659 GB, free: 10.79 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-05/1.823, allocations: 180.3 kB / 1.659 GB, free: 10.61 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/1.823, allocations: 319.6 kB / 1.659 GB, free: 10.28 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002561/1.823, allocations: 0.6719 MB / 1.66 GB, free: 9.586 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/1.823, allocations: 182.1 kB / 1.66 GB, free: 9.383 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/1.823, allocations: 180.3 kB / 1.66 GB, free: 9.199 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/1.823, allocations: 112.9 kB / 1.66 GB, free: 9.082 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/1.823, allocations: 184.2 kB / 1.66 GB, free: 8.895 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.824, allocations: 104.9 kB / 1.66 GB, free: 8.789 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.366e-05/1.824, allocations: 83.19 kB / 1.66 GB, free: 8.707 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007958/1.824, allocations: 23.06 kB / 1.661 GB, free: 8.688 MB / 1.073 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002992/1.825, allocations: 252.5 kB / 1.661 GB, free: 8.438 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/1.825, allocations: 11.98 kB / 1.661 GB, free: 8.426 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.825, allocations: 0 / 1.661 GB, free: 8.426 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/1.825, allocations: 0 / 1.661 GB, free: 8.426 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/1.825, allocations: 0.5262 MB / 1.661 GB, free: 7.898 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/1.825, allocations: 135 kB / 1.661 GB, free: 7.746 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.826, allocations: 0.6919 MB / 1.662 GB, free: 7.023 MB / 1.073 GB Notification: Performance of SimCode: time 2.4e-07/1.826, allocations: 0 / 1.662 GB, free: 7.023 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat