Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.001289/0.001289, allocations: 192.1 kB / 7.804 MB, free: 2.5 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.635/1.635, allocations: 205.2 MB / 213.4 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.0008997/0.0008996, allocations: 91.59 kB / 261.4 MB, free: 13.56 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.2337/0.2337, allocations: 43.49 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2458/0.4795, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.9001, allocations: 58.84 MB / 476.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.805/7.705, allocations: 2.786 GB / 3.251 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/7.705, allocations: 91.09 kB / 3.251 GB, free: 70.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 1.72/9.425, allocations: 438.2 MB / 3.679 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/9.425, allocations: 8 kB / 3.679 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/9.428, allocations: 374.6 kB / 3.68 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/9.43, allocations: 0.5784 MB / 3.68 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/9.431, allocations: 28 kB / 3.68 GB, free: 17.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/9.431, allocations: 32 kB / 3.68 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00125/9.432, allocations: 0.5532 MB / 3.681 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/9.433, allocations: 0.6778 MB / 3.682 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/9.433, allocations: 0 / 3.682 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/9.433, allocations: 11.94 kB / 3.682 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/9.433, allocations: 21.31 kB / 3.682 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4161/9.849, allocations: 44.5 MB / 3.725 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/9.85, allocations: 312.4 kB / 3.725 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/9.851, allocations: 208.3 kB / 3.726 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07075/9.922, allocations: 24.21 MB / 3.749 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/9.922, allocations: 49.34 kB / 3.749 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 4.409e-06/9.922, allocations: 0 / 3.749 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.004434/9.926, allocations: 0.8254 MB / 3.75 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/9.926, allocations: 110 kB / 3.75 GB, free: 89.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/9.927, allocations: 403.5 kB / 3.751 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/9.927, allocations: 25.7 kB / 3.751 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/9.927, allocations: 299.4 kB / 3.751 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/9.927, allocations: 139.3 kB / 3.751 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/9.928, allocations: 3.812 kB / 3.751 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001341/9.928, allocations: 369.8 kB / 3.751 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/9.928, allocations: 192.1 kB / 3.752 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/9.929, allocations: 377 kB / 3.752 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/9.931, allocations: 339.8 kB / 3.752 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/9.931, allocations: 3.906 kB / 3.752 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004572/9.935, allocations: 1.053 MB / 3.753 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005938/9.936, allocations: 2.003 MB / 3.755 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/9.936, allocations: 7.688 kB / 3.755 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/9.937, allocations: 183.6 kB / 3.755 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/9.938, allocations: 147.5 kB / 3.756 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/9.94, allocations: 0.8929 MB / 3.756 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/9.941, allocations: 130.2 kB / 3.757 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/9.942, allocations: 34.95 kB / 3.757 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/9.942, allocations: 7.25 kB / 3.757 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003982/9.946, allocations: 0.7558 MB / 3.757 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/9.946, allocations: 6.844 kB / 3.757 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/9.947, allocations: 177.3 kB / 3.758 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/9.948, allocations: 149.9 kB / 3.758 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/9.949, allocations: 0.7778 MB / 3.758 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/9.95, allocations: 107.5 kB / 3.759 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/9.95, allocations: 33.45 kB / 3.759 GB, free: 85.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003492/9.95, allocations: 121.2 kB / 3.759 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/9.952, allocations: 269.4 kB / 3.759 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/9.957, allocations: 2.545 MB / 3.761 GB, free: 84.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/9.957, allocations: 29.12 kB / 3.761 GB, free: 84.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/9.957, allocations: 1.641 kB / 3.761 GB, free: 84.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/9.957, allocations: 3.797 kB / 3.761 GB, free: 84.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/9.964, allocations: 3.215 MB / 3.765 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/9.964, allocations: 7.094 kB / 3.765 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/9.964, allocations: 70.64 kB / 3.765 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/9.966, allocations: 0.6624 MB / 3.765 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/9.966, allocations: 18 kB / 3.765 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/9.968, allocations: 1.268 MB / 3.767 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/9.968, allocations: 0 / 3.767 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005243/9.974, allocations: 1.991 MB / 3.768 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005278/9.979, allocations: 2.445 MB / 3.771 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007022/9.98, allocations: 268.8 kB / 3.771 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/9.98, allocations: 6.875 kB / 3.771 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/9.981, allocations: 70.14 kB / 3.771 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/9.981, allocations: 46.86 kB / 3.771 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/9.981, allocations: 23 kB / 3.771 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006796/9.982, allocations: 382.7 kB / 3.772 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01269/9.994, allocations: 1.714 MB / 3.773 GB, free: 82.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/10.01, allocations: 1.874 MB / 3.775 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003734/10.01, allocations: 1.353 MB / 3.776 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/10.01, allocations: 1.688 kB / 3.776 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/10.01, allocations: 0.913 MB / 3.777 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/10.02, allocations: 258.2 kB / 3.778 GB, free: 82.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/10.02, allocations: 1.586 MB / 3.779 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/10.02, allocations: 1.13 MB / 3.78 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/10.02, allocations: 0 / 3.78 GB, free: 81.48 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)