Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7048/0.7048, allocations: 141.8 MB / 149.1 MB, free: 4.242 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 187.5 kB / 181.9 MB, free: 15.91 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 436 MB, free: 9.066 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.000936, allocations: 96.27 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 281.5 kB / 0.5884 GB, free: 12.07 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1681/0.1699, allocations: 89.63 MB / 0.676 GB, free: 2.367 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.5338, allocations: 82.77 MB / 0.7568 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6174/1.151, allocations: 393.8 MB / 1.141 GB, free: 5.355 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.152, allocations: 83.62 kB / 1.141 GB, free: 5.312 MB / 0.6669 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.04231/1.194, allocations: 19.06 MB / 1.16 GB, free: 6.027 MB / 0.6825 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.194, allocations: 8 kB / 1.16 GB, free: 6.02 MB / 0.6825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/1.194, allocations: 4 kB / 1.16 GB, free: 6.016 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/1.194, allocations: 163 kB / 1.16 GB, free: 5.816 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/1.194, allocations: 33.69 kB / 1.16 GB, free: 5.777 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/1.194, allocations: 0 / 1.16 GB, free: 5.777 MB / 0.6825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.076e-05/1.194, allocations: 16.88 kB / 1.16 GB, free: 5.766 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/1.194, allocations: 37.69 kB / 1.16 GB, free: 5.723 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.194, allocations: 7.875 kB / 1.16 GB, free: 5.715 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.195, allocations: 0 / 1.16 GB, free: 5.715 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/1.195, allocations: 3.984 kB / 1.16 GB, free: 5.711 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/1.195, allocations: 313.4 kB / 1.161 GB, free: 5.355 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/1.195, allocations: 14.58 kB / 1.161 GB, free: 5.332 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/1.195, allocations: 12.92 kB / 1.161 GB, free: 5.316 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/1.195, allocations: 88.91 kB / 1.161 GB, free: 5.215 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.195, allocations: 30.56 kB / 1.161 GB, free: 5.176 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/1.195, allocations: 0.8438 kB / 1.161 GB, free: 5.176 MB / 0.6825 GB Notification: Performance of matching and sorting (n=1): time 0.0002185/1.195, allocations: 41.55 kB / 1.161 GB, free: 5.129 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.195, allocations: 51.41 kB / 1.161 GB, free: 5.066 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/1.196, allocations: 100.6 kB / 1.161 GB, free: 4.965 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/1.196, allocations: 25.7 kB / 1.161 GB, free: 4.934 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/1.196, allocations: 84.05 kB / 1.161 GB, free: 4.848 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/1.196, allocations: 4 kB / 1.161 GB, free: 4.844 MB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.196, allocations: 0 / 1.161 GB, free: 4.844 MB / 0.6825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.196, allocations: 318.6 kB / 1.161 GB, free: 4.527 MB / 0.6825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/1.196, allocations: 1.125 kB / 1.161 GB, free: 4.527 MB / 0.6825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/1.196, allocations: 17.7 kB / 1.161 GB, free: 4.504 MB / 0.6825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/1.196, allocations: 12 kB / 1.161 GB, free: 4.492 MB / 0.6825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.196, allocations: 0 / 1.161 GB, free: 4.492 MB / 0.6825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/1.196, allocations: 49.44 kB / 1.161 GB, free: 4.441 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.196, allocations: 8 kB / 1.161 GB, free: 4.434 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.196, allocations: 3.203 kB / 1.161 GB, free: 4.434 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.196, allocations: 0 / 1.161 GB, free: 4.434 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/1.196, allocations: 7.984 kB / 1.161 GB, free: 4.426 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.196, allocations: 0 / 1.161 GB, free: 4.426 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/1.196, allocations: 11.91 kB / 1.161 GB, free: 4.414 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.196, allocations: 4 kB / 1.161 GB, free: 4.41 MB / 0.6825 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.677e-05/1.196, allocations: 103 kB / 1.162 GB, free: 4.305 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/1.196, allocations: 4 kB / 1.162 GB, free: 4.301 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/1.197, allocations: 122.5 kB / 1.162 GB, free: 4.176 MB / 0.6825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/1.197, allocations: 183.5 kB / 1.162 GB, free: 3.992 MB / 0.6825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.119e-05/1.197, allocations: 184.3 kB / 1.162 GB, free: 3.805 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/1.197, allocations: 180.2 kB / 1.162 GB, free: 3.621 MB / 0.6825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/1.197, allocations: 385.3 kB / 1.163 GB, free: 3.203 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/1.197, allocations: 104.9 kB / 1.163 GB, free: 3.094 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/1.197, allocations: 104.9 kB / 1.163 GB, free: 2.984 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/1.197, allocations: 188.2 kB / 1.163 GB, free: 2.793 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/1.197, allocations: 176.3 kB / 1.163 GB, free: 2.613 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-05/1.197, allocations: 180.2 kB / 1.163 GB, free: 2.43 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.608e-05/1.197, allocations: 176.3 kB / 1.163 GB, free: 2.25 MB / 0.6825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/1.197, allocations: 315.3 kB / 1.164 GB, free: 1.922 MB / 0.6825 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002592/1.198, allocations: 0.6766 MB / 1.164 GB, free: 1.227 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/1.198, allocations: 186 kB / 1.165 GB, free: 1.02 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/1.198, allocations: 176.3 kB / 1.165 GB, free: 0.8398 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.198, allocations: 113 kB / 1.165 GB, free: 0.7227 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/1.198, allocations: 184.2 kB / 1.165 GB, free: 0.5352 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/1.198, allocations: 101 kB / 1.165 GB, free: 440 kB / 0.6825 GB Notification: Performance of sort global known variables: time 4.472e-05/1.198, allocations: 82.84 kB / 1.165 GB, free: 360 kB / 0.6825 GB Notification: Performance of remove unused functions: time 0.0009192/1.199, allocations: 25.88 kB / 1.165 GB, free: 340 kB / 0.6825 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.0002986/1.199, allocations: 241.1 kB / 1.165 GB, free: 96 kB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/1.2, allocations: 15.94 kB / 1.166 GB, free: 80 kB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.2, allocations: 0 / 1.166 GB, free: 80 kB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/1.2, allocations: 0 / 1.166 GB, free: 80 kB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/1.2, allocations: 0.5259 MB / 1.166 GB, free: 15.55 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/1.2, allocations: 119.3 kB / 1.166 GB, free: 15.41 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.201, allocations: 0.688 MB / 1.167 GB, free: 14.7 MB / 0.6982 GB Notification: Performance of SimCode: time 2.8e-07/1.201, allocations: 0 / 1.167 GB, free: 14.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)