Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00359/0.00359, allocations: 181.4 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7349/0.7349, allocations: 130.6 MB / 138.5 MB, free: 2.207 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.733/1.733, allocations: 221.3 MB / 391.4 MB, free: 13.1 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.0009478/0.0009481, allocations: 90.16 kB / 473.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.291e-06, allocations: 0 / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 81.59 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.092/9.26, allocations: 4.15 GB / 4.778 GB, free: 38.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/9.261, allocations: 89.09 kB / 4.778 GB, free: 38.49 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0686/9.329, allocations: 35.97 MB / 4.813 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.344e-06/9.33, allocations: 0 / 4.813 GB, free: 2.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000314/9.33, allocations: 342.4 kB / 4.813 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/9.33, allocations: 11.97 kB / 4.813 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/9.33, allocations: 15.89 kB / 4.814 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/9.33, allocations: 171 kB / 4.814 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/9.33, allocations: 0 / 4.814 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/9.33, allocations: 11.89 kB / 4.814 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.53e-05/9.33, allocations: 12 kB / 4.814 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/9.331, allocations: 49.62 kB / 4.814 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/9.331, allocations: 0 / 4.814 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/9.331, allocations: 3.984 kB / 4.814 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/9.331, allocations: 0 / 4.814 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/9.331, allocations: 146.1 kB / 4.814 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.209e-05/9.331, allocations: 33.72 kB / 4.814 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/9.331, allocations: 16.86 kB / 4.814 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/9.331, allocations: 0 / 4.814 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/9.331, allocations: 30.56 kB / 4.814 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/9.331, allocations: 0 / 4.814 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0006935/9.332, allocations: 338.3 kB / 4.814 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/9.332, allocations: 55.41 kB / 4.814 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/9.332, allocations: 89 kB / 4.814 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/9.332, allocations: 29.64 kB / 4.814 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/9.332, allocations: 84.08 kB / 4.815 GB, free: 428 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/9.332, allocations: 35.45 kB / 4.815 GB, free: 392 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/9.332, allocations: 0 / 4.815 GB, free: 392 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/9.332, allocations: 322.8 kB / 4.815 GB, free: 60 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/9.332, allocations: 16.12 kB / 4.815 GB, free: 44 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/9.332, allocations: 34.72 kB / 4.815 GB, free: 4 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3721/9.704, allocations: 26.45 kB / 4.815 GB, free: 292.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/9.704, allocations: 0 / 4.815 GB, free: 292.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002006/9.704, allocations: 83.09 kB / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/9.704, allocations: 8.656 kB / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/9.705, allocations: 0 / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/9.705, allocations: 0 / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/9.705, allocations: 26.78 kB / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/9.705, allocations: 6.531 kB / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/9.705, allocations: 0 / 4.815 GB, free: 292.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/9.705, allocations: 3.969 kB / 4.815 GB, free: 292.6 MB / 0.6667 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 0.000112/9.705, allocations: 101 kB / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/9.705, allocations: 6.906 kB / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/9.705, allocations: 7.844 kB / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/9.705, allocations: 6.406 kB / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/9.705, allocations: 3.891 kB / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/9.705, allocations: 0 / 4.815 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/9.705, allocations: 146.7 kB / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/9.705, allocations: 0 / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/9.705, allocations: 26.92 kB / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/9.705, allocations: 2.469 kB / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/9.706, allocations: 0 / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/9.706, allocations: 0 / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/9.706, allocations: 0 / 4.815 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000211/9.706, allocations: 129.5 kB / 4.815 GB, free: 292.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/9.706, allocations: 90.52 kB / 4.816 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/9.706, allocations: 0 / 4.816 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/9.706, allocations: 0 / 4.816 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/9.706, allocations: 7.781 kB / 4.816 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/9.706, allocations: 3.969 kB / 4.816 GB, free: 292.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.933e-05/9.706, allocations: 84.78 kB / 4.816 GB, free: 292.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003639/9.706, allocations: 41.84 kB / 4.816 GB, free: 292.1 MB / 0.6667 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.001104/9.708, allocations: 0.6716 MB / 4.816 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001641/9.708, allocations: 47.38 kB / 4.816 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/9.708, allocations: 3.844 kB / 4.816 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/9.708, allocations: 27.64 kB / 4.816 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/9.708, allocations: 4.125 kB / 4.816 GB, free: 292 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/9.709, allocations: 267.6 kB / 4.817 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/9.709, allocations: 0.7028 MB / 4.817 GB, free: 291.2 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/9.709, allocations: 0 / 4.817 GB, free: 291.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.007636/9.717, allocations: 4.038 MB / 4.821 GB, free: 290.9 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)