Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",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.001602/0.001602, allocations: 187 kB / 7.803 MB, free: 2.496 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.568/1.568, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001129/0.001129, allocations: 90.45 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2238/0.2238, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3442/0.568, allocations: 64.97 MB / 417.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.7148, allocations: 58.84 MB / 476.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9388/1.654, allocations: 320.3 MB / 0.7782 GB, free: 64.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.654, allocations: 84.33 kB / 0.7783 GB, free: 64.75 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.7033/2.357, allocations: 166.1 MB / 0.9406 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/2.357, allocations: 11.06 kB / 0.9406 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/2.358, allocations: 99.64 kB / 0.9407 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/2.36, allocations: 0.6207 MB / 0.9413 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/2.36, allocations: 16.03 kB / 0.9413 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/2.361, allocations: 28.72 kB / 0.9413 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/2.362, allocations: 0.6163 MB / 0.9419 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/2.363, allocations: 0.6643 MB / 0.9426 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/2.363, allocations: 6.906 kB / 0.9426 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/2.363, allocations: 3.188 kB / 0.9426 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/2.363, allocations: 23.2 kB / 0.9426 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/2.368, allocations: 3.162 MB / 0.9457 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/2.369, allocations: 373.7 kB / 0.946 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/2.369, allocations: 255.8 kB / 0.9463 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/2.37, allocations: 0.5725 MB / 0.9468 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/2.37, allocations: 41.53 kB / 0.9469 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.484e-06/2.37, allocations: 3.188 kB / 0.9469 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.03439/2.404, allocations: 5.276 MB / 0.952 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/2.404, allocations: 115.5 kB / 0.9521 GB, free: 107 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/2.405, allocations: 459.3 kB / 0.9526 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/2.405, allocations: 25.7 kB / 0.9526 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/2.405, allocations: 291.7 kB / 0.9529 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/2.406, allocations: 204.9 kB / 0.9531 GB, free: 106 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/2.406, allocations: 0 / 0.9531 GB, free: 106 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.406, allocations: 378.8 kB / 0.9534 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/2.406, allocations: 277.5 kB / 0.9537 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/2.407, allocations: 468.2 kB / 0.9542 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/2.41, allocations: 0.7055 MB / 0.9548 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/2.41, allocations: 4 kB / 0.9548 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004739/2.415, allocations: 1.383 MB / 0.9562 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004896/2.415, allocations: 2.012 MB / 0.9582 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/2.415, allocations: 4 kB / 0.9582 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/2.42, allocations: 0.743 MB / 0.9589 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/2.421, allocations: 211.7 kB / 0.9591 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004732/2.426, allocations: 1.937 MB / 0.961 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/2.427, allocations: 103.9 kB / 0.9611 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/2.427, allocations: 59.95 kB / 0.9611 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/2.427, allocations: 4 kB / 0.9611 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004767/2.432, allocations: 1.089 MB / 0.9622 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/2.432, allocations: 8.406 kB / 0.9622 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/2.434, allocations: 290.5 kB / 0.9625 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009034/2.435, allocations: 219.7 kB / 0.9627 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/2.442, allocations: 4.614 MB / 0.9672 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/2.443, allocations: 91.89 kB / 0.9673 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/2.443, allocations: 43.97 kB / 0.9673 GB, free: 90.83 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004676/2.444, allocations: 122.2 kB / 0.9675 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/2.444, allocations: 79.06 kB / 0.9675 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/2.449, allocations: 1.537 MB / 0.969 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/2.449, allocations: 15.98 kB / 0.969 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/2.449, allocations: 0 / 0.969 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/2.449, allocations: 3.984 kB / 0.969 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/2.454, allocations: 2.219 MB / 0.9712 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/2.454, allocations: 0 / 0.9712 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/2.455, allocations: 159.8 kB / 0.9714 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/2.457, allocations: 0.5037 MB / 0.9719 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/2.457, allocations: 15.98 kB / 0.9719 GB, free: 86.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/2.459, allocations: 1.628 MB / 0.9735 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.459, allocations: 0 / 0.9735 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003901/2.463, allocations: 1.642 MB / 0.9751 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004726/2.467, allocations: 2.429 MB / 0.9774 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/2.468, allocations: 247.9 kB / 0.9777 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/2.468, allocations: 3.984 kB / 0.9777 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/2.469, allocations: 95.83 kB / 0.9778 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/2.469, allocations: 56.69 kB / 0.9778 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/2.47, allocations: 43.97 kB / 0.9779 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005516/2.47, allocations: 351.2 kB / 0.9782 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004256/2.474, allocations: 0.7144 MB / 0.9789 GB, free: 78.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/2.476, allocations: 0.5507 MB / 0.9794 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004326/2.481, allocations: 1.408 MB / 0.9808 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.481, allocations: 0 / 0.9808 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008002/2.482, allocations: 418.6 kB / 0.9812 GB, free: 76.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/2.483, allocations: 282.6 kB / 0.9815 GB, free: 76.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/2.487, allocations: 1.156 MB / 0.9826 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/2.487, allocations: 1.078 MB / 0.9837 GB, free: 73.91 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/2.487, allocations: 0 / 0.9837 GB, free: 73.91 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)