Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",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.00105/0.00105, allocations: 182.3 kB / 8.131 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 0.9989/0.9989, 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.0008084/0.0008084, allocations: 79.41 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3191/0.3191, allocations: 48.75 MB / 358.4 MB, free: 53.14 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.08515/0.4042, allocations: 66.38 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.4921, allocations: 60.25 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.27/4.763, allocations: 2.907 GB / 3.381 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/4.763, allocations: 74.05 kB / 3.381 GB, free: 134.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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.9119/5.675, allocations: 340.2 MB / 3.713 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/5.675, allocations: 16 kB / 3.714 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/5.675, allocations: 63.5 kB / 3.714 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/5.676, allocations: 347.2 kB / 3.714 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/5.676, allocations: 15.91 kB / 3.714 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/5.676, allocations: 20 kB / 3.714 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003248/5.676, allocations: 173.2 kB / 3.714 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/5.677, allocations: 316.3 kB / 3.714 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/5.677, allocations: 0 / 3.714 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/5.677, allocations: 4 kB / 3.714 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/5.677, allocations: 8 kB / 3.714 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/5.678, allocations: 1.7 MB / 3.716 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/5.678, allocations: 114 kB / 3.716 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/5.679, allocations: 60.77 kB / 3.716 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3244/6.003, allocations: 64.03 MB / 3.779 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/6.003, allocations: 33.81 kB / 3.779 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.635e-06/6.003, allocations: 3.625 kB / 3.779 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0009548/6.004, allocations: 258.3 kB / 3.779 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/6.004, allocations: 51.41 kB / 3.779 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/6.004, allocations: 240.2 kB / 3.779 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/6.004, allocations: 26.27 kB / 3.779 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/6.005, allocations: 182.2 kB / 3.78 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/6.005, allocations: 68.31 kB / 3.78 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/6.005, allocations: 3.062 kB / 3.78 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/6.005, allocations: 334.3 kB / 3.78 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/6.005, allocations: 53.44 kB / 3.78 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/6.005, allocations: 108.7 kB / 3.78 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/6.005, allocations: 79.3 kB / 3.78 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/6.005, allocations: 5.875 kB / 3.78 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001228/6.006, allocations: 447.1 kB / 3.781 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/6.007, allocations: 0.6169 MB / 3.781 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/6.007, allocations: 0 / 3.781 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/6.007, allocations: 88.39 kB / 3.781 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/6.007, allocations: 53.41 kB / 3.781 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/6.008, allocations: 1.887 MB / 3.783 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/6.009, allocations: 33.88 kB / 3.783 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/6.009, allocations: 11.5 kB / 3.783 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/6.009, allocations: 8.125 kB / 3.783 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008599/6.01, allocations: 317.7 kB / 3.784 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/6.01, allocations: 0 / 3.784 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/6.01, allocations: 81.22 kB / 3.784 GB, free: 81.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/6.01, allocations: 59.59 kB / 3.784 GB, free: 81.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/6.011, allocations: 1.899 MB / 3.786 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/6.011, allocations: 28.42 kB / 3.786 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/6.011, allocations: 10.91 kB / 3.786 GB, free: 79.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/6.012, allocations: 112.9 kB / 3.786 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/6.012, allocations: 101.9 kB / 3.786 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/6.013, allocations: 0.9204 MB / 3.787 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/6.013, allocations: 10.66 kB / 3.787 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/6.013, allocations: 2.875 kB / 3.787 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/6.013, allocations: 0 / 3.787 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/6.013, allocations: 0.5018 MB / 3.787 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/6.013, allocations: 0 / 3.787 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/6.014, allocations: 48.98 kB / 3.787 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.477e-05/6.014, allocations: 24.08 kB / 3.787 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/6.014, allocations: 2.5 kB / 3.787 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006591/6.014, allocations: 1.221 MB / 3.788 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/6.014, allocations: 2.734 kB / 3.788 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009883/6.015, allocations: 0.968 MB / 3.789 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001322/6.017, allocations: 1.554 MB / 3.791 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-05/6.017, allocations: 125.8 kB / 3.791 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/6.017, allocations: 3.406 kB / 3.791 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/6.017, allocations: 11.66 kB / 3.791 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/6.017, allocations: 18.61 kB / 3.791 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/6.017, allocations: 5.812 kB / 3.791 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001438/6.017, allocations: 186.5 kB / 3.791 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007786/6.025, allocations: 1.632 MB / 3.793 GB, free: 77.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01116/6.036, allocations: 2.019 MB / 3.795 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001286/6.038, allocations: 0.7425 MB / 3.796 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/6.038, allocations: 3.844 kB / 3.796 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004396/6.038, allocations: 498.7 kB / 3.796 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/6.039, allocations: 120.3 kB / 3.796 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/6.041, allocations: 0.9952 MB / 3.797 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/6.041, allocations: 0.884 MB / 3.798 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/6.041, allocations: 0 / 3.798 GB, free: 75.74 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST1.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)