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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",fmuType="me",version="2.0",platforms={"static"}) [: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.0009847/0.0009847, allocations: 179.8 kB / 8.135 MB, free: 2.133 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.007/1.007, allocations: 205.2 MB / 213.7 MB, free: 13.77 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.0008439/0.0008438, allocations: 93.16 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2767/0.2767, allocations: 48.76 MB / 358.5 MB, free: 53.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09043/0.3672, allocations: 66.37 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.4597, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.541, allocations: 0.754 GB / 1.228 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000161/1.541, allocations: 79.95 kB / 1.228 GB, free: 67.88 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 2.032/3.573, allocations: 0.7955 GB / 2.023 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/3.573, allocations: 10.34 kB / 2.023 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/3.574, allocations: 238.4 kB / 2.023 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/3.575, allocations: 0.6857 MB / 2.024 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/3.575, allocations: 36 kB / 2.024 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/3.576, allocations: 79.89 kB / 2.024 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/3.578, allocations: 1.094 MB / 2.025 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/3.58, allocations: 1.38 MB / 2.027 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/3.58, allocations: 5.312 kB / 2.027 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/3.58, allocations: 4 kB / 2.027 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/3.58, allocations: 46.2 kB / 2.027 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006933/3.587, allocations: 6.42 MB / 2.033 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/3.588, allocations: 0.4969 MB / 2.033 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/3.588, allocations: 345.7 kB / 2.034 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/3.588, allocations: 10.84 kB / 2.034 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/3.588, allocations: 47.06 kB / 2.034 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 2.805e-06/3.588, allocations: 0 / 2.034 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.00777/3.596, allocations: 3.072 MB / 2.037 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/3.596, allocations: 111.5 kB / 2.037 GB, free: 38.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/3.596, allocations: 401 kB / 2.037 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/3.596, allocations: 26.25 kB / 2.037 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/3.597, allocations: 446.6 kB / 2.038 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/3.597, allocations: 240.5 kB / 2.038 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/3.597, allocations: 0 / 2.038 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/3.597, allocations: 370.8 kB / 2.038 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/3.597, allocations: 437.8 kB / 2.039 GB, free: 36.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/3.598, allocations: 0.5799 MB / 2.039 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/3.599, allocations: 0.5002 MB / 2.04 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/3.599, allocations: 4 kB / 2.04 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002361/3.601, allocations: 1.475 MB / 2.041 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003479/3.601, allocations: 1.488 MB / 2.043 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/3.601, allocations: 7.938 kB / 2.043 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/3.604, allocations: 0.7728 MB / 2.044 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/3.604, allocations: 119.8 kB / 2.044 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/3.607, allocations: 2.364 MB / 2.046 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/3.607, allocations: 111.8 kB / 2.046 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/3.608, allocations: 47.98 kB / 2.046 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/3.608, allocations: 4 kB / 2.046 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/3.61, allocations: 1.372 MB / 2.047 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/3.61, allocations: 4 kB / 2.047 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/3.612, allocations: 0.5787 MB / 2.048 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/3.612, allocations: 143.8 kB / 2.048 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/3.614, allocations: 2.675 MB / 2.051 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/3.615, allocations: 111.9 kB / 2.051 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/3.615, allocations: 47.98 kB / 2.051 GB, free: 23.42 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.0003009/3.615, allocations: 120.8 kB / 2.051 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/3.616, allocations: 71.23 kB / 2.051 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/3.617, allocations: 1.199 MB / 2.052 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/3.617, allocations: 4 kB / 2.052 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/3.617, allocations: 4 kB / 2.052 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/3.617, allocations: 7.984 kB / 2.052 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/3.62, allocations: 2.155 MB / 2.054 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/3.62, allocations: 6.297 kB / 2.054 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/3.621, allocations: 187.8 kB / 2.055 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/3.622, allocations: 261.4 kB / 2.055 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/3.622, allocations: 27.97 kB / 2.055 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/3.624, allocations: 2.846 MB / 2.058 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/3.624, allocations: 4.031 kB / 2.058 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002083/3.626, allocations: 1.682 MB / 2.059 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002666/3.629, allocations: 2.646 MB / 2.062 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/3.629, allocations: 137.8 kB / 2.062 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/3.629, allocations: 15.91 kB / 2.062 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/3.63, allocations: 92.67 kB / 2.062 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/3.63, allocations: 52.5 kB / 2.062 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/3.63, allocations: 71.92 kB / 2.062 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002472/3.631, allocations: 299.2 kB / 2.063 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003119/3.634, allocations: 0.8436 MB / 2.063 GB, free: 10.36 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.003082/3.637, allocations: 1.62 MB / 2.065 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003187/3.64, allocations: 1.914 MB / 2.067 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/3.64, allocations: 6.125 kB / 2.067 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008861/3.641, allocations: 0.6707 MB / 2.067 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/3.642, allocations: 300.7 kB / 2.068 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/3.646, allocations: 1.888 MB / 2.07 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000886/3.647, allocations: 1.234 MB / 2.071 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/3.647, allocations: 4 kB / 2.071 GB, free: 2.836 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCC_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCC.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe 2>&1)