Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.448/1.448, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 185.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 0.6195 GB, free: 10.35 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008988/0.0008988, allocations: 86.92 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.867e-06/8.887e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.6858, allocations: 143.5 MB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.6861, allocations: 92.69 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03665/0.7228, allocations: 13.29 MB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.047e-05/0.7228, allocations: 12 kB / 1.117 GB, free: 15.18 MB / 0.7292 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.001058/0.7239, allocations: 0.6943 MB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.724, allocations: 8.031 kB / 1.118 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.7241, allocations: 59.25 kB / 1.118 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.725, allocations: 431.8 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.7251, allocations: 12 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.7251, allocations: 8 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001776/0.7253, allocations: 64.27 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.7255, allocations: 129.5 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7255, allocations: 0 / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.7256, allocations: 4 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7256, allocations: 0 / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.7265, allocations: 0.5639 MB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.7267, allocations: 111.9 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.7268, allocations: 45.52 kB / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.7269, allocations: 0 / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.727, allocations: 103.2 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.727, allocations: 0 / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000338/0.7274, allocations: 164.5 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.7274, allocations: 81.11 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.7281, allocations: 0.5815 MB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.7282, allocations: 31.2 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7283, allocations: 160.2 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.7284, allocations: 35.61 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.7284, allocations: 0 / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7286, allocations: 366.8 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.7287, allocations: 81.28 kB / 1.12 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.7289, allocations: 121.5 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.7291, allocations: 92.41 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7292, allocations: 3.938 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005052/0.7297, allocations: 283.4 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7297, allocations: 8.062 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7297, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.7297, allocations: 4 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.7299, allocations: 35.98 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7299, allocations: 0 / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.7301, allocations: 23.83 kB / 1.121 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.7302, allocations: 24.92 kB / 1.121 GB, free: 10.68 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.0001248/0.7303, allocations: 114.7 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.7304, allocations: 55.25 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.7307, allocations: 188.8 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7307, allocations: 0 / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7307, allocations: 0 / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.7308, allocations: 1.938 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.7311, allocations: 353.9 kB / 1.122 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7311, allocations: 4 kB / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.7312, allocations: 11.98 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7312, allocations: 4 kB / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7312, allocations: 0 / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7312, allocations: 0 / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7312, allocations: 0 / 1.122 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002761/0.7315, allocations: 204.2 kB / 1.122 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.7316, allocations: 140.3 kB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.7317, allocations: 7.984 kB / 1.122 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.7319, allocations: 12 kB / 1.122 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.7319, allocations: 19.97 kB / 1.122 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.732, allocations: 9.734 kB / 1.122 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005089/0.7325, allocations: 439.1 kB / 1.123 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003807/0.7329, allocations: 79.84 kB / 1.123 GB, free: 8.992 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.0008003/0.7337, allocations: 372.8 kB / 1.123 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.734, allocations: 147.9 kB / 1.123 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.734, allocations: 4.125 kB / 1.123 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.7341, allocations: 55.94 kB / 1.123 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.7346, allocations: 78.16 kB / 1.123 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.7358, allocations: 0.6081 MB / 1.124 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.7364, allocations: 0.9065 MB / 1.125 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.7364, allocations: 0 / 1.125 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of Templates: time 0.009313/0.7457, allocations: 3.979 MB / 1.129 GB, free: 3.012 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)