Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",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.005138/0.005138, allocations: 184 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.727/0.727, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.843/1.843, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 102.9 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5378/0.5391, allocations: 88.42 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.7582, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8563/1.615, allocations: 344.9 MB / 0.9701 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.615, allocations: 94.06 kB / 0.9702 GB, free: 1.598 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 1.89/3.505, allocations: 439.4 MB / 1.399 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/3.505, allocations: 8 kB / 1.399 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/3.506, allocations: 375.8 kB / 1.4 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/3.508, allocations: 1.093 MB / 1.401 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/3.508, allocations: 24 kB / 1.401 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/3.508, allocations: 47.91 kB / 1.401 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/3.509, allocations: 0.5585 MB / 1.401 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/3.511, allocations: 0.7857 MB / 1.402 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/3.511, allocations: 3.938 kB / 1.402 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/3.511, allocations: 4 kB / 1.402 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/3.511, allocations: 20.81 kB / 1.402 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/3.516, allocations: 3.875 MB / 1.406 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/3.516, allocations: 277.8 kB / 1.406 GB, free: 98.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/3.517, allocations: 206.4 kB / 1.406 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009635/3.517, allocations: 0.9388 MB / 1.407 GB, free: 96.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/3.518, allocations: 309.5 kB / 1.408 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.997e-06/3.518, allocations: 0 / 1.408 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002068/3.52, allocations: 0.6407 MB / 1.408 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/3.52, allocations: 107.6 kB / 1.408 GB, free: 95.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/3.521, allocations: 0.594 MB / 1.409 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/3.521, allocations: 25.7 kB / 1.409 GB, free: 95.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/3.521, allocations: 375 kB / 1.409 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/3.521, allocations: 157.1 kB / 1.409 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/3.521, allocations: 0 / 1.409 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/3.522, allocations: 330 kB / 1.41 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/3.522, allocations: 177.3 kB / 1.41 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/3.522, allocations: 354.6 kB / 1.41 GB, free: 93.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/3.524, allocations: 384.4 kB / 1.411 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/3.524, allocations: 4 kB / 1.411 GB, free: 93.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002009/3.526, allocations: 0.7593 MB / 1.411 GB, free: 92.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/3.526, allocations: 7.906 kB / 1.411 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/3.526, allocations: 8 kB / 1.411 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/3.526, allocations: 8.625 kB / 1.411 GB, free: 92.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/3.527, allocations: 223.6 kB / 1.412 GB, free: 92.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/3.527, allocations: 11.94 kB / 1.412 GB, free: 92.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/3.528, allocations: 143.2 kB / 1.412 GB, free: 92.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/3.528, allocations: 35.97 kB / 1.412 GB, free: 92.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/3.528, allocations: 127.4 kB / 1.412 GB, free: 91.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/3.528, allocations: 82.97 kB / 1.412 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/3.53, allocations: 1.038 MB / 1.413 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/3.53, allocations: 8 kB / 1.413 GB, free: 90.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/3.53, allocations: 4 kB / 1.413 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/3.53, allocations: 7.891 kB / 1.413 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/3.534, allocations: 1.879 MB / 1.415 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/3.534, allocations: 7.906 kB / 1.415 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/3.534, allocations: 179.9 kB / 1.415 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/3.534, allocations: 4 kB / 1.415 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/3.534, allocations: 7.984 kB / 1.415 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/3.535, allocations: 4 kB / 1.415 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.535, allocations: 8 kB / 1.415 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001841/3.536, allocations: 1.269 MB / 1.416 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002439/3.539, allocations: 2.012 MB / 1.418 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/3.539, allocations: 263.7 kB / 1.419 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/3.539, allocations: 8.062 kB / 1.419 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/3.54, allocations: 111.8 kB / 1.419 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/3.54, allocations: 52.31 kB / 1.419 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/3.541, allocations: 23.98 kB / 1.419 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005948/3.541, allocations: 475.1 kB / 1.419 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002071/3.543, allocations: 491.5 kB / 1.42 GB, free: 83.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/3.545, allocations: 0.815 MB / 1.42 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009607/3.546, allocations: 0.537 MB / 1.421 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/3.546, allocations: 4 kB / 1.421 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/3.546, allocations: 309.4 kB / 1.421 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/3.548, allocations: 302 kB / 1.422 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/3.55, allocations: 1.288 MB / 1.423 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/3.551, allocations: 1.185 MB / 1.424 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/3.551, allocations: 0 / 1.424 GB, free: 79.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)