Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.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.TestTurboJetConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestTurboJetConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed",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.001018/0.001018, allocations: 182.5 kB / 8.136 MB, free: 2.219 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.009/1.009, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0007907/0.0007907, allocations: 80.28 kB / 261.7 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2784/0.2784, allocations: 48.75 MB / 358.4 MB, free: 53.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08845/0.3669, allocations: 66.36 MB / 424.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.4548, allocations: 60.26 MB / 485.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.519, allocations: 0.7611 GB / 1.235 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/1.519, allocations: 83 kB / 1.235 GB, free: 60.29 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 2.619/4.139, allocations: 0.9718 GB / 2.207 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/4.139, allocations: 9.5 kB / 2.207 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/4.141, allocations: 0.5008 MB / 2.207 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/4.146, allocations: 1.784 MB / 2.209 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/4.146, allocations: 61.09 kB / 2.209 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/4.146, allocations: 115.3 kB / 2.209 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003216/4.15, allocations: 1.83 MB / 2.211 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/4.154, allocations: 2.127 MB / 2.213 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/4.154, allocations: 7.062 kB / 2.213 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/4.154, allocations: 3.094 kB / 2.213 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/4.154, allocations: 69.72 kB / 2.213 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/4.17, allocations: 10.38 MB / 2.223 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/4.171, allocations: 0.5923 MB / 2.224 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/4.172, allocations: 0.5604 MB / 2.224 GB, free: 50 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/4.172, allocations: 301.6 kB / 2.224 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/4.172, allocations: 59.91 kB / 2.225 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 3.327e-06/4.172, allocations: 0 / 2.225 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105): time 0.01147/4.184, allocations: 4.325 MB / 2.229 GB, free: 47.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/4.184, allocations: 163.5 kB / 2.229 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/4.188, allocations: 2.438 MB / 2.231 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002553/4.188, allocations: 28.27 kB / 2.231 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/4.189, allocations: 0.8189 MB / 2.232 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/4.189, allocations: 372.4 kB / 2.232 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/4.189, allocations: 0 / 2.232 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/4.189, allocations: 354.6 kB / 2.233 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/4.19, allocations: 0.6936 MB / 2.234 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/4.191, allocations: 0.9474 MB / 2.234 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/4.193, allocations: 0.7571 MB / 2.235 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/4.193, allocations: 3.062 kB / 2.235 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00455/4.197, allocations: 2.358 MB / 2.237 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006325/4.198, allocations: 3.316 MB / 2.241 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/4.198, allocations: 8.188 kB / 2.241 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/4.202, allocations: 1.162 MB / 2.242 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/4.203, allocations: 213.8 kB / 2.242 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/4.207, allocations: 2.892 MB / 2.245 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/4.209, allocations: 127 kB / 2.245 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/4.209, allocations: 83.11 kB / 2.245 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/4.209, allocations: 7.625 kB / 2.245 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003439/4.212, allocations: 1.901 MB / 2.247 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/4.212, allocations: 11.84 kB / 2.247 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/4.215, allocations: 0.8182 MB / 2.248 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/4.216, allocations: 251.7 kB / 2.248 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/4.219, allocations: 3.579 MB / 2.252 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/4.221, allocations: 124 kB / 2.252 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/4.221, allocations: 79.12 kB / 2.252 GB, free: 32.99 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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 {15 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006224/4.222, allocations: 140.3 kB / 2.252 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007564/4.223, allocations: 221.4 kB / 2.252 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/4.226, allocations: 1.917 MB / 2.254 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/4.226, allocations: 12 kB / 2.254 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/4.226, allocations: 0 / 2.254 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/4.226, allocations: 6.75 kB / 2.254 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/4.234, allocations: 4.068 MB / 2.258 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/4.234, allocations: 4.656 kB / 2.258 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/4.236, allocations: 232.7 kB / 2.258 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/4.237, allocations: 491 kB / 2.259 GB, free: 27.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/4.238, allocations: 27.92 kB / 2.259 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/4.241, allocations: 4.381 MB / 2.263 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/4.241, allocations: 0 / 2.263 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004474/4.245, allocations: 2.495 MB / 2.265 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005038/4.25, allocations: 3.737 MB / 2.269 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/4.251, allocations: 414.3 kB / 2.269 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/4.252, allocations: 12 kB / 2.269 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/4.254, allocations: 122.8 kB / 2.27 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/4.254, allocations: 68.23 kB / 2.27 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/4.254, allocations: 99.89 kB / 2.27 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002543/4.257, allocations: 1.838 MB / 2.271 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005796/4.263, allocations: 1.47 MB / 2.273 GB, free: 12.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (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,CombustionChamber1.Tm,ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {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: 2 {3 15,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.004887/4.268, allocations: 2.142 MB / 2.275 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004903/4.273, allocations: 2.877 MB / 2.278 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/4.273, allocations: 6.656 kB / 2.278 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/4.274, allocations: 0.9137 MB / 2.279 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/4.278, allocations: 0.5835 MB / 2.279 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/4.287, allocations: 4.281 MB / 2.283 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/4.288, allocations: 2.035 MB / 2.285 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/4.288, allocations: 0 / 2.285 GB, free: 0.6406 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestTurboJetConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestTurboJetConstSpeed.pipe 2>&1)