Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [: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.001842/0.001842, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6026/0.6026, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008051/0.000805, allocations: 99.77 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.47e-06, allocations: 0 / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 82.3 MB / 0.6332 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6, allocations: 4.151 GB / 4.784 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/6.001, allocations: 78.5 kB / 4.784 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.06131/6.062, allocations: 35.97 MB / 4.819 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.119e-06/6.062, allocations: 0 / 4.819 GB, free: 224.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002066/6.062, allocations: 342.4 kB / 4.819 GB, free: 224 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/6.062, allocations: 8.031 kB / 4.819 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/6.062, allocations: 15.89 kB / 4.819 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/6.062, allocations: 167 kB / 4.82 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/6.062, allocations: 8 kB / 4.82 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/6.062, allocations: 7.906 kB / 4.82 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.75e-05/6.063, allocations: 19.92 kB / 4.82 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.302e-05/6.063, allocations: 41.69 kB / 4.82 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/6.063, allocations: 0 / 4.82 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/6.063, allocations: 0 / 4.82 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/6.063, allocations: 7.984 kB / 4.82 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/6.063, allocations: 134.1 kB / 4.82 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/6.063, allocations: 41.66 kB / 4.82 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/6.063, allocations: 13.09 kB / 4.82 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/6.063, allocations: 15.92 kB / 4.82 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/6.063, allocations: 30.56 kB / 4.82 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/6.063, allocations: 0 / 4.82 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005016/6.063, allocations: 330.1 kB / 4.82 GB, free: 223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.419e-05/6.063, allocations: 55.41 kB / 4.82 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.785e-05/6.063, allocations: 92.98 kB / 4.82 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/6.063, allocations: 29.7 kB / 4.82 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.231e-05/6.064, allocations: 80.58 kB / 4.82 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/6.064, allocations: 35.45 kB / 4.82 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/6.064, allocations: 0 / 4.82 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/6.064, allocations: 314.8 kB / 4.821 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/6.064, allocations: 19.94 kB / 4.821 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/6.064, allocations: 37.84 kB / 4.821 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/6.064, allocations: 20.28 kB / 4.821 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/6.064, allocations: 4 kB / 4.821 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.307e-05/6.064, allocations: 81.52 kB / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/6.064, allocations: 10.5 kB / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/6.064, allocations: 3.984 kB / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/6.064, allocations: 0 / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/6.064, allocations: 24 kB / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/6.064, allocations: 0 / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/6.064, allocations: 7.906 kB / 4.821 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/6.064, allocations: 8 kB / 4.821 GB, free: 222.2 MB / 0.6823 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 (14): * Single equations (assignments): 14 * 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 3.825e-05/6.064, allocations: 104.9 kB / 4.821 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/6.064, allocations: 11.89 kB / 4.821 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/6.064, allocations: 7.906 kB / 4.821 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/6.064, allocations: 4 kB / 4.821 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/6.064, allocations: 0 / 4.821 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/6.064, allocations: 0 / 4.821 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.117e-05/6.064, allocations: 146.2 kB / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/6.064, allocations: 4 kB / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/6.064, allocations: 19.98 kB / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/6.064, allocations: 4 kB / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/6.064, allocations: 0 / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/6.064, allocations: 0 / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/6.064, allocations: 3.906 kB / 4.821 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/6.064, allocations: 124.9 kB / 4.821 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/6.065, allocations: 89.09 kB / 4.821 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/6.065, allocations: 0 / 4.821 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/6.065, allocations: 11.91 kB / 4.821 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/6.065, allocations: 3.984 kB / 4.821 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/6.065, allocations: 4 kB / 4.821 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.153e-05/6.065, allocations: 79.22 kB / 4.822 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000225/6.065, allocations: 43.98 kB / 4.822 GB, free: 221.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005062/6.065, allocations: 0.6574 MB / 4.822 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/6.065, allocations: 51.94 kB / 4.822 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/6.066, allocations: 0 / 4.822 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/6.066, allocations: 27.98 kB / 4.822 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/6.066, allocations: 8.453 kB / 4.822 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/6.066, allocations: 262.1 kB / 4.823 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/6.066, allocations: 0.7075 MB / 4.823 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/6.066, allocations: 0 / 4.823 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.005455/6.072, allocations: 4.036 MB / 4.827 GB, free: 215.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)