Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001724/0.001724, allocations: 191.9 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 81.25 kB / 261.4 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2321/0.2321, allocations: 43.49 MB / 352.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.4806, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.8451, allocations: 58.84 MB / 476.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.023/7.868, allocations: 2.764 GB / 3.229 GB, free: 104 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/7.868, allocations: 84.98 kB / 3.229 GB, free: 104 MB / 0.4948 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 3.272/11.14, allocations: 0.8175 GB / 4.047 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/11.14, allocations: 8.625 kB / 4.047 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/11.15, allocations: 498.3 kB / 4.047 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/11.15, allocations: 0.9949 MB / 4.048 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/11.15, allocations: 54.59 kB / 4.048 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/11.15, allocations: 70.75 kB / 4.048 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003635/11.15, allocations: 1.17 MB / 4.049 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/11.16, allocations: 1.401 MB / 4.051 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.49e-05/11.16, allocations: 5.75 kB / 4.051 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/11.16, allocations: 4.75 kB / 4.051 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/11.16, allocations: 56.69 kB / 4.051 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6565/11.82, allocations: 146 MB / 4.193 GB, free: 51.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/11.82, allocations: 0.5493 MB / 4.194 GB, free: 51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/11.82, allocations: 367.9 kB / 4.194 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/11.83, allocations: 8.087 MB / 4.202 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.379e-05/11.83, allocations: 44.25 kB / 4.202 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 4.438e-06/11.83, allocations: 0 / 4.202 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81): time 0.006181/11.84, allocations: 1.425 MB / 4.204 GB, free: 45.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/11.84, allocations: 115.7 kB / 4.204 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/11.84, allocations: 0.7251 MB / 4.204 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/11.84, allocations: 25.7 kB / 4.204 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/11.84, allocations: 0.5486 MB / 4.205 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/11.84, allocations: 274.4 kB / 4.205 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/11.84, allocations: 0 / 4.205 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001178/11.84, allocations: 350.7 kB / 4.206 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/11.84, allocations: 366.8 kB / 4.206 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/11.84, allocations: 0.7307 MB / 4.207 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/11.85, allocations: 463.5 kB / 4.207 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/11.85, allocations: 3.25 kB / 4.207 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.007649/11.85, allocations: 2.026 MB / 4.209 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/11.86, allocations: 4.605 MB / 4.214 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/11.86, allocations: 14.03 kB / 4.214 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/11.86, allocations: 0.5067 MB / 4.214 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/11.86, allocations: 228.5 kB / 4.214 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007367/11.87, allocations: 3.09 MB / 4.217 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/11.87, allocations: 245.9 kB / 4.218 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/11.87, allocations: 78 kB / 4.218 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/11.87, allocations: 3.688 kB / 4.218 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005315/11.88, allocations: 1.435 MB / 4.219 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/11.88, allocations: 10.22 kB / 4.219 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/11.88, allocations: 474.1 kB / 4.219 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/11.88, allocations: 248.4 kB / 4.22 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/11.88, allocations: 2.888 MB / 4.223 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/11.89, allocations: 193.9 kB / 4.223 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/11.89, allocations: 81.25 kB / 4.223 GB, free: 34.65 MB / 0.5261 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.0005893/11.89, allocations: 137.9 kB / 4.223 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/11.89, allocations: 433.5 kB / 4.223 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/11.89, allocations: 3.071 MB / 4.226 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/11.89, allocations: 24.88 kB / 4.226 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/11.89, allocations: 2.75 kB / 4.226 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/11.89, allocations: 7.031 kB / 4.226 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/11.9, allocations: 4.483 MB / 4.231 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/11.9, allocations: 0 / 4.231 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/11.9, allocations: 88.83 kB / 4.231 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/11.9, allocations: 1.139 MB / 4.232 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.931e-05/11.9, allocations: 14.02 kB / 4.232 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/11.91, allocations: 3.764 MB / 4.236 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/11.91, allocations: 0 / 4.236 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005089/11.91, allocations: 2.519 MB / 4.238 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004892/11.92, allocations: 3.038 MB / 4.241 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/11.92, allocations: 377.9 kB / 4.241 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/11.92, allocations: 3.906 kB / 4.241 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/11.92, allocations: 149.6 kB / 4.242 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/11.92, allocations: 80.36 kB / 4.242 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/11.92, allocations: 39.58 kB / 4.242 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0009882/11.92, allocations: 0.5872 MB / 4.242 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01254/11.94, allocations: 2.358 MB / 4.245 GB, free: 29.56 MB / 0.5261 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.01295/11.95, allocations: 2.414 MB / 4.247 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006883/11.96, allocations: 2.163 MB / 4.249 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/11.96, allocations: 0 / 4.249 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/11.96, allocations: 1.14 MB / 4.25 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/11.96, allocations: 451 kB / 4.251 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/11.97, allocations: 2.307 MB / 4.253 GB, free: 28.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/11.97, allocations: 1.428 MB / 4.254 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/11.97, allocations: 1.531 kB / 4.254 GB, free: 27.83 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)