Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") [: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.28/0.28, allocations: 54.38 MB / 61.67 MB, free: 11.16 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.001227/0.001227, allocations: 182.6 kB / 75.37 MB, free: 1.488 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.538/1.538, allocations: 194.2 MB / 283.2 MB, free: 3.59 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.001701/0.001702, allocations: 128.7 kB / 341.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.474e-06, allocations: 0 / 405 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.161, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.18, allocations: 4.612 GB / 5.064 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/11.18, allocations: 77.77 kB / 5.064 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.8313/12.01, allocations: 250.8 MB / 5.309 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.045e-05/12.01, allocations: 10.41 kB / 5.309 GB, free: 110.9 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002502/12.02, allocations: 0.7613 MB / 5.31 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/12.02, allocations: 12.69 kB / 5.31 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/12.02, allocations: 61.02 kB / 5.31 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/12.02, allocations: 323.9 kB / 5.31 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/12.02, allocations: 11.03 kB / 5.31 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/12.02, allocations: 25.34 kB / 5.31 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/12.02, allocations: 363.5 kB / 5.31 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/12.02, allocations: 335.4 kB / 5.311 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/12.02, allocations: 0 / 5.311 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/12.02, allocations: 1.25 kB / 5.311 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/12.02, allocations: 10.81 kB / 5.311 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/12.02, allocations: 1.476 MB / 5.312 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/12.02, allocations: 218.5 kB / 5.312 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/12.02, allocations: 148.6 kB / 5.312 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/12.02, allocations: 8.859 kB / 5.312 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/12.02, allocations: 37.59 kB / 5.313 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/12.02, allocations: 3.375 kB / 5.313 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.003939/12.03, allocations: 1.258 MB / 5.314 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/12.03, allocations: 55.78 kB / 5.314 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/12.03, allocations: 229.6 kB / 5.314 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/12.03, allocations: 26.89 kB / 5.314 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/12.03, allocations: 176.4 kB / 5.314 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/12.03, allocations: 146.5 kB / 5.314 GB, free: 107 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/12.03, allocations: 1.188 kB / 5.314 GB, free: 107 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/12.03, allocations: 337.4 kB / 5.315 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/12.03, allocations: 153.8 kB / 5.315 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/12.03, allocations: 199.8 kB / 5.315 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/12.03, allocations: 192.2 kB / 5.315 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/12.03, allocations: 0 / 5.315 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001238/12.03, allocations: 0.5145 MB / 5.316 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/12.03, allocations: 5.188 kB / 5.316 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/12.03, allocations: 3.781 kB / 5.316 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/12.03, allocations: 95.14 kB / 5.316 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/12.03, allocations: 113.7 kB / 5.316 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/12.04, allocations: 3.963 MB / 5.32 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/12.04, allocations: 29.42 kB / 5.32 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/12.04, allocations: 14.69 kB / 5.32 GB, free: 102 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003851/12.04, allocations: 119.7 kB / 5.32 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/12.04, allocations: 41.16 kB / 5.32 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/12.04, allocations: 41.41 kB / 5.32 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/12.04, allocations: 4.094 kB / 5.32 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/12.04, allocations: 5.203 kB / 5.32 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009653/12.04, allocations: 0.6283 MB / 5.321 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/12.04, allocations: 1.047 MB / 5.322 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/12.04, allocations: 1.375 kB / 5.322 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/12.04, allocations: 119 kB / 5.322 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/12.04, allocations: 64.52 kB / 5.322 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/12.04, allocations: 12.7 kB / 5.322 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/12.04, allocations: 1.493 MB / 5.323 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/12.04, allocations: 5.75 kB / 5.323 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001257/12.04, allocations: 0.7918 MB / 5.324 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/12.04, allocations: 156.6 kB / 5.324 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/12.04, allocations: 8.625 kB / 5.324 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/12.04, allocations: 23.33 kB / 5.324 GB, free: 98.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/12.04, allocations: 29.36 kB / 5.324 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/12.04, allocations: 22.73 kB / 5.324 GB, free: 98.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000193/12.04, allocations: 178 kB / 5.324 GB, free: 98.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001269/12.05, allocations: 205.9 kB / 5.325 GB, free: 98.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/12.05, allocations: 1.166 MB / 5.326 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001205/12.05, allocations: 0.6765 MB / 5.326 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/12.05, allocations: 3.938 kB / 5.326 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/12.05, allocations: 309.4 kB / 5.327 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/12.05, allocations: 157.8 kB / 5.327 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/12.05, allocations: 0.8461 MB / 5.328 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/12.05, allocations: 0.8745 MB / 5.329 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/12.05, allocations: 4 kB / 5.329 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.03037/12.08, allocations: 14.47 MB / 5.343 GB, free: 85.25 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)