Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.426/2.426, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 185.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 0.6188 GB, free: 13.17 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001837/0.001836, allocations: 91.77 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.357e-06/9.518e-06, allocations: 0 / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.562, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.8068, allocations: 143.3 MB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005053/0.8074, allocations: 88.45 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.08025/0.8877, allocations: 13.3 MB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.609e-05/0.8878, allocations: 12 kB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001344/0.8892, allocations: 0.6904 MB / 1.116 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.8892, allocations: 8.031 kB / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.8894, allocations: 63.19 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.8906, allocations: 431.9 kB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8906, allocations: 4 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.8907, allocations: 12 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002482/0.8909, allocations: 68.19 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.8913, allocations: 130 kB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8913, allocations: 0 / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.8913, allocations: 7.969 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8914, allocations: 4 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.8927, allocations: 0.5522 MB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.8931, allocations: 106.8 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.8932, allocations: 57.91 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.8933, allocations: 0 / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.8935, allocations: 99.28 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.8935, allocations: 0 / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005359/0.8941, allocations: 153 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.8942, allocations: 85.09 kB / 1.118 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.8954, allocations: 0.5776 MB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.8955, allocations: 33.69 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.8957, allocations: 160.2 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.8958, allocations: 35.61 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.8958, allocations: 0 / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.8961, allocations: 370.8 kB / 1.119 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.8963, allocations: 81.05 kB / 1.119 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.8966, allocations: 123 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.8971, allocations: 93.78 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8971, allocations: 224 / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008597/0.898, allocations: 280.7 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.898, allocations: 7.938 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.898, allocations: 1.625 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.898, allocations: 4 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.8984, allocations: 43.97 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8984, allocations: 4 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.8987, allocations: 23.83 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.8988, allocations: 8 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.899, allocations: 123.5 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.8991, allocations: 55.25 kB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.8997, allocations: 188.7 kB / 1.12 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.8997, allocations: 6.734 kB / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8997, allocations: 0 / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8998, allocations: 0 / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.9003, allocations: 353.9 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9003, allocations: 0 / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.9004, allocations: 8 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.9004, allocations: 4 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.9005, allocations: 4 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9005, allocations: 0 / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9005, allocations: 0 / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004521/0.9009, allocations: 208.2 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.9012, allocations: 140.3 kB / 1.121 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/0.9013, allocations: 4.047 kB / 1.121 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.9015, allocations: 19.97 kB / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.9016, allocations: 19.97 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.9017, allocations: 4 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000835/0.9025, allocations: 439.1 kB / 1.121 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005746/0.9031, allocations: 83.83 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001124/0.9042, allocations: 359.7 kB / 1.122 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.9048, allocations: 151.8 kB / 1.122 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9049, allocations: 0.9375 kB / 1.122 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.905, allocations: 59.92 kB / 1.122 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.9059, allocations: 86.14 kB / 1.122 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.9079, allocations: 0.5891 MB / 1.123 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008689/0.9088, allocations: 0.9081 MB / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/0.9088, allocations: 0 / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of Templates: time 0.01543/0.9243, allocations: 3.973 MB / 1.128 GB, free: 3.973 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)