Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",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.001207/0.001207, allocations: 203 kB / 8.542 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.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008922, allocations: 87.94 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1725/0.1725, allocations: 45.13 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2063/0.3788, allocations: 69.38 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.4771, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/5.075, allocations: 2.77 GB / 3.274 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/5.075, allocations: 84.39 kB / 3.274 GB, free: 142.1 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 2.362/7.438, allocations: 0.8265 GB / 4.101 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/7.438, allocations: 9.656 kB / 4.101 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/7.442, allocations: 494 kB / 4.101 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/7.444, allocations: 0.9958 MB / 4.102 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-05/7.444, allocations: 52.88 kB / 4.102 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/7.444, allocations: 81.31 kB / 4.102 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001968/7.446, allocations: 1.158 MB / 4.103 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/7.448, allocations: 1.402 MB / 4.105 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/7.448, allocations: 4.781 kB / 4.105 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/7.448, allocations: 3.031 kB / 4.105 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/7.448, allocations: 60.78 kB / 4.105 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4763/7.925, allocations: 165.8 MB / 4.267 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/7.925, allocations: 0.557 MB / 4.267 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/7.926, allocations: 355.8 kB / 4.268 GB, free: 153 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01465/7.94, allocations: 8.81 MB / 4.276 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/7.941, allocations: 44.22 kB / 4.276 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=81): time 2.595e-06/7.941, allocations: 0 / 4.276 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81): time 0.004555/7.945, allocations: 1.431 MB / 4.278 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/7.945, allocations: 113.9 kB / 4.278 GB, free: 147 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009163/7.946, allocations: 0.7188 MB / 4.278 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/7.946, allocations: 25.7 kB / 4.279 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/7.946, allocations: 0.5543 MB / 4.279 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/7.947, allocations: 268.6 kB / 4.279 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/7.947, allocations: 4.453 kB / 4.279 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/7.947, allocations: 347.3 kB / 4.28 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/7.947, allocations: 373.3 kB / 4.28 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/7.948, allocations: 0.7209 MB / 4.281 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/7.949, allocations: 473.5 kB / 4.281 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/7.949, allocations: 0 / 4.281 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005381/7.955, allocations: 2.025 MB / 4.283 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007245/7.955, allocations: 4.604 MB / 4.288 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/7.955, allocations: 15.25 kB / 4.288 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/7.957, allocations: 0.5132 MB / 4.288 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/7.958, allocations: 224.4 kB / 4.288 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/7.962, allocations: 3.095 MB / 4.291 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/7.964, allocations: 238.4 kB / 4.292 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/7.964, allocations: 82.22 kB / 4.292 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/7.964, allocations: 6.25 kB / 4.292 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005023/7.969, allocations: 1.43 MB / 4.293 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/7.969, allocations: 13.25 kB / 4.293 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/7.972, allocations: 463.2 kB / 4.294 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/7.973, allocations: 248.7 kB / 4.294 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/7.977, allocations: 2.891 MB / 4.297 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/7.978, allocations: 203.1 kB / 4.297 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/7.978, allocations: 74.69 kB / 4.297 GB, free: 136.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000321/7.978, allocations: 152.1 kB / 4.297 GB, free: 136.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/7.98, allocations: 430.4 kB / 4.297 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/7.984, allocations: 3.072 MB / 4.3 GB, free: 136 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/7.984, allocations: 24.92 kB / 4.3 GB, free: 136 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.984, allocations: 3.281 kB / 4.3 GB, free: 136 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/7.984, allocations: 11.98 kB / 4.3 GB, free: 136 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/7.989, allocations: 4.482 MB / 4.305 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.989, allocations: 0 / 4.305 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/7.989, allocations: 84.09 kB / 4.305 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/7.992, allocations: 1.144 MB / 4.306 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/7.992, allocations: 14.45 kB / 4.306 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/7.995, allocations: 3.758 MB / 4.31 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/7.995, allocations: 1.5 kB / 4.31 GB, free: 133 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003788/7.999, allocations: 2.523 MB / 4.312 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004189/8.003, allocations: 3.034 MB / 4.315 GB, free: 131.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/8.004, allocations: 371.5 kB / 4.316 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/8.004, allocations: 10.94 kB / 4.316 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/8.005, allocations: 152.7 kB / 4.316 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/8.005, allocations: 79.94 kB / 4.316 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/8.005, allocations: 39.81 kB / 4.316 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007003/8.006, allocations: 0.5896 MB / 4.316 GB, free: 131.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008573/8.015, allocations: 2.368 MB / 4.319 GB, free: 131.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009473/8.024, allocations: 2.42 MB / 4.321 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005664/8.03, allocations: 2.164 MB / 4.323 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/8.03, allocations: 0.75 kB / 4.323 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/8.032, allocations: 1.144 MB / 4.324 GB, free: 131 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/8.034, allocations: 464.9 kB / 4.325 GB, free: 131 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/8.038, allocations: 2.285 MB / 4.327 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/8.039, allocations: 1.421 MB / 4.328 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/8.039, allocations: 2.719 kB / 4.328 GB, free: 129.8 MB / 0.6198 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)