Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [: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.51/1.51, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001183/0.001183, allocations: 185.3 kB / 361.1 MB, free: 7.059 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.33/1.33, allocations: 205.1 MB / 0.6195 GB, free: 10.24 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.000844/0.000844, allocations: 87.84 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.704e-06, allocations: 0 / 0.8511 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5634, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.384, allocations: 3.154 GB / 4.118 GB, free: 85.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/5.385, allocations: 100.9 kB / 4.118 GB, free: 85.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 31.12/36.51, allocations: 10.53 GB / 14.65 GB, free: 80.27 MB / 1.604 GB Notification: Performance of Transformations before backend: time 0.00335/36.51, allocations: 0.5402 MB / 14.65 GB, free: 80.16 MB / 1.604 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04784/36.56, allocations: 17.67 MB / 14.67 GB, free: 72.05 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/36.56, allocations: 8.969 kB / 14.67 GB, free: 72.05 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/36.57, allocations: 2.651 MB / 14.67 GB, free: 71.01 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04798/36.62, allocations: 20.39 MB / 14.69 GB, free: 68.55 MB / 1.604 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007168/36.62, allocations: 394.4 kB / 14.69 GB, free: 68.55 MB / 1.604 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004159/36.63, allocations: 0.7883 MB / 14.69 GB, free: 68.55 MB / 1.604 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02163/36.65, allocations: 8.115 MB / 14.7 GB, free: 68.5 MB / 1.604 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/36.68, allocations: 11.48 MB / 14.71 GB, free: 66.39 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006315/36.68, allocations: 38.44 kB / 14.71 GB, free: 66.39 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002916/36.68, allocations: 29.75 kB / 14.71 GB, free: 66.39 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/36.68, allocations: 336.2 kB / 14.71 GB, free: 66.39 MB / 1.604 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1349/36.82, allocations: 102.2 MB / 14.81 GB, free: 10.41 MB / 1.604 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006048/36.83, allocations: 4.357 MB / 14.82 GB, free: 9.711 MB / 1.604 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/36.83, allocations: 2.269 MB / 14.82 GB, free: 9.469 MB / 1.604 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06551/36.89, allocations: 43.94 MB / 14.86 GB, free: 7.266 MB / 1.635 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/36.89, allocations: 123.6 kB / 14.86 GB, free: 7.223 MB / 1.635 GB Notification: Performance of pre-optimization done (n=423): time 1.124e-05/36.89, allocations: 0 / 14.86 GB, free: 7.223 MB / 1.635 GB Notification: Performance of matching and sorting (n=423): time 0.01606/36.91, allocations: 5.417 MB / 14.87 GB, free: 6.469 MB / 1.635 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005119/36.91, allocations: 0.7841 MB / 14.87 GB, free: 5.559 MB / 1.635 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02594/36.94, allocations: 9.188 MB / 14.88 GB, free: 4.875 MB / 1.635 GB Notification: Performance of collectPreVariables (initialization): time 0.001536/36.94, allocations: 53.58 kB / 14.88 GB, free: 4.844 MB / 1.635 GB Notification: Performance of collectInitialEqns (initialization): time 0.006449/36.94, allocations: 5.574 MB / 14.88 GB, free: 1.613 MB / 1.635 GB Notification: Performance of collectInitialBindings (initialization): time 0.004174/36.95, allocations: 1.421 MB / 14.88 GB, free: 0.6719 MB / 1.635 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/36.95, allocations: 0 / 14.88 GB, free: 0.6719 MB / 1.635 GB Notification: Performance of setup shared object (initialization): time 0.0003029/36.95, allocations: 0.5179 MB / 14.88 GB, free: 364 kB / 1.635 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/36.95, allocations: 1.777 MB / 14.89 GB, free: 348 kB / 1.635 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/36.96, allocations: 5.334 MB / 14.89 GB, free: 12.01 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008251/36.97, allocations: 3.345 MB / 14.89 GB, free: 11.75 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/36.97, allocations: 19.53 kB / 14.89 GB, free: 11.75 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01839/36.98, allocations: 7.299 MB / 14.9 GB, free: 10.68 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/36.98, allocations: 7.344 kB / 14.9 GB, free: 10.68 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/36.98, allocations: 69.47 kB / 14.9 GB, free: 10.68 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/36.98, allocations: 105.9 kB / 14.9 GB, free: 10.68 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005112/36.99, allocations: 1.332 MB / 14.9 GB, free: 10.58 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/36.99, allocations: 140.5 kB / 14.9 GB, free: 10.55 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/37, allocations: 0.9243 MB / 14.9 GB, free: 10.2 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/37, allocations: 413.6 kB / 14.9 GB, free: 10.2 MB / 1.651 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.002328/37.01, allocations: 351.8 kB / 14.9 GB, free: 9.941 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00492/37.01, allocations: 1.354 MB / 14.91 GB, free: 9.281 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/37.03, allocations: 7.099 MB / 14.91 GB, free: 8.844 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001449/37.03, allocations: 80.56 kB / 14.91 GB, free: 8.84 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-05/37.03, allocations: 7.406 kB / 14.91 GB, free: 8.84 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005457/37.03, allocations: 3.864 MB / 14.92 GB, free: 7.059 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0543/37.09, allocations: 28.05 MB / 14.94 GB, free: 2.945 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/37.09, allocations: 31.16 kB / 14.94 GB, free: 2.945 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/37.09, allocations: 0.7709 MB / 14.94 GB, free: 2.891 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-05/37.09, allocations: 61.09 kB / 14.94 GB, free: 2.887 MB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006236/37.09, allocations: 98.48 kB / 14.95 GB, free: 2.887 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-05/37.09, allocations: 78.06 kB / 14.95 GB, free: 2.871 MB / 1.651 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.99e-05/37.09, allocations: 53.84 kB / 14.95 GB, free: 2.855 MB / 1.651 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02491/37.12, allocations: 23.17 MB / 14.97 GB, free: 2.387 MB / 1.667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007862/37.13, allocations: 2.379 MB / 14.97 GB, free: 1.551 MB / 1.667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004081/37.13, allocations: 59.03 kB / 14.97 GB, free: 1.547 MB / 1.667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008893/37.14, allocations: 406 kB / 14.97 GB, free: 1.469 MB / 1.667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008123/37.14, allocations: 353.3 kB / 14.97 GB, free: 1.418 MB / 1.667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009388/37.14, allocations: 263.2 kB / 14.97 GB, free: 1.418 MB / 1.667 GB Notification: Performance of sort global known variables: time 0.01749/37.16, allocations: 6.99 MB / 14.98 GB, free: 1.059 MB / 1.667 GB Notification: Performance of remove unused functions: time 0.0258/37.18, allocations: 6.634 MB / 14.98 GB, free: 15.93 MB / 1.682 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 149 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (483): * Single equations (assignments): 419 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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 Backend phase and start with SimCode phase: time 0.03785/37.22, allocations: 21.41 MB / 15.01 GB, free: 1.43 MB / 1.682 GB Notification: Performance of simCode: created initialization part: time 0.00938/37.23, allocations: 5.02 MB / 15.01 GB, free: 1.145 MB / 1.682 GB Notification: Performance of simCode: created event and clocks part: time 3.73e-05/37.23, allocations: 8.688 kB / 15.01 GB, free: 1.145 MB / 1.682 GB Notification: Performance of simCode: created simulation system equations: time 0.003939/37.23, allocations: 2.492 MB / 15.01 GB, free: 0.9922 MB / 1.682 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0277/37.26, allocations: 5.336 MB / 15.02 GB, free: 0.5625 MB / 1.682 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/37.31, allocations: 20.69 MB / 15.04 GB, free: 9.922 MB / 1.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01152/37.32, allocations: 8.577 MB / 15.05 GB, free: 8.703 MB / 1.698 GB Notification: Performance of SimCode: time 7.62e-07/37.32, allocations: 4 kB / 15.05 GB, free: 8.699 MB / 1.698 GB Notification: Performance of Templates: time 1.561/38.88, allocations: 274.1 MB / 15.31 GB, free: 434.1 MB / 1.729 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)