Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001116/0.001116, allocations: 177.3 kB / 487 MB, free: 5.383 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.283/1.283, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.000985/0.0009848, allocations: 87.95 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5691/0.5701, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.806, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8155/1.622, allocations: 434.4 MB / 1.63 GB, free: 6.047 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.622, allocations: 64.59 kB / 1.63 GB, free: 6.016 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.04091/1.663, allocations: 19.06 MB / 1.648 GB, free: 6.676 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.663, allocations: 12 kB / 1.648 GB, free: 6.664 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/1.663, allocations: 3.906 kB / 1.648 GB, free: 6.66 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.663, allocations: 163.1 kB / 1.648 GB, free: 6.461 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/1.663, allocations: 29.7 kB / 1.648 GB, free: 6.426 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-06/1.663, allocations: 0 / 1.648 GB, free: 6.426 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.406e-05/1.663, allocations: 19.62 kB / 1.648 GB, free: 6.41 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.469e-05/1.663, allocations: 37.69 kB / 1.648 GB, free: 6.367 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/1.663, allocations: 0 / 1.648 GB, free: 6.367 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.663, allocations: 0 / 1.648 GB, free: 6.367 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.663, allocations: 7.891 kB / 1.648 GB, free: 6.359 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/1.664, allocations: 306 kB / 1.649 GB, free: 6.012 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.252e-05/1.664, allocations: 14.58 kB / 1.649 GB, free: 5.988 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/1.664, allocations: 12.48 kB / 1.649 GB, free: 5.977 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/1.664, allocations: 93 kB / 1.649 GB, free: 5.867 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/1.664, allocations: 34.5 kB / 1.649 GB, free: 5.824 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.664, allocations: 0 / 1.649 GB, free: 5.824 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/1.664, allocations: 29.7 kB / 1.649 GB, free: 5.789 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/1.664, allocations: 55.41 kB / 1.649 GB, free: 5.723 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/1.664, allocations: 104.5 kB / 1.649 GB, free: 5.617 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.664, allocations: 25.7 kB / 1.649 GB, free: 5.586 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/1.664, allocations: 84.05 kB / 1.649 GB, free: 5.5 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/1.664, allocations: 4 kB / 1.649 GB, free: 5.496 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/1.664, allocations: 0 / 1.649 GB, free: 5.496 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/1.664, allocations: 318.4 kB / 1.649 GB, free: 5.18 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/1.664, allocations: 3.984 kB / 1.649 GB, free: 5.176 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/1.664, allocations: 13.72 kB / 1.649 GB, free: 5.156 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.003e-05/1.664, allocations: 15.56 kB / 1.65 GB, free: 5.145 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.664, allocations: 3.938 kB / 1.65 GB, free: 5.141 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/1.664, allocations: 49.56 kB / 1.65 GB, free: 5.086 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.665, allocations: 7.984 kB / 1.65 GB, free: 5.078 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.665, allocations: 4 kB / 1.65 GB, free: 5.074 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/1.665, allocations: 0 / 1.65 GB, free: 5.074 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/1.665, allocations: 8 kB / 1.65 GB, free: 5.066 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/1.665, allocations: 0 / 1.65 GB, free: 5.066 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/1.665, allocations: 11.84 kB / 1.65 GB, free: 5.055 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/1.665, allocations: 4.062 kB / 1.65 GB, free: 5.051 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 7.119e-05/1.665, allocations: 101 kB / 1.65 GB, free: 4.945 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/1.665, allocations: 4 kB / 1.65 GB, free: 4.941 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/1.665, allocations: 130.7 kB / 1.65 GB, free: 4.812 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-05/1.665, allocations: 176.3 kB / 1.65 GB, free: 4.633 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/1.665, allocations: 184.2 kB / 1.65 GB, free: 4.445 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/1.665, allocations: 176.3 kB / 1.65 GB, free: 4.266 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.665, allocations: 385.5 kB / 1.651 GB, free: 3.848 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/1.665, allocations: 104.9 kB / 1.651 GB, free: 3.738 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/1.665, allocations: 105 kB / 1.651 GB, free: 3.629 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.134e-05/1.665, allocations: 180.3 kB / 1.651 GB, free: 3.445 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/1.665, allocations: 184.2 kB / 1.651 GB, free: 3.258 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-05/1.666, allocations: 180.2 kB / 1.651 GB, free: 3.074 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.936e-05/1.666, allocations: 180.2 kB / 1.652 GB, free: 2.891 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001356/1.666, allocations: 311.4 kB / 1.652 GB, free: 2.566 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002814/1.666, allocations: 0.6842 MB / 1.653 GB, free: 1.859 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/1.666, allocations: 178.1 kB / 1.653 GB, free: 1.66 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/1.666, allocations: 176.3 kB / 1.653 GB, free: 1.48 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/1.666, allocations: 116.9 kB / 1.653 GB, free: 1.359 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/1.666, allocations: 183.9 kB / 1.653 GB, free: 1.176 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/1.666, allocations: 105 kB / 1.653 GB, free: 1.066 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.047e-05/1.667, allocations: 79.28 kB / 1.653 GB, free: 0.9883 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008225/1.667, allocations: 27.36 kB / 1.653 GB, free: 0.9688 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.0002918/1.668, allocations: 234.8 kB / 1.654 GB, free: 0.7266 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 5.639e-05/1.668, allocations: 11.94 kB / 1.654 GB, free: 0.7148 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.668, allocations: 0 / 1.654 GB, free: 0.7148 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/1.668, allocations: 0 / 1.654 GB, free: 0.7148 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.668, allocations: 0.5222 MB / 1.654 GB, free: 196 kB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/1.668, allocations: 135.1 kB / 1.654 GB, free: 32 kB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.669, allocations: 0.6918 MB / 1.655 GB, free: 15.31 MB / 1.089 GB Notification: Performance of SimCode: time 2.6e-07/1.669, allocations: 0 / 1.655 GB, free: 15.31 MB / 1.089 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat