Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001247/0.001247, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009537/0.0009537, allocations: 91.53 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2507/0.4522, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.5651, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.386, allocations: 2.792 GB / 3.296 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/5.387, allocations: 92.23 kB / 3.296 GB, free: 126.4 MB / 0.5261 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.258/6.644, allocations: 443 MB / 3.729 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/6.644, allocations: 8.781 kB / 3.729 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/6.647, allocations: 365.7 kB / 3.729 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/6.648, allocations: 0.5791 MB / 3.73 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/6.648, allocations: 26.78 kB / 3.73 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/6.648, allocations: 30.16 kB / 3.73 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008756/6.649, allocations: 0.5545 MB / 3.731 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/6.65, allocations: 0.6789 MB / 3.731 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/6.65, allocations: 3.938 kB / 3.731 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/6.65, allocations: 3.938 kB / 3.731 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/6.65, allocations: 25.16 kB / 3.731 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08145/6.732, allocations: 50.02 MB / 3.78 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/6.732, allocations: 319.6 kB / 3.78 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/6.732, allocations: 197.1 kB / 3.781 GB, free: 20.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0506/6.783, allocations: 27.3 MB / 3.807 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/6.783, allocations: 43.17 kB / 3.807 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.577e-06/6.783, allocations: 0 / 3.807 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.003142/6.786, allocations: 0.8211 MB / 3.808 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/6.786, allocations: 115.4 kB / 3.808 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/6.787, allocations: 411.3 kB / 3.809 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/6.787, allocations: 29.7 kB / 3.809 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/6.787, allocations: 298.5 kB / 3.809 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/6.787, allocations: 138.4 kB / 3.809 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/6.787, allocations: 4 kB / 3.809 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000143/6.787, allocations: 364.2 kB / 3.809 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/6.788, allocations: 195.3 kB / 3.81 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/6.788, allocations: 367 kB / 3.81 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/6.79, allocations: 346 kB / 3.81 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/6.79, allocations: 0 / 3.81 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003151/6.793, allocations: 1.053 MB / 3.811 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007745/6.793, allocations: 2.004 MB / 3.813 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/6.793, allocations: 8 kB / 3.813 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/6.794, allocations: 182.9 kB / 3.813 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/6.795, allocations: 147 kB / 3.814 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/6.797, allocations: 0.9086 MB / 3.814 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/6.798, allocations: 129.3 kB / 3.815 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/6.798, allocations: 33.53 kB / 3.815 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/6.798, allocations: 4 kB / 3.815 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002882/6.801, allocations: 0.757 MB / 3.815 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/6.801, allocations: 4 kB / 3.815 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/6.802, allocations: 177.7 kB / 3.815 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/6.802, allocations: 153.1 kB / 3.816 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/6.803, allocations: 0.7725 MB / 3.816 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/6.804, allocations: 103.9 kB / 3.816 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/6.804, allocations: 32.5 kB / 3.817 GB, free: 1.438 MB / 0.5417 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.0002488/6.805, allocations: 131.2 kB / 3.817 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009078/6.806, allocations: 273.1 kB / 3.817 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/6.81, allocations: 2.573 MB / 3.819 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/6.81, allocations: 30.2 kB / 3.819 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/6.81, allocations: 0 / 3.819 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/6.81, allocations: 7.594 kB / 3.819 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/6.814, allocations: 3.222 MB / 3.823 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/6.814, allocations: 8.125 kB / 3.823 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/6.815, allocations: 75.19 kB / 3.823 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/6.816, allocations: 0.6547 MB / 3.823 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/6.816, allocations: 15.61 kB / 3.823 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/6.818, allocations: 1.264 MB / 3.825 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.818, allocations: 0 / 3.825 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003264/6.821, allocations: 1.983 MB / 3.827 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003733/6.825, allocations: 2.458 MB / 3.829 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/6.825, allocations: 269.7 kB / 3.829 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/6.825, allocations: 0 / 3.829 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/6.826, allocations: 74.97 kB / 3.829 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/6.826, allocations: 43.09 kB / 3.829 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/6.826, allocations: 23.75 kB / 3.829 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0005358/6.827, allocations: 389 kB / 3.83 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007652/6.835, allocations: 1.736 MB / 3.831 GB, free: 3.66 MB / 0.5573 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.009127/6.844, allocations: 1.895 MB / 3.833 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00276/6.846, allocations: 1.363 MB / 3.835 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/6.846, allocations: 0 / 3.835 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.1748/7.021, allocations: 0.9212 MB / 3.835 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/7.023, allocations: 244.1 kB / 3.836 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/7.025, allocations: 1.591 MB / 3.837 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/7.026, allocations: 1.126 MB / 3.838 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/7.026, allocations: 0 / 3.838 GB, free: 140.9 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)