Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2854/0.2854, allocations: 54.38 MB / 61.67 MB, free: 11.2 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001936/0.001937, allocations: 185.8 kB / 75.37 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.718/1.718, allocations: 194.2 MB / 283.2 MB, free: 3.539 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00194/0.00194, allocations: 107.3 kB / 341.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.397e-06/9.548e-06, allocations: 4 kB / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 57.65 MB / 462.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.08/11.22, allocations: 4.609 GB / 5.061 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/11.22, allocations: 80.38 kB / 5.061 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.07381/11.29, allocations: 35.8 MB / 5.096 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.362e-06/11.29, allocations: 8 kB / 5.096 GB, free: 144.6 MB / 0.4948 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.0003015/11.29, allocations: 343.2 kB / 5.097 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/11.29, allocations: 11.97 kB / 5.097 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/11.29, allocations: 11.98 kB / 5.097 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/11.29, allocations: 167 kB / 5.097 GB, free: 144 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/11.29, allocations: 3.984 kB / 5.097 GB, free: 144 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/11.29, allocations: 7.906 kB / 5.097 GB, free: 144 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.245e-05/11.29, allocations: 8 kB / 5.097 GB, free: 144 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/11.29, allocations: 45.69 kB / 5.097 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/11.29, allocations: 0 / 5.097 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/11.29, allocations: 4 kB / 5.097 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/11.29, allocations: 0 / 5.097 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/11.29, allocations: 146.1 kB / 5.097 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/11.29, allocations: 45.78 kB / 5.097 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/11.29, allocations: 12.8 kB / 5.097 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/11.29, allocations: 8 kB / 5.097 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/11.29, allocations: 34.56 kB / 5.097 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/11.29, allocations: 0 / 5.097 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0006427/11.29, allocations: 330.1 kB / 5.097 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/11.29, allocations: 51.41 kB / 5.097 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/11.29, allocations: 97 kB / 5.097 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/11.29, allocations: 25.7 kB / 5.097 GB, free: 143 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/11.29, allocations: 80.14 kB / 5.098 GB, free: 143 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/11.29, allocations: 39.39 kB / 5.098 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/11.29, allocations: 0 / 5.098 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/11.29, allocations: 322.7 kB / 5.098 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/11.29, allocations: 16 kB / 5.098 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/11.29, allocations: 29.78 kB / 5.098 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/11.29, allocations: 32.25 kB / 5.098 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/11.29, allocations: 0 / 5.098 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001045/11.29, allocations: 82 kB / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/11.29, allocations: 6.031 kB / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/11.29, allocations: 0 / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/11.29, allocations: 3.906 kB / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/11.29, allocations: 27.98 kB / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/11.29, allocations: 0 / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/11.29, allocations: 0 / 5.098 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/11.29, allocations: 4 kB / 5.098 GB, free: 142.4 MB / 0.4948 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 6.135e-05/11.29, allocations: 116.9 kB / 5.098 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/11.29, allocations: 7.906 kB / 5.098 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/11.29, allocations: 7.906 kB / 5.098 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/11.29, allocations: 4 kB / 5.098 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/11.29, allocations: 0 / 5.098 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/11.29, allocations: 3.984 kB / 5.098 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.358e-05/11.29, allocations: 146.2 kB / 5.098 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/11.29, allocations: 0 / 5.098 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/11.29, allocations: 27.98 kB / 5.098 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/11.29, allocations: 0 / 5.098 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/11.29, allocations: 7.906 kB / 5.098 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/11.29, allocations: 0 / 5.098 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/11.29, allocations: 0 / 5.098 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001649/11.29, allocations: 125 kB / 5.099 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/11.29, allocations: 81.11 kB / 5.099 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/11.29, allocations: 7.891 kB / 5.099 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/11.29, allocations: 4 kB / 5.099 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/11.29, allocations: 8 kB / 5.099 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/11.29, allocations: 8.078 kB / 5.099 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.778e-05/11.29, allocations: 75.39 kB / 5.099 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002848/11.29, allocations: 43.94 kB / 5.099 GB, free: 141.6 MB / 0.4948 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.0007542/11.29, allocations: 0.6685 MB / 5.099 GB, free: 141 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001142/11.29, allocations: 47.94 kB / 5.099 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/11.29, allocations: 4 kB / 5.099 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/11.29, allocations: 23.94 kB / 5.099 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/11.29, allocations: 7.938 kB / 5.099 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/11.29, allocations: 270 kB / 5.1 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/11.29, allocations: 0.7036 MB / 5.1 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/11.29, allocations: 4 kB / 5.1 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.00681/11.3, allocations: 4.019 MB / 5.104 GB, free: 135.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)