Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001178/0.001178, allocations: 199.8 kB / 8.535 MB, free: 460 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 225.5 MB / 234.4 MB, free: 9.52 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 101.2 kB / 286.3 MB, free: 5.855 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1745/0.1745, allocations: 45.14 MB / 383.3 MB, free: 4.891 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.3655, allocations: 69.37 MB / 452.7 MB, free: 48.21 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.4713, allocations: 63.24 MB / 0.5039 GB, free: 0.9102 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.601/5.072, allocations: 2.771 GB / 3.274 GB, free: 160.8 MB / 0.5339 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/5.072, allocations: 78.86 kB / 3.274 GB, free: 160.8 MB / 0.5339 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.288/6.36, allocations: 423.1 MB / 3.688 GB, free: 67.8 MB / 0.5339 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/6.36, allocations: 7.781 kB / 3.688 GB, free: 67.8 MB / 0.5339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/6.363, allocations: 323.8 kB / 3.688 GB, free: 67.77 MB / 0.5339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/6.364, allocations: 0.531 MB / 3.689 GB, free: 67.54 MB / 0.5339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/6.364, allocations: 22.38 kB / 3.689 GB, free: 67.54 MB / 0.5339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/6.364, allocations: 33.47 kB / 3.689 GB, free: 67.54 MB / 0.5339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009304/6.365, allocations: 0.5145 MB / 3.689 GB, free: 67.54 MB / 0.5339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/6.366, allocations: 0.6405 MB / 3.69 GB, free: 67.34 MB / 0.5339 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/6.366, allocations: 5.562 kB / 3.69 GB, free: 67.34 MB / 0.5339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/6.366, allocations: 0 / 3.69 GB, free: 67.34 MB / 0.5339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/6.366, allocations: 25.06 kB / 3.69 GB, free: 67.34 MB / 0.5339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08424/6.451, allocations: 49.75 MB / 3.738 GB, free: 35.5 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/6.451, allocations: 346.1 kB / 3.739 GB, free: 35.47 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/6.451, allocations: 194.3 kB / 3.739 GB, free: 35.46 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04879/6.5, allocations: 27.19 MB / 3.765 GB, free: 33.11 MB / 0.5496 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/6.5, allocations: 40.8 kB / 3.765 GB, free: 33.07 MB / 0.5496 GB Notification: Performance of pre-optimization done (n=39): time 2.034e-06/6.5, allocations: 0 / 3.765 GB, free: 33.07 MB / 0.5496 GB Notification: Performance of matching and sorting (n=39): time 0.003013/6.503, allocations: 0.8117 MB / 3.766 GB, free: 33 MB / 0.5496 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/6.503, allocations: 105.8 kB / 3.766 GB, free: 32.87 MB / 0.5496 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/6.504, allocations: 370.9 kB / 3.767 GB, free: 32.76 MB / 0.5496 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/6.504, allocations: 29.67 kB / 3.767 GB, free: 32.73 MB / 0.5496 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/6.504, allocations: 272.1 kB / 3.767 GB, free: 32.55 MB / 0.5496 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/6.504, allocations: 140 kB / 3.767 GB, free: 32.47 MB / 0.5496 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/6.504, allocations: 0 / 3.767 GB, free: 32.47 MB / 0.5496 GB Notification: Performance of setup shared object (initialization): time 0.000124/6.505, allocations: 361.9 kB / 3.767 GB, free: 32.15 MB / 0.5496 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/6.505, allocations: 174.3 kB / 3.768 GB, free: 32.15 MB / 0.5496 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/6.505, allocations: 354.3 kB / 3.768 GB, free: 31.95 MB / 0.5496 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/6.506, allocations: 277.6 kB / 3.768 GB, free: 31.94 MB / 0.5496 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/6.506, allocations: 0 / 3.768 GB, free: 31.94 MB / 0.5496 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003133/6.509, allocations: 1.016 MB / 3.769 GB, free: 31.86 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007625/6.51, allocations: 1.919 MB / 3.771 GB, free: 29.85 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/6.51, allocations: 5.406 kB / 3.771 GB, free: 29.85 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/6.511, allocations: 176.8 kB / 3.771 GB, free: 29.84 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/6.511, allocations: 130 kB / 3.771 GB, free: 29.83 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/6.513, allocations: 0.821 MB / 3.772 GB, free: 29.3 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/6.513, allocations: 116.5 kB / 3.772 GB, free: 29.27 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/6.513, allocations: 34.73 kB / 3.772 GB, free: 29.27 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/6.514, allocations: 3.906 kB / 3.772 GB, free: 29.27 MB / 0.5496 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/6.516, allocations: 0.7061 MB / 3.773 GB, free: 29.24 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.516, allocations: 6.188 kB / 3.773 GB, free: 29.24 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000832/6.517, allocations: 176.9 kB / 3.773 GB, free: 29.23 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/6.517, allocations: 126.1 kB / 3.773 GB, free: 29.22 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008284/6.518, allocations: 0.7701 MB / 3.774 GB, free: 28.7 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/6.519, allocations: 93.58 kB / 3.774 GB, free: 28.68 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/6.519, allocations: 29.2 kB / 3.774 GB, free: 28.68 MB / 0.5496 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.0001987/6.519, allocations: 128.8 kB / 3.774 GB, free: 28.56 MB / 0.5496 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/6.52, allocations: 264.4 kB / 3.775 GB, free: 28.54 MB / 0.5496 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/6.523, allocations: 2.332 MB / 3.777 GB, free: 28.33 MB / 0.5496 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/6.523, allocations: 27.19 kB / 3.777 GB, free: 28.33 MB / 0.5496 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/6.523, allocations: 0 / 3.777 GB, free: 28.33 MB / 0.5496 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/6.523, allocations: 3.422 kB / 3.777 GB, free: 28.33 MB / 0.5496 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/6.526, allocations: 3.015 MB / 3.78 GB, free: 27.93 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/6.526, allocations: 0 / 3.78 GB, free: 27.93 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/6.527, allocations: 73.03 kB / 3.78 GB, free: 27.93 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007491/6.527, allocations: 357.6 kB / 3.78 GB, free: 27.91 MB / 0.5496 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/6.527, allocations: 6.781 kB / 3.78 GB, free: 27.91 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/6.528, allocations: 0.9892 MB / 3.781 GB, free: 27.38 MB / 0.5496 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/6.528, allocations: 0 / 3.781 GB, free: 27.38 MB / 0.5496 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00272/6.531, allocations: 1.882 MB / 3.783 GB, free: 27.06 MB / 0.5496 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003078/6.534, allocations: 2.347 MB / 3.785 GB, free: 26.38 MB / 0.5496 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/6.535, allocations: 257.2 kB / 3.786 GB, free: 26.23 MB / 0.5496 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/6.535, allocations: 4 kB / 3.786 GB, free: 26.23 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/6.536, allocations: 61.7 kB / 3.786 GB, free: 26.22 MB / 0.5496 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/6.536, allocations: 47.25 kB / 3.786 GB, free: 26.22 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/6.536, allocations: 21.08 kB / 3.786 GB, free: 26.22 MB / 0.5496 GB Notification: Performance of sort global known variables: time 0.0004986/6.536, allocations: 360.7 kB / 3.786 GB, free: 26.12 MB / 0.5496 GB Notification: Performance of remove unused functions: time 0.007951/6.544, allocations: 1.632 MB / 3.788 GB, free: 25.91 MB / 0.5496 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.008817/6.553, allocations: 1.812 MB / 3.789 GB, free: 25.52 MB / 0.5496 GB Notification: Performance of simCode: created initialization part: time 0.002076/6.555, allocations: 1.305 MB / 3.791 GB, free: 25.5 MB / 0.5496 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/6.555, allocations: 112 / 3.791 GB, free: 25.5 MB / 0.5496 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/6.556, allocations: 0.8871 MB / 3.792 GB, free: 25.5 MB / 0.5496 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/6.558, allocations: 243.6 kB / 3.792 GB, free: 25.48 MB / 0.5496 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/6.56, allocations: 1.509 MB / 3.793 GB, free: 25.16 MB / 0.5496 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/6.561, allocations: 1.098 MB / 3.794 GB, free: 24.43 MB / 0.5496 GB Notification: Performance of SimCode: time 6.82e-07/6.561, allocations: 0 / 3.794 GB, free: 24.43 MB / 0.5496 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1)