Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",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.000918/0.000918, allocations: 186 kB / 8.132 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.012/1.012, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008259/0.0008259, allocations: 91 kB / 261.7 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2797/0.2797, allocations: 48.75 MB / 358.4 MB, free: 53.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09235/0.3721, allocations: 66.36 MB / 424.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.4618, allocations: 60.26 MB / 485.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.528, allocations: 0.7173 GB / 1.191 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/1.528, allocations: 79.95 kB / 1.191 GB, free: 105.4 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.5214/2.05, allocations: 203.5 MB / 1.39 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/2.05, allocations: 9.219 kB / 1.39 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009156/2.051, allocations: 150.9 kB / 1.39 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/2.052, allocations: 0.675 MB / 1.391 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/2.052, allocations: 20.81 kB / 1.391 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/2.052, allocations: 32.03 kB / 1.391 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006654/2.053, allocations: 423.7 kB / 1.391 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/2.054, allocations: 0.5056 MB / 1.392 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/2.054, allocations: 0 / 1.392 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/2.054, allocations: 7.984 kB / 1.392 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/2.054, allocations: 12 kB / 1.392 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/2.057, allocations: 2.208 MB / 1.394 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/2.057, allocations: 101.7 kB / 1.394 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/2.057, allocations: 52.98 kB / 1.394 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/2.057, allocations: 110 kB / 1.394 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/2.057, allocations: 38.56 kB / 1.394 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/2.057, allocations: 4 kB / 1.394 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003661/2.058, allocations: 196.9 kB / 1.394 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/2.058, allocations: 51.41 kB / 1.394 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009062/2.059, allocations: 0.957 MB / 1.395 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/2.059, allocations: 29.7 kB / 1.395 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/2.059, allocations: 346.5 kB / 1.396 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/2.059, allocations: 55.25 kB / 1.396 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/2.059, allocations: 0 / 1.396 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/2.059, allocations: 326 kB / 1.396 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/2.059, allocations: 117.6 kB / 1.396 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/2.059, allocations: 236.8 kB / 1.396 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/2.059, allocations: 132.8 kB / 1.396 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.059, allocations: 3.984 kB / 1.396 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005299/2.06, allocations: 414.9 kB / 1.397 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/2.06, allocations: 11.94 kB / 1.397 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.06, allocations: 4 kB / 1.397 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/2.06, allocations: 11.98 kB / 1.397 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/2.06, allocations: 99.83 kB / 1.397 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002267/2.061, allocations: 0.6138 MB / 1.398 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/2.061, allocations: 43.53 kB / 1.398 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/2.061, allocations: 23.98 kB / 1.398 GB, free: 101 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000117/2.061, allocations: 122.1 kB / 1.398 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/2.061, allocations: 79.16 kB / 1.398 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/2.062, allocations: 220 kB / 1.398 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/2.062, allocations: 0 / 1.398 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/2.062, allocations: 3.906 kB / 1.398 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/2.062, allocations: 4 kB / 1.398 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/2.062, allocations: 0.5127 MB / 1.398 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/2.062, allocations: 0 / 1.398 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/2.062, allocations: 43.88 kB / 1.399 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/2.062, allocations: 4 kB / 1.399 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/2.062, allocations: 8 kB / 1.399 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001692/2.063, allocations: 0.5977 MB / 1.399 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.063, allocations: 0 / 1.399 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003273/2.063, allocations: 356.3 kB / 1.399 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000491/2.064, allocations: 0.8158 MB / 1.4 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/2.064, allocations: 200.1 kB / 1.4 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/2.064, allocations: 3.984 kB / 1.4 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/2.064, allocations: 15.98 kB / 1.4 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/2.064, allocations: 7.922 kB / 1.4 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/2.064, allocations: 24.05 kB / 1.401 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006406/2.065, allocations: 0.7256 MB / 1.401 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001469/2.066, allocations: 363.4 kB / 1.402 GB, free: 96.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001534/2.068, allocations: 1.081 MB / 1.403 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003742/2.068, allocations: 223.8 kB / 1.403 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/2.068, allocations: 4 kB / 1.403 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/2.068, allocations: 63.92 kB / 1.403 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/2.069, allocations: 152 kB / 1.403 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/2.071, allocations: 1.108 MB / 1.404 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/2.071, allocations: 1.075 MB / 1.405 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/2.071, allocations: 4 kB / 1.405 GB, free: 93.17 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)