Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001546/0.001546, allocations: 173.3 kB / 366.3 MB, free: 2.02 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.683/1.683, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009796/0.0009796, allocations: 94.14 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3244/0.3254, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/1.093, allocations: 116.3 MB / 0.9727 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.228/7.32, allocations: 3.155 GB / 4.128 GB, free: 301.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/7.321, allocations: 112.2 kB / 4.128 GB, free: 301.2 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 32.67/39.99, allocations: 10.55 GB / 14.68 GB, free: 65.04 MB / 1.604 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/39.99, allocations: 9.156 kB / 14.68 GB, free: 65.04 MB / 1.604 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/40, allocations: 2.645 MB / 14.68 GB, free: 64 MB / 1.604 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05221/40.06, allocations: 20.39 MB / 14.7 GB, free: 61.55 MB / 1.604 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/40.06, allocations: 393.8 kB / 14.7 GB, free: 61.55 MB / 1.604 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/40.06, allocations: 0.7867 MB / 14.7 GB, free: 61.55 MB / 1.604 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02394/40.09, allocations: 8.12 MB / 14.71 GB, free: 61.49 MB / 1.604 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/40.13, allocations: 11.48 MB / 14.72 GB, free: 59.38 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008441/40.13, allocations: 38.28 kB / 14.72 GB, free: 59.38 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003606/40.13, allocations: 23.41 kB / 14.72 GB, free: 59.38 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/40.13, allocations: 344.5 kB / 14.72 GB, free: 59.38 MB / 1.604 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.148/40.28, allocations: 102.2 MB / 14.82 GB, free: 17.88 MB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006611/40.28, allocations: 4.35 MB / 14.83 GB, free: 17.13 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/40.29, allocations: 2.256 MB / 14.83 GB, free: 16.89 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06861/40.36, allocations: 43.93 MB / 14.87 GB, free: 14.69 MB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/40.36, allocations: 126.2 kB / 14.87 GB, free: 14.62 MB / 1.651 GB Notification: Performance of pre-optimization done (n=423): time 6.973e-06/40.36, allocations: 0 / 14.87 GB, free: 14.62 MB / 1.651 GB Notification: Performance of matching and sorting (n=423): time 0.01874/40.38, allocations: 5.413 MB / 14.88 GB, free: 13.84 MB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003199/40.38, allocations: 0.7925 MB / 14.88 GB, free: 12.92 MB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/40.4, allocations: 9.187 MB / 14.89 GB, free: 12.24 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.001636/40.4, allocations: 54.5 kB / 14.89 GB, free: 12.21 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.007008/40.41, allocations: 5.575 MB / 14.89 GB, free: 8.977 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.004667/40.41, allocations: 1.421 MB / 14.89 GB, free: 8.035 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/40.41, allocations: 3.938 kB / 14.89 GB, free: 8.031 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.0003465/40.41, allocations: 0.5166 MB / 14.89 GB, free: 7.719 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/40.42, allocations: 1.776 MB / 14.9 GB, free: 7.703 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/40.42, allocations: 5.324 MB / 14.9 GB, free: 3.332 MB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008997/40.43, allocations: 3.339 MB / 14.9 GB, free: 3.07 MB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/40.43, allocations: 19.47 kB / 14.9 GB, free: 3.07 MB / 1.651 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02057/40.45, allocations: 7.304 MB / 14.91 GB, free: 1.996 MB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/40.45, allocations: 6.531 kB / 14.91 GB, free: 1.996 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.933e-05/40.45, allocations: 64.97 kB / 14.91 GB, free: 1.996 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/40.45, allocations: 106.4 kB / 14.91 GB, free: 1.996 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/40.46, allocations: 1.338 MB / 14.91 GB, free: 1.895 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/40.46, allocations: 139.2 kB / 14.91 GB, free: 1.867 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/40.47, allocations: 0.9254 MB / 14.91 GB, free: 1.508 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/40.47, allocations: 411.6 kB / 14.91 GB, free: 1.508 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.002189/40.47, allocations: 354.3 kB / 14.91 GB, free: 1.258 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004899/40.48, allocations: 1.356 MB / 14.92 GB, free: 0.5938 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/40.49, allocations: 7.096 MB / 14.92 GB, free: 148 kB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/40.49, allocations: 77.38 kB / 14.92 GB, free: 148 kB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/40.5, allocations: 15.44 kB / 14.92 GB, free: 140 kB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005698/40.5, allocations: 3.86 MB / 14.93 GB, free: 14.36 MB / 1.667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06055/40.56, allocations: 28.06 MB / 14.95 GB, free: 10.24 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001521/40.56, allocations: 32.59 kB / 14.95 GB, free: 10.24 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/40.57, allocations: 0.7686 MB / 14.95 GB, free: 10.18 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/40.57, allocations: 60.75 kB / 14.95 GB, free: 10.18 MB / 1.667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007511/40.57, allocations: 109.6 kB / 14.96 GB, free: 10.17 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.937e-05/40.57, allocations: 70.47 kB / 14.96 GB, free: 10.16 MB / 1.667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.133e-05/40.57, allocations: 54.03 kB / 14.96 GB, free: 10.14 MB / 1.667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02707/40.59, allocations: 23.16 MB / 14.98 GB, free: 9.684 MB / 1.682 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03569/40.63, allocations: 27.92 MB / 15.01 GB, free: 8.82 MB / 1.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008981/40.64, allocations: 2.381 MB / 15.01 GB, free: 7.984 MB / 1.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00505/40.64, allocations: 60.47 kB / 15.01 GB, free: 7.98 MB / 1.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01024/40.65, allocations: 400.5 kB / 15.01 GB, free: 7.906 MB / 1.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/40.65, allocations: 365.4 kB / 15.01 GB, free: 7.844 MB / 1.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001423/40.66, allocations: 265.6 kB / 15.01 GB, free: 7.844 MB / 1.698 GB Notification: Performance of sort global known variables: time 0.02023/40.68, allocations: 6.992 MB / 15.02 GB, free: 7.488 MB / 1.698 GB Notification: Performance of remove unused functions: time 0.0395/40.72, allocations: 9.393 MB / 15.02 GB, free: 5.469 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.03983/40.76, allocations: 21.41 MB / 15.05 GB, free: 1.793 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 1.326/42.08, allocations: 5.038 MB / 15.05 GB, free: 418.4 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 3.464e-05/42.08, allocations: 10.88 kB / 15.05 GB, free: 418.3 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/42.09, allocations: 2.488 MB / 15.05 GB, free: 418.3 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02675/42.11, allocations: 5.32 MB / 15.06 GB, free: 418.3 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04562/42.16, allocations: 20.71 MB / 15.08 GB, free: 412.3 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01424/42.17, allocations: 8.623 MB / 15.09 GB, free: 411.3 MB / 1.714 GB Notification: Performance of SimCode: time 7.42e-07/42.17, allocations: 0 / 15.09 GB, free: 411.3 MB / 1.714 GB (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)