Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCC") translateModel(ThermoPower.Test.GasComponents.TestCC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCC") [: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 3.2.3+maint.om/package.mo): time 0.001177/0.001178, allocations: 189.2 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009013/0.0009014, allocations: 99.56 kB / 261.8 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 48.75 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 424.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 60.25 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.51, allocations: 0.754 GB / 1.228 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/1.51, allocations: 75.97 kB / 1.228 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.095/3.605, allocations: 0.7943 GB / 2.022 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.784e-05/3.605, allocations: 30.66 kB / 2.022 GB, free: 56.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.00246/3.608, allocations: 1.165 MB / 2.023 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/3.608, allocations: 11.42 kB / 2.023 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/3.609, allocations: 238.4 kB / 2.023 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/3.61, allocations: 0.6891 MB / 2.024 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/3.61, allocations: 36 kB / 2.024 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/3.611, allocations: 75.91 kB / 2.024 GB, free: 54.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00143/3.612, allocations: 1.102 MB / 2.025 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/3.614, allocations: 1.368 MB / 2.027 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/3.614, allocations: 4 kB / 2.027 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/3.614, allocations: 4 kB / 2.027 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/3.614, allocations: 42.2 kB / 2.027 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/3.62, allocations: 6.424 MB / 2.033 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/3.621, allocations: 0.4969 MB / 2.033 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/3.621, allocations: 342.2 kB / 2.034 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/3.621, allocations: 19.23 kB / 2.034 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/3.621, allocations: 47.06 kB / 2.034 GB, free: 43.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 1.903e-06/3.621, allocations: 1.859 kB / 2.034 GB, free: 43.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.007398/3.628, allocations: 3.07 MB / 2.037 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/3.628, allocations: 107.5 kB / 2.037 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/3.629, allocations: 401 kB / 2.037 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/3.629, allocations: 29.7 kB / 2.037 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/3.629, allocations: 450.4 kB / 2.038 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/3.629, allocations: 244.5 kB / 2.038 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/3.629, allocations: 3.938 kB / 2.038 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/3.629, allocations: 370.8 kB / 2.038 GB, free: 39.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/3.63, allocations: 429.9 kB / 2.039 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/3.63, allocations: 0.576 MB / 2.039 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/3.631, allocations: 0.5041 MB / 2.04 GB, free: 37.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/3.631, allocations: 4 kB / 2.04 GB, free: 37.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002179/3.633, allocations: 1.482 MB / 2.041 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/3.633, allocations: 1.488 MB / 2.043 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/3.633, allocations: 4 kB / 2.043 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/3.636, allocations: 0.7728 MB / 2.043 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/3.636, allocations: 119.8 kB / 2.044 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/3.638, allocations: 2.367 MB / 2.046 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/3.639, allocations: 107.8 kB / 2.046 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/3.639, allocations: 47.98 kB / 2.046 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/3.639, allocations: 4 kB / 2.046 GB, free: 30.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/3.641, allocations: 1.365 MB / 2.047 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/3.641, allocations: 4 kB / 2.047 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/3.643, allocations: 0.5864 MB / 2.048 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/3.644, allocations: 147.8 kB / 2.048 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/3.646, allocations: 2.671 MB / 2.051 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/3.646, allocations: 99.94 kB / 2.051 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/3.646, allocations: 47.98 kB / 2.051 GB, free: 25.92 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CombustionChamber1.M:DUMMY_STATE(min = 0.0 unit = "kg" ) "Gas total mass" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002301/3.647, allocations: 120.8 kB / 2.051 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/3.647, allocations: 71.25 kB / 2.051 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/3.649, allocations: 1.198 MB / 2.052 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/3.649, allocations: 8 kB / 2.052 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.649, allocations: 8 kB / 2.052 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/3.649, allocations: 5.953 kB / 2.052 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/3.651, allocations: 2.162 MB / 2.054 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/3.651, allocations: 4 kB / 2.054 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/3.652, allocations: 187.7 kB / 2.054 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/3.653, allocations: 253.5 kB / 2.055 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/3.653, allocations: 31.97 kB / 2.055 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/3.655, allocations: 2.847 MB / 2.058 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.655, allocations: 0 / 2.058 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001977/3.657, allocations: 1.697 MB / 2.059 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/3.657, allocations: 140.3 kB / 2.059 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/3.657, allocations: 12 kB / 2.059 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/3.658, allocations: 99.8 kB / 2.059 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/3.658, allocations: 44.58 kB / 2.059 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/3.658, allocations: 67.94 kB / 2.06 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002287/3.658, allocations: 307.2 kB / 2.06 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001731/3.66, allocations: 0.6406 MB / 2.06 GB, free: 15.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (CombustionChamber1.fluegas.p,CombustionChamber1.fluegas.Xi[2],CombustionChamber1.fluegas.Xi[3],CombustionChamber1.fluegas.Xi[4],CombustionChamber1.fluegas.Xi[5],CombustionChamber1.fluegas.T,CombustionChamber1.fluegas.R) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002869/3.663, allocations: 1.631 MB / 2.062 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002897/3.666, allocations: 1.922 MB / 2.064 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/3.666, allocations: 5.688 kB / 2.064 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/3.667, allocations: 0.6715 MB / 2.065 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/3.668, allocations: 290.7 kB / 2.065 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/3.671, allocations: 1.887 MB / 2.067 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/3.672, allocations: 1.214 MB / 2.068 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/3.672, allocations: 0 / 2.068 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of Templates: time 0.187/3.859, allocations: 35.01 MB / 2.102 GB, free: 130.8 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCC.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe 2>&1)