Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 179.1 kB / 8.519 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 230.3 MB, free: 7.676 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 90.48 kB / 281.2 MB, free: 5.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1896/0.1896, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2127/0.4024, allocations: 68.03 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.5204, allocations: 61.91 MB / 0.4942 GB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.183/4.703, allocations: 2.769 GB / 3.263 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/4.703, allocations: 81.12 kB / 3.263 GB, free: 164.6 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.303/7.007, allocations: 0.8263 GB / 4.09 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/7.007, allocations: 15.75 kB / 4.09 GB, free: 45.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/7.01, allocations: 496.2 kB / 4.09 GB, free: 45.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/7.012, allocations: 0.9902 MB / 4.091 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/7.012, allocations: 52.34 kB / 4.091 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/7.012, allocations: 73.12 kB / 4.091 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/7.014, allocations: 1.166 MB / 4.093 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/7.016, allocations: 1.395 MB / 4.094 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/7.016, allocations: 10.25 kB / 4.094 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/7.016, allocations: 6.469 kB / 4.094 GB, free: 45.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/7.016, allocations: 62.22 kB / 4.094 GB, free: 45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2583/7.274, allocations: 146 MB / 4.237 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/7.275, allocations: 0.5578 MB / 4.237 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/7.275, allocations: 356.2 kB / 4.237 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/7.291, allocations: 8.095 MB / 4.245 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/7.291, allocations: 44.44 kB / 4.245 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=81): time 3.016e-06/7.291, allocations: 0.75 kB / 4.245 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81): time 0.004812/7.296, allocations: 1.433 MB / 4.247 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/7.296, allocations: 111.2 kB / 4.247 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/7.297, allocations: 0.7189 MB / 4.248 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/7.297, allocations: 28.33 kB / 4.248 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/7.297, allocations: 0.5573 MB / 4.248 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/7.297, allocations: 262 kB / 4.248 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/7.297, allocations: 0 / 4.248 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001237/7.298, allocations: 349.5 kB / 4.249 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/7.298, allocations: 375.6 kB / 4.249 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/7.299, allocations: 0.7222 MB / 4.25 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/7.3, allocations: 470.2 kB / 4.25 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/7.3, allocations: 7.5 kB / 4.25 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005534/7.306, allocations: 2.022 MB / 4.252 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/7.307, allocations: 4.608 MB / 4.257 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/7.307, allocations: 14.69 kB / 4.257 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/7.309, allocations: 0.5054 MB / 4.257 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/7.31, allocations: 225.5 kB / 4.257 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/7.315, allocations: 3.099 MB / 4.26 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/7.317, allocations: 244.5 kB / 4.261 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/7.317, allocations: 75.09 kB / 4.261 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/7.317, allocations: 3.938 kB / 4.261 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00518/7.322, allocations: 1.434 MB / 4.262 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/7.322, allocations: 16.34 kB / 4.262 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/7.325, allocations: 463.6 kB / 4.263 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/7.325, allocations: 252.7 kB / 4.263 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/7.33, allocations: 2.883 MB / 4.266 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/7.331, allocations: 203.2 kB / 4.266 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/7.332, allocations: 68.41 kB / 4.266 GB, free: 15.37 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.0004113/7.332, allocations: 154.3 kB / 4.266 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/7.334, allocations: 435 kB / 4.267 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005284/7.339, allocations: 3.066 MB / 4.27 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/7.339, allocations: 31.52 kB / 4.27 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/7.339, allocations: 0 / 4.27 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/7.339, allocations: 4.719 kB / 4.27 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/7.345, allocations: 4.487 MB / 4.274 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/7.345, allocations: 1.125 kB / 4.274 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/7.346, allocations: 84.55 kB / 4.274 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/7.348, allocations: 1.141 MB / 4.275 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/7.349, allocations: 18.48 kB / 4.275 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/7.353, allocations: 3.76 MB / 4.279 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.353, allocations: 1.062 kB / 4.279 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00481/7.358, allocations: 2.524 MB / 4.281 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005105/7.363, allocations: 3.044 MB / 4.284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/7.364, allocations: 372.1 kB / 4.285 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/7.364, allocations: 1 kB / 4.285 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/7.366, allocations: 155.4 kB / 4.285 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/7.366, allocations: 79.42 kB / 4.285 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/7.366, allocations: 41.64 kB / 4.285 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009253/7.367, allocations: 0.5889 MB / 4.285 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008753/7.375, allocations: 2.359 MB / 4.288 GB, free: 10.01 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.008607/7.384, allocations: 2.412 MB / 4.29 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00566/7.39, allocations: 2.159 MB / 4.292 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/7.39, allocations: 4 kB / 4.292 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/7.392, allocations: 1.142 MB / 4.293 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/7.394, allocations: 473.7 kB / 4.294 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/7.398, allocations: 2.306 MB / 4.296 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/7.399, allocations: 1.424 MB / 4.297 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/7.399, allocations: 0 / 4.297 GB, free: 4.672 MB / 0.6198 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1)