Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",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.577/1.577, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001209/0.001209, allocations: 181.3 kB / 366.3 MB, free: 2.012 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.504/1.504, allocations: 205.1 MB / 0.6256 GB, free: 5.922 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.0009567/0.0009562, allocations: 90.17 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2737/0.2747, allocations: 122.4 MB / 0.8591 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.942, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9584/1.9, allocations: 486.8 MB / 1.448 GB, free: 3.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.901, allocations: 96.19 kB / 1.448 GB, free: 3.402 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 20.52/22.42, allocations: 5.405 GB / 6.854 GB, free: 1.27 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/22.42, allocations: 12 kB / 6.854 GB, free: 1.258 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.814/24.23, allocations: 2.622 MB / 6.856 GB, free: 125.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06374/24.3, allocations: 19.28 MB / 6.875 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006039/24.3, allocations: 238.2 kB / 6.875 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003204/24.3, allocations: 456.7 kB / 6.876 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01599/24.32, allocations: 5.622 MB / 6.881 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/24.34, allocations: 7.311 MB / 6.888 GB, free: 123.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/24.34, allocations: 20.91 kB / 6.888 GB, free: 123.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009622/24.34, allocations: 14.78 kB / 6.888 GB, free: 123.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/24.34, allocations: 205.2 kB / 6.889 GB, free: 123.1 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08638/24.42, allocations: 47.49 MB / 6.935 GB, free: 96.28 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/24.43, allocations: 2.058 MB / 6.937 GB, free: 96.26 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/24.43, allocations: 2.019 MB / 6.939 GB, free: 96.23 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03117/24.46, allocations: 9.487 MB / 6.948 GB, free: 92.47 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004465/24.47, allocations: 1.875 MB / 6.95 GB, free: 92.37 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 7.744e-06/24.47, allocations: 0 / 6.95 GB, free: 92.37 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01463/24.48, allocations: 4.453 MB / 6.954 GB, free: 91.66 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/24.48, allocations: 92.48 kB / 6.954 GB, free: 91.59 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02823/24.51, allocations: 7.681 MB / 6.962 GB, free: 91 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/24.51, allocations: 42.77 kB / 6.962 GB, free: 90.96 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.007256/24.52, allocations: 3.22 MB / 6.965 GB, free: 89.39 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00408/24.52, allocations: 1.13 MB / 6.966 GB, free: 88.65 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/24.53, allocations: 0 / 6.966 GB, free: 88.65 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006956/24.53, allocations: 491.1 kB / 6.967 GB, free: 88.34 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/24.53, allocations: 1.5 MB / 6.968 GB, free: 88.32 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/24.54, allocations: 3.588 MB / 6.972 GB, free: 85.71 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008409/24.54, allocations: 2.43 MB / 6.974 GB, free: 85.65 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/24.55, allocations: 15.47 kB / 6.974 GB, free: 85.65 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02168/24.57, allocations: 6.008 MB / 6.98 GB, free: 84.95 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007007/24.57, allocations: 31.11 MB / 7.01 GB, free: 51.86 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/24.57, allocations: 54.09 kB / 7.01 GB, free: 51.86 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/24.58, allocations: 0.4954 MB / 7.011 GB, free: 51.79 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/24.58, allocations: 1.13 MB / 7.012 GB, free: 51.79 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/24.59, allocations: 8.223 MB / 7.02 GB, free: 45.07 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/24.6, allocations: 0.8906 MB / 7.021 GB, free: 44.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/24.6, allocations: 268.7 kB / 7.021 GB, free: 44.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/24.6, allocations: 3.031 kB / 7.021 GB, free: 44.8 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01648/24.62, allocations: 4.788 MB / 7.026 GB, free: 44.63 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/24.62, allocations: 56.91 kB / 7.026 GB, free: 44.63 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/24.62, allocations: 0.494 MB / 7.026 GB, free: 44.55 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005365/24.63, allocations: 1.095 MB / 7.027 GB, free: 44.55 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/24.63, allocations: 8.227 MB / 7.035 GB, free: 53.84 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/24.65, allocations: 0.7776 MB / 7.036 GB, free: 53.64 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/24.65, allocations: 263.4 kB / 7.036 GB, free: 53.64 MB / 1.229 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003224/24.65, allocations: 293.4 kB / 7.037 GB, free: 53.5 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004821/24.66, allocations: 0.9646 MB / 7.038 GB, free: 52.98 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/24.68, allocations: 5.251 MB / 7.043 GB, free: 52.65 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/24.68, allocations: 42.23 kB / 7.043 GB, free: 52.65 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/24.68, allocations: 3.438 kB / 7.043 GB, free: 52.65 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009361/24.69, allocations: 3.521 MB / 7.046 GB, free: 52.42 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04993/24.74, allocations: 11.54 MB / 7.057 GB, free: 51.71 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/24.74, allocations: 0 / 7.057 GB, free: 51.71 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/24.74, allocations: 0.7255 MB / 7.058 GB, free: 51.71 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/24.74, allocations: 423.4 kB / 7.059 GB, free: 51.64 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007216/24.74, allocations: 72.39 kB / 7.059 GB, free: 51.64 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/24.75, allocations: 8.131 MB / 7.067 GB, free: 44.93 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/24.75, allocations: 2.531 kB / 7.067 GB, free: 44.93 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01866/24.77, allocations: 6.957 MB / 7.073 GB, free: 43.84 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02295/24.79, allocations: 10.08 MB / 7.083 GB, free: 42.36 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01088/24.8, allocations: 1.768 MB / 7.085 GB, free: 41.7 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006876/24.81, allocations: 19.83 kB / 7.085 GB, free: 41.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01191/24.82, allocations: 0.5895 MB / 7.086 GB, free: 41.66 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/24.82, allocations: 202.7 kB / 7.086 GB, free: 41.66 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001191/24.82, allocations: 195.4 kB / 7.086 GB, free: 41.66 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02025/24.84, allocations: 5.761 MB / 7.092 GB, free: 41.38 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0497/24.89, allocations: 7.763 MB / 7.099 GB, free: 40.66 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/24.91, allocations: 6.505 MB / 7.106 GB, free: 37.85 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01739/24.92, allocations: 7.364 MB / 7.113 GB, free: 37.31 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/24.92, allocations: 5.094 kB / 7.113 GB, free: 37.31 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/24.93, allocations: 2.115 MB / 7.115 GB, free: 37.09 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0297/24.96, allocations: 4.517 MB / 7.119 GB, free: 37.01 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05416/25.01, allocations: 15.32 MB / 7.134 GB, free: 33.62 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01678/25.03, allocations: 6.535 MB / 7.141 GB, free: 32.69 MB / 1.229 GB Notification: Performance of SimCode: time 1.042e-06/25.03, allocations: 0.5625 kB / 7.141 GB, free: 32.69 MB / 1.229 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)