Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.4 MB / 397.7 MB, free: 15.48 MB / 318.1 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: 180.8 kB / 490.8 MB, free: 6.434 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 0.7863 GB, free: 1.871 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009707, allocations: 87.2 kB / 0.9264 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 0.8089/0.8099, allocations: 149.1 MB / 1.072 GB, free: 186.3 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/1.155, allocations: 143 MB / 1.212 GB, free: 43.87 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.023/9.179, allocations: 3.173 GB / 4.385 GB, free: 33.97 MB / 1.154 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/9.179, allocations: 110.7 kB / 4.385 GB, free: 33.87 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 33.14/42.32, allocations: 10.75 GB / 15.13 GB, free: 72.8 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/42.32, allocations: 9.688 kB / 15.13 GB, free: 72.8 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/42.33, allocations: 2.672 MB / 15.13 GB, free: 71.74 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03977/42.37, allocations: 21.05 MB / 15.15 GB, free: 69.1 MB / 1.811 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/42.37, allocations: 404.1 kB / 15.15 GB, free: 69.1 MB / 1.811 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/42.38, allocations: 0.8102 MB / 15.16 GB, free: 69.09 MB / 1.811 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01657/42.39, allocations: 8.449 MB / 15.16 GB, free: 69.04 MB / 1.811 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/42.41, allocations: 11.89 MB / 15.17 GB, free: 66.89 MB / 1.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002562/42.41, allocations: 41.94 kB / 15.17 GB, free: 66.87 MB / 1.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/42.41, allocations: 28.22 kB / 15.17 GB, free: 66.87 MB / 1.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/42.41, allocations: 349.9 kB / 15.18 GB, free: 66.86 MB / 1.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.352/42.77, allocations: 234.6 MB / 15.4 GB, free: 3.914 MB / 1.889 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/42.77, allocations: 4.264 MB / 15.41 GB, free: 3.172 MB / 1.889 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/42.77, allocations: 2.251 MB / 15.41 GB, free: 2.934 MB / 1.889 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008197/42.78, allocations: 11.92 MB / 15.42 GB, free: 5.418 MB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/42.78, allocations: 127.6 kB / 15.42 GB, free: 5.352 MB / 1.904 GB Notification: Performance of pre-optimization done (n=413): time 6.573e-06/42.78, allocations: 0 / 15.42 GB, free: 5.352 MB / 1.904 GB Notification: Performance of matching and sorting (n=413): time 0.01321/42.8, allocations: 5.273 MB / 15.43 GB, free: 4.547 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002899/42.8, allocations: 0.791 MB / 15.43 GB, free: 3.629 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01545/42.81, allocations: 9.606 MB / 15.44 GB, free: 2.918 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.0009907/42.81, allocations: 52.48 kB / 15.44 GB, free: 2.887 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.005705/42.82, allocations: 5.839 MB / 15.44 GB, free: 15.5 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003822/42.82, allocations: 1.399 MB / 15.44 GB, free: 14.58 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/42.82, allocations: 0 / 15.44 GB, free: 14.58 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0003206/42.82, allocations: 0.5364 MB / 15.45 GB, free: 14.25 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/42.83, allocations: 1.821 MB / 15.45 GB, free: 14.24 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00594/42.83, allocations: 5.622 MB / 15.45 GB, free: 9.492 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008289/42.84, allocations: 3.457 MB / 15.46 GB, free: 9.211 MB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.051e-05/42.84, allocations: 25.88 kB / 15.46 GB, free: 9.207 MB / 1.92 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01704/42.86, allocations: 7.672 MB / 15.46 GB, free: 8.066 MB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/42.86, allocations: 5.062 kB / 15.46 GB, free: 8.066 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.291e-05/42.86, allocations: 74.78 kB / 15.46 GB, free: 8.066 MB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/42.86, allocations: 121.1 kB / 15.46 GB, free: 8.066 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/42.86, allocations: 1.423 MB / 15.47 GB, free: 7.957 MB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.752e-05/42.86, allocations: 166.6 kB / 15.47 GB, free: 7.918 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009483/42.87, allocations: 0.9509 MB / 15.47 GB, free: 7.535 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007326/42.87, allocations: 439.2 kB / 15.47 GB, free: 7.535 MB / 1.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (776): * Single equations (assignments): 776 * 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.001004/42.87, allocations: 367.3 kB / 15.47 GB, free: 7.273 MB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003107/42.88, allocations: 1.391 MB / 15.47 GB, free: 6.594 MB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/42.89, allocations: 6.792 MB / 15.48 GB, free: 6.234 MB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.981e-05/42.89, allocations: 75.95 kB / 15.48 GB, free: 6.234 MB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/42.89, allocations: 10.75 kB / 15.48 GB, free: 6.23 MB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005148/42.9, allocations: 3.857 MB / 15.48 GB, free: 4.453 MB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/42.94, allocations: 25.89 MB / 15.5 GB, free: 8.852 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/42.94, allocations: 32 kB / 15.5 GB, free: 8.82 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/42.94, allocations: 0.7578 MB / 15.5 GB, free: 8.184 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/42.94, allocations: 56 kB / 15.51 GB, free: 8.129 MB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/42.94, allocations: 104.7 kB / 15.51 GB, free: 8.059 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-05/42.94, allocations: 73.14 kB / 15.51 GB, free: 7.992 MB / 1.936 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.198e-05/42.94, allocations: 47.81 kB / 15.51 GB, free: 7.945 MB / 1.936 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.253/44.19, allocations: 22.86 MB / 15.53 GB, free: 438.1 MB / 1.936 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02186/44.22, allocations: 27.62 MB / 15.55 GB, free: 422.8 MB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005795/44.22, allocations: 2.361 MB / 15.56 GB, free: 422.2 MB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001851/44.22, allocations: 59.5 kB / 15.56 GB, free: 422.2 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005431/44.23, allocations: 403 kB / 15.56 GB, free: 422.2 MB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/44.23, allocations: 352.6 kB / 15.56 GB, free: 422.2 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000414/44.23, allocations: 258.6 kB / 15.56 GB, free: 422.2 MB / 1.936 GB Notification: Performance of sort global known variables: time 0.01034/44.24, allocations: 7.149 MB / 15.56 GB, free: 421.8 MB / 1.936 GB Notification: Performance of remove unused functions: time 0.02672/44.27, allocations: 9.545 MB / 15.57 GB, free: 421.5 MB / 1.936 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 (477): * Single equations (assignments): 413 * 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.02799/44.3, allocations: 21.41 MB / 15.6 GB, free: 409 MB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.008006/44.3, allocations: 5.113 MB / 15.6 GB, free: 409 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 2.892e-05/44.3, allocations: 10.69 kB / 15.6 GB, free: 409 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.002978/44.31, allocations: 2.447 MB / 15.6 GB, free: 409 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0243/44.33, allocations: 5.253 MB / 15.61 GB, free: 408.9 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03722/44.37, allocations: 21.26 MB / 15.63 GB, free: 402.8 MB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009799/44.38, allocations: 8.954 MB / 15.64 GB, free: 401.7 MB / 1.936 GB Notification: Performance of SimCode: time 8.12e-07/44.38, allocations: 0 / 15.64 GB, free: 401.7 MB / 1.936 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)