Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001622/0.001622, allocations: 178.2 kB / 8.519 MB, free: 1.824 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.269/1.269, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.001012/0.001012, allocations: 83.5 kB / 281.2 MB, free: 5.52 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.1724/0.1724, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.396, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.4994, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.233, allocations: 2.77 GB / 3.264 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/5.233, allocations: 84.53 kB / 3.264 GB, free: 4.266 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 1.517/6.75, allocations: 423.1 MB / 3.677 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/6.75, allocations: 16.72 kB / 3.677 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/6.752, allocations: 320.5 kB / 3.677 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/6.753, allocations: 0.5314 MB / 3.678 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/6.753, allocations: 23.56 kB / 3.678 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/6.753, allocations: 29.91 kB / 3.678 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008117/6.754, allocations: 0.5147 MB / 3.678 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/6.755, allocations: 0.6423 MB / 3.679 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/6.755, allocations: 1.969 kB / 3.679 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/6.755, allocations: 7 kB / 3.679 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/6.755, allocations: 26.73 kB / 3.679 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07748/6.832, allocations: 44.26 MB / 3.722 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/6.833, allocations: 344.3 kB / 3.723 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/6.834, allocations: 191.6 kB / 3.723 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04566/6.879, allocations: 24.08 MB / 3.746 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/6.879, allocations: 38.45 kB / 3.746 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.737e-06/6.879, allocations: 0 / 3.746 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002891/6.882, allocations: 0.8127 MB / 3.747 GB, free: 20.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/6.882, allocations: 106.6 kB / 3.747 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/6.883, allocations: 369.6 kB / 3.748 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/6.883, allocations: 26.92 kB / 3.748 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/6.883, allocations: 280.3 kB / 3.748 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/6.883, allocations: 125.3 kB / 3.748 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/6.883, allocations: 4 kB / 3.748 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/6.883, allocations: 358.7 kB / 3.748 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/6.883, allocations: 184 kB / 3.748 GB, free: 20 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/6.884, allocations: 344.2 kB / 3.749 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/6.885, allocations: 290.1 kB / 3.749 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/6.885, allocations: 0 / 3.749 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002996/6.888, allocations: 1.019 MB / 3.75 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004054/6.888, allocations: 1.914 MB / 3.752 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/6.888, allocations: 3.812 kB / 3.752 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/6.889, allocations: 179.7 kB / 3.752 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/6.889, allocations: 130.5 kB / 3.752 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/6.891, allocations: 0.8228 MB / 3.753 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/6.891, allocations: 115.8 kB / 3.753 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/6.892, allocations: 41.39 kB / 3.753 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/6.892, allocations: 3.656 kB / 3.753 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002356/6.894, allocations: 0.7006 MB / 3.754 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/6.894, allocations: 7.031 kB / 3.754 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/6.895, allocations: 169.1 kB / 3.754 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/6.895, allocations: 129.5 kB / 3.754 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/6.896, allocations: 0.7859 MB / 3.755 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/6.897, allocations: 92.05 kB / 3.755 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/6.897, allocations: 30.59 kB / 3.755 GB, free: 32.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/6.897, allocations: 123.5 kB / 3.755 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/6.898, allocations: 268 kB / 3.755 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/6.901, allocations: 2.334 MB / 3.758 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/6.901, allocations: 23.8 kB / 3.758 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/6.901, allocations: 7.062 kB / 3.758 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/6.901, allocations: 0 / 3.758 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/6.904, allocations: 3.005 MB / 3.761 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/6.904, allocations: 7.125 kB / 3.761 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/6.904, allocations: 70.48 kB / 3.761 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007657/6.905, allocations: 359 kB / 3.761 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/6.905, allocations: 8.25 kB / 3.761 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/6.906, allocations: 0.9916 MB / 3.762 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/6.906, allocations: 3.688 kB / 3.762 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00258/6.909, allocations: 1.886 MB / 3.764 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002819/6.912, allocations: 2.336 MB / 3.766 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/6.912, allocations: 255.2 kB / 3.766 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/6.912, allocations: 0 / 3.766 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/6.913, allocations: 65.06 kB / 3.766 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/6.913, allocations: 46.11 kB / 3.767 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/6.913, allocations: 29.47 kB / 3.767 GB, free: 30.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003715/6.913, allocations: 351.2 kB / 3.767 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007147/6.92, allocations: 1.61 MB / 3.768 GB, free: 29.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.00839/6.929, allocations: 1.821 MB / 3.77 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002057/6.931, allocations: 1.306 MB / 3.772 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.931, allocations: 1.75 kB / 3.772 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008764/6.932, allocations: 0.8911 MB / 3.772 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/6.933, allocations: 237.7 kB / 3.773 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/6.936, allocations: 1.512 MB / 3.774 GB, free: 29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/6.937, allocations: 1.097 MB / 3.775 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/6.937, allocations: 1.75 kB / 3.775 GB, free: 28.27 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1)