Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001578/0.001578, allocations: 188.6 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.473/0.473, allocations: 90.85 MB / 99.08 MB, free: 14.9 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.223/1.223, allocations: 221.4 MB / 342.8 MB, free: 5.457 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.000887/0.0008869, allocations: 99.47 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1616/0.1625, allocations: 78.44 MB / 493.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.5179, allocations: 72.3 MB / 0.553 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.108/3.626, allocations: 1.664 GB / 2.217 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/3.627, allocations: 72.77 kB / 2.217 GB, free: 150.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.06985/3.696, allocations: 37.09 MB / 2.253 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/3.696, allocations: 8 kB / 2.253 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/3.697, allocations: 35.84 kB / 2.253 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/3.697, allocations: 163 kB / 2.253 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/3.697, allocations: 25.7 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/3.697, allocations: 4 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/3.697, allocations: 19.98 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/3.697, allocations: 45.59 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/3.697, allocations: 4 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/3.697, allocations: 4 kB / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/3.697, allocations: 0 / 2.253 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/3.698, allocations: 326.5 kB / 2.254 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/3.698, allocations: 26.52 kB / 2.254 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/3.698, allocations: 4.859 kB / 2.254 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/3.698, allocations: 0 / 2.254 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/3.698, allocations: 30.56 kB / 2.254 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/3.698, allocations: 0 / 2.254 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002436/3.698, allocations: 45.75 kB / 2.254 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/3.698, allocations: 55.39 kB / 2.254 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/3.699, allocations: 100.9 kB / 2.254 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/3.699, allocations: 29.7 kB / 2.254 GB, free: 112 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/3.699, allocations: 87.98 kB / 2.254 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/3.699, allocations: 7.875 kB / 2.254 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/3.699, allocations: 0 / 2.254 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/3.699, allocations: 322.7 kB / 2.254 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/3.699, allocations: 4 kB / 2.254 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/3.699, allocations: 26.56 kB / 2.254 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/3.699, allocations: 8 kB / 2.254 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/3.699, allocations: 4 kB / 2.254 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.93e-05/3.699, allocations: 45.62 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/3.699, allocations: 4 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/3.699, allocations: 11.92 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/3.699, allocations: 0 / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/3.699, allocations: 12.08 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/3.699, allocations: 4 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/3.699, allocations: 3.906 kB / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/3.699, allocations: 0 / 2.254 GB, free: 111.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.722e-05/3.699, allocations: 105 kB / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/3.699, allocations: 0 / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/3.699, allocations: 11.06 kB / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/3.699, allocations: 4 kB / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/3.699, allocations: 0 / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/3.699, allocations: 4 kB / 2.255 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/3.699, allocations: 327.5 kB / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/3.699, allocations: 3.906 kB / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/3.699, allocations: 4 kB / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/3.699, allocations: 0 / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/3.699, allocations: 0 / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/3.699, allocations: 0 / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.699, allocations: 4 kB / 2.255 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.394e-05/3.7, allocations: 61.02 kB / 2.255 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001569/3.7, allocations: 453.5 kB / 2.255 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/3.7, allocations: 81.02 kB / 2.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/3.7, allocations: 0 / 2.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/3.7, allocations: 12.05 kB / 2.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/3.7, allocations: 0 / 2.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/3.7, allocations: 0 / 2.255 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.558e-05/3.7, allocations: 87.22 kB / 2.256 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000927/3.701, allocations: 79.98 kB / 2.256 GB, free: 110.2 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 (1): * Single equations (assignments): 1 * 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.0006766/3.701, allocations: 0.6406 MB / 2.256 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/3.702, allocations: 19.92 kB / 2.256 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/3.702, allocations: 0 / 2.256 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-06/3.702, allocations: 192 / 2.256 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/3.702, allocations: 17.94 kB / 2.256 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/3.702, allocations: 51.92 kB / 2.256 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/3.702, allocations: 0.688 MB / 2.257 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/3.702, allocations: 0 / 2.257 GB, free: 108.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)