Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.004811/0.004811, allocations: 185.4 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7219/0.7219, allocations: 130.6 MB / 138.5 MB, free: 2.145 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.3 MB / 391.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009547, allocations: 109.7 kB / 473.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 1.438 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 81.58 MB / 0.6276 GB, free: 18.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.673/9.864, allocations: 4.37 GB / 4.997 GB, free: 89.58 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/9.865, allocations: 79.95 kB / 4.998 GB, free: 89.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.08217/9.947, allocations: 46.42 MB / 5.043 GB, free: 42.44 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.133e-05/9.947, allocations: 0 / 5.043 GB, free: 42.44 MB / 0.6667 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.0004122/9.947, allocations: 330.4 kB / 5.043 GB, free: 42.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/9.948, allocations: 12.03 kB / 5.043 GB, free: 42.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/9.948, allocations: 27.88 kB / 5.043 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/9.948, allocations: 159.1 kB / 5.043 GB, free: 41.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/9.948, allocations: 29.7 kB / 5.043 GB, free: 41.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/9.948, allocations: 0 / 5.043 GB, free: 41.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/9.948, allocations: 19.98 kB / 5.043 GB, free: 41.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/9.948, allocations: 49.53 kB / 5.043 GB, free: 41.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/9.948, allocations: 7.984 kB / 5.043 GB, free: 41.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/9.948, allocations: 0 / 5.043 GB, free: 41.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/9.948, allocations: 4 kB / 5.043 GB, free: 41.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/9.949, allocations: 237.4 kB / 5.044 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/9.949, allocations: 18.58 kB / 5.044 GB, free: 41.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/9.949, allocations: 5.172 kB / 5.044 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/9.949, allocations: 0 / 5.044 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/9.949, allocations: 38.56 kB / 5.044 GB, free: 41.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/9.949, allocations: 7.875 kB / 5.044 GB, free: 41.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/9.949, allocations: 33.75 kB / 5.044 GB, free: 41.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/9.949, allocations: 55.41 kB / 5.044 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/9.949, allocations: 104.8 kB / 5.044 GB, free: 41.14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/9.949, allocations: 25.7 kB / 5.044 GB, free: 41.11 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/9.95, allocations: 88.05 kB / 5.044 GB, free: 41.02 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/9.95, allocations: 0 / 5.044 GB, free: 41.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/9.95, allocations: 4.031 kB / 5.044 GB, free: 41.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/9.95, allocations: 322.7 kB / 5.044 GB, free: 40.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/9.95, allocations: 4 kB / 5.044 GB, free: 40.69 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/9.95, allocations: 22.58 kB / 5.044 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/9.95, allocations: 11.98 kB / 5.044 GB, free: 40.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/9.95, allocations: 0 / 5.044 GB, free: 40.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.926e-05/9.95, allocations: 49.64 kB / 5.044 GB, free: 40.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/9.95, allocations: 4 kB / 5.044 GB, free: 40.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/9.95, allocations: 0 / 5.044 GB, free: 40.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/9.95, allocations: 4 kB / 5.044 GB, free: 40.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/9.95, allocations: 11.92 kB / 5.044 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/9.95, allocations: 4 kB / 5.044 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/9.95, allocations: 3.906 kB / 5.044 GB, free: 40.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/9.95, allocations: 0 / 5.044 GB, free: 40.56 MB / 0.6667 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 8.311e-05/9.95, allocations: 109.1 kB / 5.045 GB, free: 40.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/9.95, allocations: 0 / 5.045 GB, free: 40.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/9.95, allocations: 11.06 kB / 5.045 GB, free: 40.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/9.95, allocations: 3.938 kB / 5.045 GB, free: 40.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/9.95, allocations: 0 / 5.045 GB, free: 40.44 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/9.95, allocations: 4 kB / 5.045 GB, free: 40.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/9.95, allocations: 319.3 kB / 5.045 GB, free: 40.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/9.951, allocations: 4 kB / 5.045 GB, free: 40.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/9.951, allocations: 7.938 kB / 5.045 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/9.951, allocations: 3.938 kB / 5.045 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/9.951, allocations: 0 / 5.045 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/9.951, allocations: 0 / 5.045 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/9.951, allocations: 0 / 5.045 GB, free: 40.06 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.017e-05/9.951, allocations: 57.05 kB / 5.045 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/9.951, allocations: 85.03 kB / 5.045 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/9.951, allocations: 0 / 5.045 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/9.951, allocations: 8.031 kB / 5.045 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/9.951, allocations: 0 / 5.045 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/9.951, allocations: 4 kB / 5.045 GB, free: 39.87 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.724e-05/9.951, allocations: 87.52 kB / 5.045 GB, free: 39.79 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002816/9.951, allocations: 32 kB / 5.045 GB, free: 39.75 MB / 0.6667 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.0007259/9.952, allocations: 0.6718 MB / 5.046 GB, free: 39.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.108e-05/9.952, allocations: 15.94 kB / 5.046 GB, free: 39.06 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/9.952, allocations: 0 / 5.046 GB, free: 39.06 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/9.952, allocations: 0 / 5.046 GB, free: 39.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/9.952, allocations: 7.906 kB / 5.046 GB, free: 39.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/9.952, allocations: 56.17 kB / 5.046 GB, free: 38.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/9.953, allocations: 0.688 MB / 5.047 GB, free: 38.26 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/9.953, allocations: 0 / 5.047 GB, free: 38.26 MB / 0.6667 GB Notification: Performance of Templates: time 0.0068/9.959, allocations: 3.812 MB / 5.05 GB, free: 34.45 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)