Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 178.2 kB / 8.52 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 87.98 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2398/0.4371, allocations: 68.05 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.5663, allocations: 61.9 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7443/1.311, allocations: 321.7 MB / 0.8083 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/1.311, allocations: 93.89 kB / 0.8084 GB, free: 67.26 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.5158/1.827, allocations: 169.5 MB / 0.974 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/1.827, allocations: 13.44 kB / 0.974 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/1.827, allocations: 98.95 kB / 0.9741 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.829, allocations: 0.6164 MB / 0.9747 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/1.829, allocations: 19.94 kB / 0.9747 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/1.829, allocations: 28 kB / 0.9747 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/1.83, allocations: 0.6156 MB / 0.9753 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/1.831, allocations: 0.6664 MB / 0.976 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.831, allocations: 0 / 0.976 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/1.831, allocations: 4 kB / 0.976 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/1.831, allocations: 24.98 kB / 0.976 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/1.835, allocations: 3.16 MB / 0.9791 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/1.836, allocations: 380.5 kB / 0.9794 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/1.836, allocations: 249.5 kB / 0.9797 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/1.836, allocations: 0.567 MB / 0.9802 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.836, allocations: 50.55 kB / 0.9803 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/1.836, allocations: 0 / 0.9803 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.03254/1.869, allocations: 5.273 MB / 0.9854 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.869, allocations: 115.4 kB / 0.9855 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/1.87, allocations: 455.3 kB / 0.986 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.87, allocations: 29.7 kB / 0.986 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.87, allocations: 283.8 kB / 0.9863 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/1.87, allocations: 216.8 kB / 0.9865 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/1.87, allocations: 0 / 0.9865 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/1.87, allocations: 374.8 kB / 0.9868 GB, free: 105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/1.871, allocations: 281.5 kB / 0.9871 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/1.871, allocations: 460.2 kB / 0.9875 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/1.875, allocations: 0.7016 MB / 0.9882 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.875, allocations: 0 / 0.9882 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004705/1.879, allocations: 1.379 MB / 0.9896 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005261/1.88, allocations: 2.013 MB / 0.9915 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.88, allocations: 8 kB / 0.9916 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004645/1.884, allocations: 0.7532 MB / 0.9923 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/1.885, allocations: 211.7 kB / 0.9925 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/1.89, allocations: 1.936 MB / 0.9944 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.891, allocations: 104 kB / 0.9945 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.892, allocations: 55.95 kB / 0.9945 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.892, allocations: 4 kB / 0.9945 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004384/1.896, allocations: 1.093 MB / 0.9956 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.896, allocations: 8 kB / 0.9956 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/1.898, allocations: 289.9 kB / 0.9959 GB, free: 95.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/1.899, allocations: 227.7 kB / 0.9961 GB, free: 95.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/1.905, allocations: 4.603 MB / 1.001 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.906, allocations: 91.83 kB / 1.001 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.906, allocations: 51.95 kB / 1.001 GB, free: 90.18 MB / 0.5105 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.0003246/1.907, allocations: 116.9 kB / 1.001 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.907, allocations: 75.06 kB / 1.001 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/1.911, allocations: 1.542 MB / 1.002 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.911, allocations: 12 kB / 1.002 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.911, allocations: 0 / 1.002 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.911, allocations: 3.984 kB / 1.002 GB, free: 88.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/1.916, allocations: 2.213 MB / 1.005 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.916, allocations: 0 / 1.005 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/1.917, allocations: 163.8 kB / 1.005 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/1.919, allocations: 0.4971 MB / 1.005 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/1.919, allocations: 15.98 kB / 1.005 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/1.921, allocations: 1.628 MB / 1.007 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.921, allocations: 8 kB / 1.007 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003651/1.924, allocations: 1.639 MB / 1.008 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004246/1.929, allocations: 2.433 MB / 1.011 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/1.929, allocations: 251.9 kB / 1.011 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.929, allocations: 0 / 1.011 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/1.93, allocations: 91.89 kB / 1.011 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.931, allocations: 60.62 kB / 1.011 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/1.931, allocations: 35.97 kB / 1.011 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004131/1.931, allocations: 355.2 kB / 1.012 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003537/1.935, allocations: 0.7144 MB / 1.012 GB, free: 78.2 MB / 0.5105 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.001565/1.936, allocations: 0.5596 MB / 1.013 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004023/1.94, allocations: 1.411 MB / 1.014 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.94, allocations: 0 / 1.014 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007107/1.941, allocations: 417.4 kB / 1.015 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.942, allocations: 281.1 kB / 1.015 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.945, allocations: 1.146 MB / 1.016 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/1.945, allocations: 1.082 MB / 1.017 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of SimCode: time 9.81e-07/1.945, allocations: 0 / 1.017 GB, free: 73.3 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)