Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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.0009667/0.0009668, allocations: 181.2 kB / 7.8 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.4349/0.4349, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.209/1.209, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009626/0.0009626, allocations: 93.61 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/9.007e-06, allocations: 4 kB / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3074, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.743/7.05, allocations: 4.361 GB / 4.913 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/7.051, allocations: 81.52 kB / 4.914 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.08247/7.133, allocations: 46.41 MB / 4.959 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.722e-06/7.133, allocations: 0 / 4.959 GB, free: 0.6914 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.0002375/7.133, allocations: 334.3 kB / 4.959 GB, free: 328 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/7.133, allocations: 16.03 kB / 4.959 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/7.134, allocations: 15.98 kB / 4.959 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/7.134, allocations: 167 kB / 4.959 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/7.134, allocations: 29.69 kB / 4.959 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/7.134, allocations: 11.89 kB / 4.959 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/7.134, allocations: 16 kB / 4.959 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/7.299, allocations: 41.48 kB / 4.959 GB, free: 253.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/7.299, allocations: 2.656 kB / 4.959 GB, free: 253.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/7.299, allocations: 0 / 4.959 GB, free: 253.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/7.299, allocations: 3.844 kB / 4.959 GB, free: 253.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/7.299, allocations: 241 kB / 4.96 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.301e-05/7.299, allocations: 18.33 kB / 4.96 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/7.299, allocations: 12.02 kB / 4.96 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/7.299, allocations: 3.656 kB / 4.96 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/7.299, allocations: 32.78 kB / 4.96 GB, free: 253.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/7.299, allocations: 0 / 4.96 GB, free: 253.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/7.3, allocations: 34.73 kB / 4.96 GB, free: 253.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/7.3, allocations: 51.41 kB / 4.96 GB, free: 253.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/7.3, allocations: 102.3 kB / 4.96 GB, free: 253.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/7.3, allocations: 25.7 kB / 4.96 GB, free: 253.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/7.3, allocations: 90.17 kB / 4.96 GB, free: 253.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/7.3, allocations: 5.875 kB / 4.96 GB, free: 253.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/7.3, allocations: 0 / 4.96 GB, free: 253.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/7.3, allocations: 316.9 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/7.3, allocations: 8.969 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/7.3, allocations: 20.92 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/7.3, allocations: 9.828 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/7.3, allocations: 2.312 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.294e-05/7.3, allocations: 48.27 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/7.3, allocations: 10.44 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/7.3, allocations: 0 / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/7.3, allocations: 0 / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/7.3, allocations: 9.562 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/7.3, allocations: 0 / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/7.3, allocations: 2.719 kB / 4.96 GB, free: 252.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/7.3, allocations: 3.125 kB / 4.96 GB, free: 252.8 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 4.307e-05/7.3, allocations: 110 kB / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/7.3, allocations: 7.422 kB / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/7.3, allocations: 6.469 kB / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/7.3, allocations: 3.906 kB / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/7.3, allocations: 0 / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/7.3, allocations: 0 / 4.961 GB, free: 252.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/7.3, allocations: 325.1 kB / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/7.3, allocations: 0 / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/7.3, allocations: 6.25 kB / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/7.3, allocations: 0 / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/7.3, allocations: 0 / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/7.3, allocations: 3.281 kB / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/7.3, allocations: 2.969 kB / 4.961 GB, free: 252.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.559e-05/7.301, allocations: 60.41 kB / 4.961 GB, free: 252.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/7.301, allocations: 77.11 kB / 4.961 GB, free: 252.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/7.301, allocations: 3.75 kB / 4.961 GB, free: 252.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/7.301, allocations: 15.44 kB / 4.961 GB, free: 252.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/7.301, allocations: 0 / 4.961 GB, free: 252.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/7.301, allocations: 0 / 4.961 GB, free: 252.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.269e-05/7.301, allocations: 86.14 kB / 4.961 GB, free: 252.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002785/7.301, allocations: 35.16 kB / 4.961 GB, free: 252.1 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.000568/7.302, allocations: 0.6683 MB / 4.962 GB, free: 252 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/7.302, allocations: 9.125 kB / 4.962 GB, free: 252 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/7.302, allocations: 3.281 kB / 4.962 GB, free: 252 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-06/7.302, allocations: 3.844 kB / 4.962 GB, free: 252 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/7.302, allocations: 10.94 kB / 4.962 GB, free: 252 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/7.302, allocations: 51.7 kB / 4.962 GB, free: 251.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/7.302, allocations: 0.6884 MB / 4.963 GB, free: 251.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/7.302, allocations: 2.531 kB / 4.963 GB, free: 251.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.005892/7.308, allocations: 3.817 MB / 4.966 GB, free: 251.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)