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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.422/1.422, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.001001/0.001002, allocations: 181.2 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.2 MB / 0.6195 GB, free: 2.938 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007703, allocations: 88.19 kB / 0.7326 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4167/0.4175, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.5993, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.854/5.453, allocations: 3.154 GB / 4.118 GB, free: 301.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/5.454, allocations: 104 kB / 4.118 GB, free: 301.4 MB / 0.948 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 30.12/35.58, allocations: 10.55 GB / 14.67 GB, free: 53.98 MB / 1.589 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/35.58, allocations: 12.19 kB / 14.67 GB, free: 53.98 MB / 1.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/35.59, allocations: 2.646 MB / 14.67 GB, free: 52.94 MB / 1.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0472/35.64, allocations: 20.38 MB / 14.69 GB, free: 49.76 MB / 1.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007292/35.64, allocations: 393.8 kB / 14.69 GB, free: 49.76 MB / 1.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004119/35.64, allocations: 0.7854 MB / 14.69 GB, free: 49.76 MB / 1.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02175/35.66, allocations: 8.111 MB / 14.7 GB, free: 49.71 MB / 1.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/35.69, allocations: 11.48 MB / 14.71 GB, free: 47.45 MB / 1.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/35.69, allocations: 46.25 kB / 14.71 GB, free: 47.42 MB / 1.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009486/35.69, allocations: 27.91 kB / 14.71 GB, free: 47.42 MB / 1.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002601/35.69, allocations: 338.1 kB / 14.71 GB, free: 47.41 MB / 1.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/35.82, allocations: 102.2 MB / 14.81 GB, free: 14.68 MB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006512/35.83, allocations: 4.36 MB / 14.82 GB, free: 10.84 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/35.83, allocations: 2.278 MB / 14.82 GB, free: 8.652 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192/37.02, allocations: 43.93 MB / 14.86 GB, free: 353.4 MB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/37.02, allocations: 122.2 kB / 14.86 GB, free: 353.3 MB / 1.651 GB Notification: Performance of pre-optimization done (n=423): time 7.925e-06/37.02, allocations: 2.719 kB / 14.86 GB, free: 353.3 MB / 1.651 GB Notification: Performance of matching and sorting (n=423): time 0.01482/37.04, allocations: 5.412 MB / 14.87 GB, free: 353.3 MB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/37.04, allocations: 0.785 MB / 14.87 GB, free: 352.4 MB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01617/37.06, allocations: 9.191 MB / 14.88 GB, free: 351.8 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/37.06, allocations: 57.23 kB / 14.88 GB, free: 351.8 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.004274/37.06, allocations: 5.573 MB / 14.88 GB, free: 350.2 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.003592/37.06, allocations: 1.419 MB / 14.88 GB, free: 349.5 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/37.07, allocations: 0 / 14.88 GB, free: 349.5 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.0002326/37.07, allocations: 0.5205 MB / 14.88 GB, free: 349.2 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/37.07, allocations: 1.776 MB / 14.89 GB, free: 349.2 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/37.07, allocations: 5.33 MB / 14.89 GB, free: 344.9 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006745/37.08, allocations: 3.336 MB / 14.89 GB, free: 344.9 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/37.08, allocations: 19.09 kB / 14.89 GB, free: 344.9 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01393/37.09, allocations: 7.301 MB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/37.09, allocations: 7.219 kB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/37.09, allocations: 66.22 kB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.34e-05/37.09, allocations: 108.6 kB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/37.1, allocations: 1.334 MB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.237e-05/37.1, allocations: 137.2 kB / 14.9 GB, free: 344.2 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009409/37.11, allocations: 0.9285 MB / 14.9 GB, free: 344 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/37.11, allocations: 411.9 kB / 14.9 GB, free: 344 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.0009162/37.11, allocations: 348.5 kB / 14.9 GB, free: 343.9 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003073/37.11, allocations: 1.357 MB / 14.91 GB, free: 343.3 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/37.12, allocations: 7.114 MB / 14.91 GB, free: 342.9 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-05/37.12, allocations: 70.91 kB / 14.91 GB, free: 342.9 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/37.12, allocations: 14.56 kB / 14.91 GB, free: 342.9 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004317/37.13, allocations: 3.858 MB / 14.92 GB, free: 341.2 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04303/37.17, allocations: 28.05 MB / 14.94 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.25e-05/37.17, allocations: 31.22 kB / 14.94 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/37.17, allocations: 0.7673 MB / 14.95 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.103e-05/37.17, allocations: 57.53 kB / 14.95 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/37.17, allocations: 103.2 kB / 14.95 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.05e-05/37.17, allocations: 72.91 kB / 14.95 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/37.17, allocations: 51.31 kB / 14.95 GB, free: 337.4 MB / 1.651 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01695/37.19, allocations: 23.16 MB / 14.97 GB, free: 321.1 MB / 1.651 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02264/37.21, allocations: 27.93 MB / 15 GB, free: 304.4 MB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006118/37.22, allocations: 2.376 MB / 15 GB, free: 303.6 MB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003291/37.22, allocations: 58.22 kB / 15 GB, free: 303.6 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007431/37.23, allocations: 408 kB / 15 GB, free: 303.6 MB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/37.23, allocations: 358.7 kB / 15 GB, free: 303.6 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005281/37.23, allocations: 258.9 kB / 15 GB, free: 303.6 MB / 1.651 GB Notification: Performance of sort global known variables: time 0.0129/37.25, allocations: 6.988 MB / 15.01 GB, free: 303.2 MB / 1.651 GB Notification: Performance of remove unused functions: time 0.0268/37.27, allocations: 9.395 MB / 15.01 GB, free: 302.9 MB / 1.651 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.03072/37.3, allocations: 21.41 MB / 15.04 GB, free: 290.4 MB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.00938/37.31, allocations: 5.035 MB / 15.04 GB, free: 290.4 MB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 3.724e-05/37.31, allocations: 7.312 kB / 15.04 GB, free: 290.4 MB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 0.003713/37.32, allocations: 2.499 MB / 15.04 GB, free: 290.4 MB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02635/37.34, allocations: 5.328 MB / 15.05 GB, free: 290.2 MB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04553/37.39, allocations: 20.69 MB / 15.07 GB, free: 284.3 MB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01412/37.4, allocations: 8.614 MB / 15.08 GB, free: 283.3 MB / 1.651 GB Notification: Performance of SimCode: time 5.91e-07/37.4, allocations: 0 / 15.08 GB, free: 283.3 MB / 1.651 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)