Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.223/2.223, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001972/0.001972, allocations: 181.2 kB / 360.3 MB, free: 7.555 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.819/1.819, allocations: 205.1 MB / 0.6187 GB, free: 13.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.001314/0.001313, allocations: 89.97 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3135/0.3149, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6594/0.9743, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.997/7.971, allocations: 3.154 GB / 4.117 GB, free: 25.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/7.972, allocations: 102.8 kB / 4.117 GB, free: 25.22 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 64.24/72.21, allocations: 10.55 GB / 14.67 GB, free: 68.72 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/72.21, allocations: 10.78 kB / 14.67 GB, free: 68.72 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/72.25, allocations: 2.642 MB / 14.67 GB, free: 67.68 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09281/72.34, allocations: 20.39 MB / 14.69 GB, free: 65.23 MB / 1.604 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/72.34, allocations: 392.8 kB / 14.69 GB, free: 65.23 MB / 1.604 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006236/72.35, allocations: 0.7932 MB / 14.69 GB, free: 65.23 MB / 1.604 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04004/72.39, allocations: 8.112 MB / 14.7 GB, free: 65.17 MB / 1.604 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05532/72.45, allocations: 11.47 MB / 14.71 GB, free: 63.06 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009649/72.45, allocations: 37.19 kB / 14.71 GB, free: 63.06 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005029/72.45, allocations: 29.94 kB / 14.71 GB, free: 63.06 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005873/72.45, allocations: 342 kB / 14.71 GB, free: 63.06 MB / 1.604 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2541/72.71, allocations: 102.2 MB / 14.81 GB, free: 5.855 MB / 1.604 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/72.72, allocations: 4.349 MB / 14.82 GB, free: 5.113 MB / 1.604 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006534/72.72, allocations: 2.268 MB / 14.82 GB, free: 4.875 MB / 1.604 GB Notification: Performance of preOpt evalFunc (simulation): time 0.133/72.86, allocations: 43.93 MB / 14.86 GB, free: 2.668 MB / 1.635 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/72.86, allocations: 121.3 kB / 14.86 GB, free: 2.609 MB / 1.635 GB Notification: Performance of pre-optimization done (n=423): time 9.999e-06/72.86, allocations: 0 / 14.86 GB, free: 2.609 MB / 1.635 GB Notification: Performance of matching and sorting (n=423): time 0.026/72.88, allocations: 5.423 MB / 14.87 GB, free: 1.824 MB / 1.635 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004745/72.88, allocations: 0.7873 MB / 14.87 GB, free: 0.9062 MB / 1.635 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03606/72.92, allocations: 9.192 MB / 14.88 GB, free: 16.22 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.002029/72.92, allocations: 53.08 kB / 14.88 GB, free: 16.19 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.01085/72.93, allocations: 5.568 MB / 14.88 GB, free: 12.97 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.006591/72.94, allocations: 1.42 MB / 14.88 GB, free: 12.03 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/72.94, allocations: 2.062 kB / 14.88 GB, free: 12.03 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.0007982/72.94, allocations: 0.5129 MB / 14.88 GB, free: 11.72 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006757/72.95, allocations: 1.776 MB / 14.88 GB, free: 11.7 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/72.96, allocations: 5.326 MB / 14.89 GB, free: 7.332 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/72.98, allocations: 3.344 MB / 14.89 GB, free: 7.066 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/72.98, allocations: 17.06 kB / 14.89 GB, free: 7.066 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.03268/73.01, allocations: 7.303 MB / 14.9 GB, free: 5.992 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/73.01, allocations: 6.125 kB / 14.9 GB, free: 5.992 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/73.01, allocations: 63.75 kB / 14.9 GB, free: 5.992 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/73.01, allocations: 106.9 kB / 14.9 GB, free: 5.992 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/73.02, allocations: 1.343 MB / 14.9 GB, free: 5.891 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/73.02, allocations: 139.5 kB / 14.9 GB, free: 5.863 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01867/73.04, allocations: 0.9224 MB / 14.9 GB, free: 5.504 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002629/73.04, allocations: 415.8 kB / 14.9 GB, free: 5.504 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.003931/73.05, allocations: 354.7 kB / 14.9 GB, free: 5.25 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006631/73.05, allocations: 1.352 MB / 14.9 GB, free: 4.59 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03208/73.09, allocations: 7.091 MB / 14.91 GB, free: 4.145 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002974/73.09, allocations: 80.98 kB / 14.91 GB, free: 4.141 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.134e-05/73.09, allocations: 8.375 kB / 14.91 GB, free: 4.141 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01105/73.1, allocations: 3.867 MB / 14.92 GB, free: 2.355 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08882/73.19, allocations: 28.06 MB / 14.94 GB, free: 14.23 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001587/73.19, allocations: 32.81 kB / 14.94 GB, free: 14.23 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006941/73.19, allocations: 0.7697 MB / 14.94 GB, free: 14.17 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/73.19, allocations: 58.69 kB / 14.94 GB, free: 14.17 MB / 1.667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/73.19, allocations: 105.8 kB / 14.94 GB, free: 14.17 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001062/73.19, allocations: 69.12 kB / 14.94 GB, free: 14.16 MB / 1.667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-05/73.19, allocations: 58 kB / 14.94 GB, free: 14.14 MB / 1.667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04286/73.24, allocations: 23.16 MB / 14.97 GB, free: 13.67 MB / 1.682 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05609/73.29, allocations: 27.92 MB / 14.99 GB, free: 12.8 MB / 1.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01136/73.31, allocations: 2.381 MB / 15 GB, free: 11.96 MB / 1.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005497/73.31, allocations: 56.23 kB / 15 GB, free: 11.96 MB / 1.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/73.33, allocations: 401.3 kB / 15 GB, free: 11.89 MB / 1.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001518/73.33, allocations: 370.5 kB / 15 GB, free: 11.83 MB / 1.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/73.33, allocations: 260.5 kB / 15 GB, free: 11.83 MB / 1.698 GB Notification: Performance of sort global known variables: time 0.02717/73.36, allocations: 6.989 MB / 15 GB, free: 11.47 MB / 1.698 GB Notification: Performance of remove unused functions: time 0.04728/73.4, allocations: 9.388 MB / 15.01 GB, free: 10.35 MB / 1.698 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.05952/73.46, allocations: 21.41 MB / 15.03 GB, free: 11.77 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.0159/73.48, allocations: 5.025 MB / 15.04 GB, free: 11.48 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 5.225e-05/73.48, allocations: 12.81 kB / 15.04 GB, free: 11.48 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.007452/73.49, allocations: 2.491 MB / 15.04 GB, free: 11.31 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05137/73.54, allocations: 5.33 MB / 15.05 GB, free: 8.191 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.169/75.71, allocations: 20.69 MB / 15.07 GB, free: 453.7 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04012/75.75, allocations: 8.625 MB / 15.08 GB, free: 452.7 MB / 1.714 GB Notification: Performance of SimCode: time 3.005e-06/75.75, allocations: 0 / 15.08 GB, free: 452.7 MB / 1.714 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)