Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 168.7 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 85.83 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6593/0.6603, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.9487, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.124/8.073, allocations: 3.172 GB / 4.377 GB, free: 5.41 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/8.073, allocations: 107.8 kB / 4.377 GB, free: 5.309 MB / 1.151 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 34.86/42.93, allocations: 10.74 GB / 15.12 GB, free: 70.89 MB / 1.792 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/42.93, allocations: 10.06 kB / 15.12 GB, free: 70.89 MB / 1.792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/42.95, allocations: 2.632 MB / 15.12 GB, free: 69.86 MB / 1.792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04369/42.99, allocations: 20.45 MB / 15.14 GB, free: 67.09 MB / 1.792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/42.99, allocations: 392.8 kB / 15.14 GB, free: 67.09 MB / 1.792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/42.99, allocations: 0.7829 MB / 15.14 GB, free: 67.09 MB / 1.792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01754/43.01, allocations: 8.079 MB / 15.15 GB, free: 67.03 MB / 1.792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/43.03, allocations: 11.46 MB / 15.16 GB, free: 64.83 MB / 1.792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/43.03, allocations: 42 kB / 15.16 GB, free: 64.81 MB / 1.792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009652/43.03, allocations: 22.62 kB / 15.16 GB, free: 64.81 MB / 1.792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/43.03, allocations: 343.8 kB / 15.16 GB, free: 64.8 MB / 1.792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1294/43.16, allocations: 102.1 MB / 15.26 GB, free: 6.238 MB / 1.792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/43.17, allocations: 4.339 MB / 15.26 GB, free: 5.473 MB / 1.792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/43.17, allocations: 2.297 MB / 15.27 GB, free: 5.23 MB / 1.792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06424/43.24, allocations: 43.93 MB / 15.31 GB, free: 2.988 MB / 1.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/43.24, allocations: 119.2 kB / 15.31 GB, free: 2.934 MB / 1.823 GB Notification: Performance of pre-optimization done (n=423): time 6.412e-06/43.24, allocations: 0 / 15.31 GB, free: 2.934 MB / 1.823 GB Notification: Performance of matching and sorting (n=423): time 0.01492/43.25, allocations: 5.396 MB / 15.31 GB, free: 2.137 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000292/43.25, allocations: 0.7893 MB / 15.31 GB, free: 1.219 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/43.27, allocations: 9.136 MB / 15.32 GB, free: 0.5352 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001278/43.27, allocations: 51.48 kB / 15.32 GB, free: 0.5039 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005328/43.28, allocations: 5.558 MB / 15.33 GB, free: 13.29 MB / 1.839 GB Notification: Performance of collectInitialBindings (initialization): time 0.004246/43.28, allocations: 1.418 MB / 15.33 GB, free: 12.34 MB / 1.839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/43.28, allocations: 1.781 kB / 15.33 GB, free: 12.34 MB / 1.839 GB Notification: Performance of setup shared object (initialization): time 0.0002993/43.28, allocations: 0.5188 MB / 15.33 GB, free: 12.03 MB / 1.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/43.28, allocations: 1.759 MB / 15.33 GB, free: 12.01 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/43.29, allocations: 5.282 MB / 15.34 GB, free: 7.641 MB / 1.839 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007489/43.3, allocations: 3.319 MB / 15.34 GB, free: 7.375 MB / 1.839 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/43.3, allocations: 18.09 kB / 15.34 GB, free: 7.375 MB / 1.839 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01701/43.31, allocations: 7.261 MB / 15.35 GB, free: 6.305 MB / 1.839 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/43.31, allocations: 12.38 kB / 15.35 GB, free: 6.301 MB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/43.31, allocations: 64.56 kB / 15.35 GB, free: 6.301 MB / 1.839 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/43.31, allocations: 113.6 kB / 15.35 GB, free: 6.297 MB / 1.839 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/43.32, allocations: 1.333 MB / 15.35 GB, free: 6.199 MB / 1.839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001324/43.32, allocations: 137 kB / 15.35 GB, free: 6.172 MB / 1.839 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009759/43.33, allocations: 0.9065 MB / 15.35 GB, free: 5.816 MB / 1.839 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/43.33, allocations: 414.5 kB / 15.35 GB, free: 5.816 MB / 1.839 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.001083/43.33, allocations: 350.5 kB / 15.35 GB, free: 5.562 MB / 1.839 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003795/43.33, allocations: 1.35 MB / 15.35 GB, free: 4.902 MB / 1.839 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/43.35, allocations: 7.058 MB / 15.36 GB, free: 4.445 MB / 1.839 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.831e-05/43.35, allocations: 81.8 kB / 15.36 GB, free: 4.441 MB / 1.839 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/43.35, allocations: 13.22 kB / 15.36 GB, free: 4.438 MB / 1.839 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005264/43.35, allocations: 3.855 MB / 15.36 GB, free: 2.66 MB / 1.839 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04762/43.4, allocations: 27.98 MB / 15.39 GB, free: 1.934 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/43.4, allocations: 32 kB / 15.39 GB, free: 1.902 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/43.4, allocations: 0.7693 MB / 15.39 GB, free: 1.227 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/43.4, allocations: 59.94 kB / 15.39 GB, free: 1.168 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/43.4, allocations: 106.6 kB / 15.39 GB, free: 1.078 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/43.4, allocations: 78.53 kB / 15.39 GB, free: 1.008 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.809e-05/43.4, allocations: 52.47 kB / 15.39 GB, free: 0.957 MB / 1.854 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02146/43.43, allocations: 23.05 MB / 15.41 GB, free: 9.18 MB / 1.885 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.263/44.69, allocations: 27.79 MB / 15.44 GB, free: 402 MB / 1.886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006629/44.7, allocations: 2.368 MB / 15.44 GB, free: 401.9 MB / 1.886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003296/44.7, allocations: 58.12 kB / 15.44 GB, free: 401.9 MB / 1.886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007181/44.71, allocations: 402 kB / 15.44 GB, free: 401.9 MB / 1.886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/44.71, allocations: 367.3 kB / 15.44 GB, free: 401.9 MB / 1.886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/44.71, allocations: 262.7 kB / 15.44 GB, free: 401.9 MB / 1.886 GB Notification: Performance of sort global known variables: time 0.01149/44.72, allocations: 6.949 MB / 15.45 GB, free: 401.6 MB / 1.886 GB Notification: Performance of remove unused functions: time 0.02656/44.75, allocations: 9.384 MB / 15.46 GB, free: 401.5 MB / 1.886 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.02821/44.77, allocations: 21.41 MB / 15.48 GB, free: 389.1 MB / 1.886 GB Notification: Performance of simCode: created initialization part: time 0.007603/44.78, allocations: 4.995 MB / 15.49 GB, free: 389 MB / 1.886 GB Notification: Performance of simCode: created event and clocks part: time 2.646e-05/44.78, allocations: 12.75 kB / 15.49 GB, free: 389 MB / 1.886 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/44.78, allocations: 2.476 MB / 15.49 GB, free: 389 MB / 1.886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02389/44.81, allocations: 5.276 MB / 15.49 GB, free: 389 MB / 1.886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/44.85, allocations: 20.66 MB / 15.51 GB, free: 383 MB / 1.886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01057/44.86, allocations: 8.591 MB / 15.52 GB, free: 382 MB / 1.886 GB Notification: Performance of SimCode: time 7.42e-07/44.86, allocations: 0 / 15.52 GB, free: 382 MB / 1.886 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)