Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",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.001059/0.001059, allocations: 182.8 kB / 8.138 MB, free: 2.223 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.036/1.036, 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.000814/0.000814, allocations: 87.64 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.2883/0.2883, allocations: 48.75 MB / 358.4 MB, free: 53.38 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 0.1008/0.3891, allocations: 66.37 MB / 424.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.4875, allocations: 60.26 MB / 485.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.531/5.018, allocations: 2.917 GB / 3.391 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/5.019, allocations: 74.14 kB / 3.391 GB, free: 129.9 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.8405/5.859, allocations: 297.3 MB / 3.681 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/5.859, allocations: 8 kB / 3.681 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/5.86, allocations: 66.09 kB / 3.681 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/5.86, allocations: 332.4 kB / 3.681 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/5.86, allocations: 8.703 kB / 3.681 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/5.86, allocations: 19.94 kB / 3.681 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002819/5.86, allocations: 141.1 kB / 3.682 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/5.861, allocations: 281 kB / 3.682 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/5.861, allocations: 7.844 kB / 3.682 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/5.861, allocations: 0.6094 kB / 3.682 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/5.861, allocations: 8 kB / 3.682 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/5.863, allocations: 1.439 MB / 3.683 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/5.863, allocations: 133.1 kB / 3.683 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/5.863, allocations: 37.66 kB / 3.683 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.306/6.169, allocations: 64.04 MB / 3.746 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/6.169, allocations: 40.5 kB / 3.746 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.936e-06/6.169, allocations: 0 / 3.746 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0008608/6.17, allocations: 213.6 kB / 3.746 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/6.17, allocations: 51.41 kB / 3.746 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/6.171, allocations: 237.4 kB / 3.746 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/6.171, allocations: 25.7 kB / 3.747 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/6.171, allocations: 180.2 kB / 3.747 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/6.171, allocations: 43.73 kB / 3.747 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/6.171, allocations: 7.344 kB / 3.747 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/6.171, allocations: 340 kB / 3.747 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/6.171, allocations: 38.19 kB / 3.747 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/6.171, allocations: 96.5 kB / 3.747 GB, free: 114.2 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/6.172, allocations: 227 kB / 3.747 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/6.172, allocations: 0 / 3.747 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006172/6.172, allocations: 264.1 kB / 3.748 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/6.172, allocations: 2.812 kB / 3.748 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/6.172, allocations: 3 kB / 3.748 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/6.172, allocations: 26.5 kB / 3.748 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/6.173, allocations: 48.84 kB / 3.748 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008221/6.173, allocations: 1.231 MB / 3.749 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/6.174, allocations: 23.2 kB / 3.749 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/6.174, allocations: 17.47 kB / 3.749 GB, free: 112.9 MB / 0.5105 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: Inertia1.a = $START.Inertia1.a Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/6.174, allocations: 111.9 kB / 3.749 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/6.174, allocations: 79.45 kB / 3.749 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/6.175, allocations: 0.6516 MB / 3.75 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/6.175, allocations: 6.203 kB / 3.75 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/6.175, allocations: 3.906 kB / 3.75 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/6.175, allocations: 3.469 kB / 3.75 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/6.176, allocations: 1.064 MB / 3.751 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/6.176, allocations: 0 / 3.751 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/6.176, allocations: 38.41 kB / 3.751 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.433e-05/6.176, allocations: 25.45 kB / 3.751 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/6.176, allocations: 4.344 kB / 3.751 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006233/6.177, allocations: 1.226 MB / 3.752 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/6.177, allocations: 0 / 3.752 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007901/6.178, allocations: 0.7212 MB / 3.753 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001144/6.179, allocations: 1.272 MB / 3.754 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/6.179, allocations: 114.5 kB / 3.754 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/6.179, allocations: 0 / 3.754 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/6.179, allocations: 18 kB / 3.754 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/6.18, allocations: 9.203 kB / 3.754 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/6.18, allocations: 7.281 kB / 3.754 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001458/6.18, allocations: 191.7 kB / 3.754 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006454/6.186, allocations: 1.399 MB / 3.756 GB, free: 110.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/6.197, allocations: 1.948 MB / 3.758 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006806/6.198, allocations: 389.8 kB / 3.758 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/6.198, allocations: 0 / 3.758 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/6.198, allocations: 377.4 kB / 3.758 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/6.199, allocations: 108 kB / 3.758 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/6.2, allocations: 0.7746 MB / 3.759 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/6.201, allocations: 0.8583 MB / 3.76 GB, free: 109 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/6.201, allocations: 0 / 3.76 GB, free: 109 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)