Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 193.4 kB / 7.806 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4707/0.4707, allocations: 90.86 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.4 MB / 342.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009609, allocations: 89.52 kB / 415.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1567/0.1577, allocations: 78.45 MB / 494 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.4816, allocations: 72.29 MB / 0.553 GB, free: 44.91 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5791/1.061, allocations: 386.7 MB / 0.9306 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/1.061, allocations: 72.89 kB / 0.9307 GB, free: 4.848 MB / 0.6042 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.291/1.352, allocations: 19.06 MB / 0.9493 GB, free: 241 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/1.352, allocations: 8 kB / 0.9493 GB, free: 241 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/1.352, allocations: 7.984 kB / 0.9493 GB, free: 241 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/1.352, allocations: 163.1 kB / 0.9494 GB, free: 240.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/1.352, allocations: 25.7 kB / 0.9495 GB, free: 240.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/1.352, allocations: 3.906 kB / 0.9495 GB, free: 240.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.936e-05/1.352, allocations: 15.98 kB / 0.9495 GB, free: 240.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.193e-05/1.352, allocations: 33.7 kB / 0.9495 GB, free: 240.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.352, allocations: 7.922 kB / 0.9495 GB, free: 240.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.352, allocations: 3.938 kB / 0.9495 GB, free: 240.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/1.352, allocations: 6.625 kB / 0.9495 GB, free: 240.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/1.353, allocations: 310.6 kB / 0.9498 GB, free: 240.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.665e-05/1.353, allocations: 18.58 kB / 0.9499 GB, free: 240.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/1.353, allocations: 4.859 kB / 0.9499 GB, free: 240.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/1.353, allocations: 89.14 kB / 0.9499 GB, free: 240.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.353, allocations: 42.56 kB / 0.95 GB, free: 240.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.353, allocations: 4 kB / 0.95 GB, free: 240.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/1.353, allocations: 33.64 kB / 0.95 GB, free: 240.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/1.353, allocations: 55.39 kB / 0.9501 GB, free: 240 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/1.353, allocations: 89 kB / 0.9502 GB, free: 240 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/1.353, allocations: 29.7 kB / 0.9502 GB, free: 239.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/1.353, allocations: 91.98 kB / 0.9503 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/1.353, allocations: 3.906 kB / 0.9503 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.353, allocations: 0 / 0.9503 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.353, allocations: 322.9 kB / 0.9506 GB, free: 239.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/1.353, allocations: 4 kB / 0.9506 GB, free: 239.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/1.353, allocations: 17.72 kB / 0.9506 GB, free: 239.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/1.353, allocations: 7.984 kB / 0.9506 GB, free: 239.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.353, allocations: 0 / 0.9506 GB, free: 239.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.32e-05/1.353, allocations: 49.62 kB / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.354, allocations: 7.906 kB / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.354, allocations: 4.062 kB / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/1.354, allocations: 0 / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/1.354, allocations: 12 kB / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/1.354, allocations: 0 / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/1.354, allocations: 0 / 0.9507 GB, free: 239.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/1.354, allocations: 4 kB / 0.9507 GB, free: 239.4 MB / 0.6042 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 4.203e-05/1.354, allocations: 101 kB / 0.9508 GB, free: 239.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/1.354, allocations: 4.938 kB / 0.9508 GB, free: 239.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/1.354, allocations: 124.9 kB / 0.9509 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.354, allocations: 176.3 kB / 0.9511 GB, free: 239 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.354, allocations: 180.3 kB / 0.9512 GB, free: 238.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.354, allocations: 180.2 kB / 0.9514 GB, free: 238.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/1.354, allocations: 389.7 kB / 0.9518 GB, free: 238.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.354, allocations: 112.9 kB / 0.9519 GB, free: 238.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/1.354, allocations: 104.9 kB / 0.952 GB, free: 237.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/1.354, allocations: 176.3 kB / 0.9522 GB, free: 237.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.354, allocations: 176.3 kB / 0.9523 GB, free: 237.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-05/1.354, allocations: 184.2 kB / 0.9525 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/1.354, allocations: 184.2 kB / 0.9527 GB, free: 237.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.771e-05/1.354, allocations: 311.7 kB / 0.953 GB, free: 236.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.78e-05/1.354, allocations: 0.6698 MB / 0.9536 GB, free: 236.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/1.354, allocations: 193.9 kB / 0.9538 GB, free: 236 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/1.354, allocations: 176.3 kB / 0.954 GB, free: 235.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/1.354, allocations: 113 kB / 0.9541 GB, free: 235.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/1.355, allocations: 184.2 kB / 0.9543 GB, free: 235.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/1.355, allocations: 101 kB / 0.9544 GB, free: 235.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.698e-05/1.355, allocations: 79.28 kB / 0.9544 GB, free: 235.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008198/1.355, allocations: 27.98 kB / 0.9545 GB, free: 235.3 MB / 0.6042 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.0002088/1.356, allocations: 238.5 kB / 0.9547 GB, free: 235 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.679e-05/1.356, allocations: 12.27 kB / 0.9547 GB, free: 235 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.356, allocations: 0 / 0.9547 GB, free: 235 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/1.356, allocations: 128 / 0.9547 GB, free: 235 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.356, allocations: 0.5302 MB / 0.9552 GB, free: 234.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/1.356, allocations: 123.2 kB / 0.9553 GB, free: 234.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.356, allocations: 0.688 MB / 0.956 GB, free: 233.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/1.356, allocations: 0 / 0.956 GB, free: 233.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)