Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001079/0.00108, allocations: 205 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 93.89 kB / 286.3 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2417/0.4283, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.5355, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7283/1.264, allocations: 322.7 MB / 0.819 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.264, allocations: 88.42 kB / 0.8191 GB, free: 151.3 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.5616/1.826, allocations: 169.6 MB / 0.9847 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.826, allocations: 11.2 kB / 0.9847 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/1.826, allocations: 98.47 kB / 0.9848 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.827, allocations: 0.6083 MB / 0.9854 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/1.827, allocations: 15.19 kB / 0.9855 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/1.828, allocations: 36.41 kB / 0.9855 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/1.829, allocations: 0.6182 MB / 0.9861 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/1.829, allocations: 0.6595 MB / 0.9867 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/1.83, allocations: 0 / 0.9867 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/1.83, allocations: 2.844 kB / 0.9867 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.83, allocations: 22.91 kB / 0.9868 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/1.834, allocations: 3.161 MB / 0.9898 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/1.835, allocations: 378.5 kB / 0.9902 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/1.835, allocations: 252.8 kB / 0.9904 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/1.836, allocations: 0.5751 MB / 0.991 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.836, allocations: 37.56 kB / 0.991 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.146e-06/1.836, allocations: 3.844 kB / 0.991 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.03448/1.87, allocations: 5.285 MB / 0.9962 GB, free: 118 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/1.87, allocations: 109.9 kB / 0.9963 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/1.871, allocations: 463.8 kB / 0.9968 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/1.871, allocations: 25.7 kB / 0.9968 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.871, allocations: 293.1 kB / 0.9971 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.871, allocations: 214 kB / 0.9973 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/1.871, allocations: 0 / 0.9973 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.872, allocations: 374.1 kB / 0.9976 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/1.872, allocations: 275.9 kB / 0.9979 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/1.873, allocations: 460 kB / 0.9983 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/1.876, allocations: 0.7051 MB / 0.999 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.876, allocations: 3.609 kB / 0.999 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004836/1.881, allocations: 1.377 MB / 1 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005137/1.881, allocations: 2.012 MB / 1.002 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.881, allocations: 7.75 kB / 1.002 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/1.886, allocations: 0.7449 MB / 1.003 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/1.887, allocations: 210.9 kB / 1.003 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/1.891, allocations: 1.942 MB / 1.005 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.893, allocations: 94.69 kB / 1.005 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.893, allocations: 55.61 kB / 1.005 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.893, allocations: 2.875 kB / 1.005 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004494/1.898, allocations: 1.098 MB / 1.006 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.898, allocations: 6.219 kB / 1.006 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.899, allocations: 284.7 kB / 1.007 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/1.9, allocations: 230.7 kB / 1.007 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006976/1.907, allocations: 4.599 MB / 1.011 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.908, allocations: 91.7 kB / 1.011 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/1.908, allocations: 50.38 kB / 1.011 GB, free: 110.6 MB / 0.5261 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.0003801/1.909, allocations: 112 kB / 1.012 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.909, allocations: 80.34 kB / 1.012 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/1.913, allocations: 1.534 MB / 1.013 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.913, allocations: 10.28 kB / 1.013 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.913, allocations: 0 / 1.013 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.913, allocations: 7.688 kB / 1.013 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/1.918, allocations: 2.223 MB / 1.015 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.918, allocations: 1.875 kB / 1.015 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/1.919, allocations: 164.1 kB / 1.016 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/1.921, allocations: 0.4942 MB / 1.016 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/1.921, allocations: 17.66 kB / 1.016 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.923, allocations: 1.633 MB / 1.018 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.923, allocations: 0 / 1.018 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004052/1.927, allocations: 1.639 MB / 1.019 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004407/1.932, allocations: 2.431 MB / 1.022 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/1.932, allocations: 251.4 kB / 1.022 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.932, allocations: 0 / 1.022 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/1.933, allocations: 98.02 kB / 1.022 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.933, allocations: 54.7 kB / 1.022 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/1.933, allocations: 42.72 kB / 1.022 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004239/1.934, allocations: 355.9 kB / 1.022 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003491/1.937, allocations: 0.7135 MB / 1.023 GB, free: 107.8 MB / 0.5261 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.001529/1.939, allocations: 0.5753 MB / 1.024 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00405/1.943, allocations: 1.405 MB / 1.025 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.943, allocations: 2.812 kB / 1.025 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007708/1.944, allocations: 419.1 kB / 1.025 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.945, allocations: 274.6 kB / 1.026 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/1.948, allocations: 1.154 MB / 1.027 GB, free: 107 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/1.948, allocations: 1.081 MB / 1.028 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.948, allocations: 0 / 1.028 GB, free: 106.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)