Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.219/2.219, 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.001612/0.001612, allocations: 189.2 kB / 360.4 MB, free: 7.508 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.713/1.713, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001205/0.001205, allocations: 88.69 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.323e-05, allocations: 4 kB / 0.8503 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.653, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.674/7.327, allocations: 3.154 GB / 4.117 GB, free: 24.99 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/7.328, allocations: 103 kB / 4.117 GB, free: 24.94 MB / 0.948 GB Notification: Performance of FrontEnd: time 47.95/55.27, allocations: 10.53 GB / 14.65 GB, free: 77.09 MB / 1.604 GB Notification: Performance of Transformations before backend: time 0.003861/55.28, allocations: 0.5409 MB / 14.65 GB, free: 76.98 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.06177/55.34, allocations: 17.68 MB / 14.67 GB, free: 68.81 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/55.34, allocations: 10.28 kB / 14.67 GB, free: 68.81 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01919/55.36, allocations: 2.644 MB / 14.67 GB, free: 67.77 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07271/55.43, allocations: 20.39 MB / 14.69 GB, free: 65.32 MB / 1.604 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000818/55.43, allocations: 391 kB / 14.69 GB, free: 65.32 MB / 1.604 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004851/55.44, allocations: 0.7921 MB / 14.69 GB, free: 65.32 MB / 1.604 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03274/55.47, allocations: 8.114 MB / 14.7 GB, free: 65.26 MB / 1.604 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04548/55.52, allocations: 11.48 MB / 14.71 GB, free: 63.14 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005736/55.52, allocations: 40.66 kB / 14.71 GB, free: 63.14 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002861/55.52, allocations: 23.44 kB / 14.71 GB, free: 63.14 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003879/55.52, allocations: 340.1 kB / 14.71 GB, free: 63.14 MB / 1.604 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2249/55.75, allocations: 102.2 MB / 14.81 GB, free: 22.21 MB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/55.76, allocations: 4.356 MB / 14.82 GB, free: 21.46 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006009/55.76, allocations: 2.264 MB / 14.82 GB, free: 21.22 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/55.89, allocations: 43.92 MB / 14.86 GB, free: 19.02 MB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/55.89, allocations: 121.4 kB / 14.86 GB, free: 18.96 MB / 1.651 GB Notification: Performance of pre-optimization done (n=423): time 8.647e-06/55.89, allocations: 0 / 14.86 GB, free: 18.96 MB / 1.651 GB Notification: Performance of matching and sorting (n=423): time 0.02359/55.91, allocations: 5.418 MB / 14.87 GB, free: 18.17 MB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00041/55.91, allocations: 0.7851 MB / 14.87 GB, free: 17.26 MB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03267/55.95, allocations: 9.189 MB / 14.88 GB, free: 16.57 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.001836/55.95, allocations: 53.77 kB / 14.88 GB, free: 16.54 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.00859/55.96, allocations: 5.577 MB / 14.88 GB, free: 13.31 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.005721/55.96, allocations: 1.427 MB / 14.88 GB, free: 12.36 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008041/55.96, allocations: 0.75 kB / 14.88 GB, free: 12.36 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.0004895/55.96, allocations: 0.5143 MB / 14.88 GB, free: 12.05 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00549/55.97, allocations: 1.777 MB / 14.88 GB, free: 12.04 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009952/55.98, allocations: 5.328 MB / 14.89 GB, free: 7.66 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/55.99, allocations: 3.338 MB / 14.89 GB, free: 7.398 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.162e-05/55.99, allocations: 18.53 kB / 14.89 GB, free: 7.398 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.03058/56.02, allocations: 7.301 MB / 14.9 GB, free: 6.328 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/56.02, allocations: 6.125 kB / 14.9 GB, free: 6.328 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/56.02, allocations: 64.97 kB / 14.9 GB, free: 6.328 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/56.02, allocations: 106.5 kB / 14.9 GB, free: 6.328 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/56.03, allocations: 1.335 MB / 14.9 GB, free: 6.23 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/56.03, allocations: 139.4 kB / 14.9 GB, free: 6.203 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01808/56.05, allocations: 0.9261 MB / 14.9 GB, free: 5.844 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/56.05, allocations: 416.9 kB / 14.9 GB, free: 5.844 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.00381/56.06, allocations: 361.6 kB / 14.9 GB, free: 5.586 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006672/56.07, allocations: 1.359 MB / 14.9 GB, free: 4.922 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04168/56.11, allocations: 7.096 MB / 14.91 GB, free: 4.48 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000344/56.11, allocations: 74.3 kB / 14.91 GB, free: 4.48 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.358e-05/56.11, allocations: 9.25 kB / 14.91 GB, free: 4.477 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01414/56.12, allocations: 3.865 MB / 14.92 GB, free: 2.691 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08656/56.21, allocations: 28.06 MB / 14.94 GB, free: 14.56 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001086/56.21, allocations: 35.94 kB / 14.94 GB, free: 14.56 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006506/56.22, allocations: 0.7635 MB / 14.94 GB, free: 14.51 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/56.22, allocations: 58.12 kB / 14.94 GB, free: 14.51 MB / 1.667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008877/56.22, allocations: 107.2 kB / 14.94 GB, free: 14.5 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.724e-05/56.22, allocations: 78.98 kB / 14.94 GB, free: 14.48 MB / 1.667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.79e-05/56.22, allocations: 49.78 kB / 14.94 GB, free: 14.47 MB / 1.667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03865/56.25, allocations: 23.16 MB / 14.97 GB, free: 14.01 MB / 1.682 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/56.27, allocations: 2.382 MB / 14.97 GB, free: 13.17 MB / 1.682 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005032/56.27, allocations: 55.45 kB / 14.97 GB, free: 13.17 MB / 1.682 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01393/56.28, allocations: 405.5 kB / 14.97 GB, free: 13.09 MB / 1.682 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/56.29, allocations: 358.5 kB / 14.97 GB, free: 13.04 MB / 1.682 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/56.29, allocations: 259.2 kB / 14.97 GB, free: 13.04 MB / 1.682 GB Notification: Performance of sort global known variables: time 0.02407/56.31, allocations: 6.994 MB / 14.98 GB, free: 12.68 MB / 1.682 GB Notification: Performance of remove unused functions: time 0.04166/56.35, allocations: 6.636 MB / 14.98 GB, free: 11.55 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.06365/56.42, allocations: 21.41 MB / 15 GB, free: 12.98 MB / 1.698 GB Notification: Performance of simCode: created initialization part: time 0.01487/56.43, allocations: 5.031 MB / 15.01 GB, free: 12.69 MB / 1.698 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-05/56.43, allocations: 8.375 kB / 15.01 GB, free: 12.69 MB / 1.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006712/56.44, allocations: 2.492 MB / 15.01 GB, free: 12.54 MB / 1.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04882/56.49, allocations: 5.328 MB / 15.02 GB, free: 12.09 MB / 1.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07311/56.56, allocations: 20.68 MB / 15.04 GB, free: 2.449 MB / 1.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04369/56.6, allocations: 9.73 MB / 15.05 GB, free: 15.15 MB / 1.714 GB Notification: Performance of SimCode: time 3.697e-06/56.6, allocations: 0 / 15.05 GB, free: 15.15 MB / 1.714 GB Notification: Performance of Templates: time 2.214/58.82, allocations: 274.1 MB / 15.31 GB, free: 415.7 MB / 1.714 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)