Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.00132/0.00132, allocations: 200.1 kB / 8.542 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009773, allocations: 102.9 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2516/0.4509, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.5537, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.019/5.573, allocations: 2.787 GB / 3.291 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/5.573, allocations: 79.41 kB / 3.291 GB, free: 131.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 1.42/6.993, allocations: 442.2 MB / 3.723 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/6.993, allocations: 10.47 kB / 3.723 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/6.996, allocations: 344.2 kB / 3.723 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/6.997, allocations: 0.5773 MB / 3.724 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/6.998, allocations: 23.97 kB / 3.724 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/6.998, allocations: 36.94 kB / 3.724 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009852/6.999, allocations: 0.5461 MB / 3.725 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/7, allocations: 0.6602 MB / 3.725 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/7, allocations: 7.625 kB / 3.725 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/7, allocations: 3.969 kB / 3.725 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/7, allocations: 20.69 kB / 3.725 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1641/7.164, allocations: 94.82 MB / 3.818 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/7.165, allocations: 332.5 kB / 3.818 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/7.165, allocations: 170.9 kB / 3.818 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2202/7.385, allocations: 19.02 MB / 3.837 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/7.385, allocations: 46.03 kB / 3.837 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/7.385, allocations: 0 / 3.837 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.00262/7.388, allocations: 0.7603 MB / 3.838 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/7.388, allocations: 108.6 kB / 3.838 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/7.389, allocations: 440.8 kB / 3.838 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/7.389, allocations: 32.02 kB / 3.838 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/7.389, allocations: 299.8 kB / 3.839 GB, free: 141 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/7.389, allocations: 128.2 kB / 3.839 GB, free: 141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/7.389, allocations: 0 / 3.839 GB, free: 141 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/7.389, allocations: 361.9 kB / 3.839 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/7.389, allocations: 185.8 kB / 3.839 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/7.39, allocations: 369 kB / 3.84 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/7.391, allocations: 323.4 kB / 3.84 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/7.391, allocations: 0 / 3.84 GB, free: 140.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002765/7.394, allocations: 1.07 MB / 3.841 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003628/7.394, allocations: 2.089 MB / 3.843 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/7.394, allocations: 13.34 kB / 3.843 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/7.395, allocations: 186.2 kB / 3.843 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/7.395, allocations: 156.8 kB / 3.843 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/7.397, allocations: 0.9 MB / 3.844 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/7.397, allocations: 155.3 kB / 3.844 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/7.398, allocations: 33.77 kB / 3.844 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/7.398, allocations: 4.266 kB / 3.844 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002588/7.4, allocations: 0.7254 MB / 3.845 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.4, allocations: 11.59 kB / 3.845 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000907/7.401, allocations: 165.5 kB / 3.845 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/7.402, allocations: 158.1 kB / 3.845 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/7.402, allocations: 0.7813 MB / 3.846 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/7.403, allocations: 118.1 kB / 3.846 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/7.403, allocations: 35.47 kB / 3.846 GB, free: 137.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (56): * Single equations (assignments): 55 * 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.0001827/7.403, allocations: 129.2 kB / 3.846 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/7.404, allocations: 264.4 kB / 3.847 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/7.406, allocations: 1.762 MB / 3.848 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/7.406, allocations: 22.36 kB / 3.848 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/7.406, allocations: 0 / 3.848 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/7.406, allocations: 2.906 kB / 3.848 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/7.409, allocations: 2.52 MB / 3.851 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/7.409, allocations: 3 kB / 3.851 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/7.409, allocations: 71.56 kB / 3.851 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009882/7.41, allocations: 0.6556 MB / 3.852 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/7.41, allocations: 11.75 kB / 3.852 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/7.412, allocations: 1.29 MB / 3.853 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/7.412, allocations: 1.031 kB / 3.853 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002192/7.414, allocations: 1.554 MB / 3.854 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00235/7.416, allocations: 2.012 MB / 3.856 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/7.417, allocations: 282.2 kB / 3.857 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/7.417, allocations: 0 / 3.857 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/7.417, allocations: 76.3 kB / 3.857 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/7.417, allocations: 38.78 kB / 3.857 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/7.418, allocations: 20.91 kB / 3.857 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0004937/7.418, allocations: 477.8 kB / 3.857 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006532/7.425, allocations: 1.737 MB / 3.859 GB, free: 134.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007348/7.432, allocations: 1.888 MB / 3.861 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00175/7.434, allocations: 1.071 MB / 3.862 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/7.434, allocations: 4.547 kB / 3.862 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/7.434, allocations: 0.595 MB / 3.862 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/7.436, allocations: 245 kB / 3.863 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/7.438, allocations: 1.28 MB / 3.864 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/7.438, allocations: 1.082 MB / 3.865 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/7.438, allocations: 0 / 3.865 GB, free: 133.3 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1)