Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.00111/0.00111, allocations: 177.2 kB / 361.1 MB, free: 7.125 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.174/1.174, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0008484/0.0008481, allocations: 89.08 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2091/0.21, allocations: 121.4 MB / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.7388, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7938/1.533, allocations: 485.8 MB / 1.438 GB, free: 75.67 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.533, allocations: 87.41 kB / 1.438 GB, free: 75.62 MB / 0.8542 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 17.2/18.73, allocations: 5.405 GB / 6.844 GB, free: 34.96 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/18.73, allocations: 12.97 kB / 6.844 GB, free: 34.96 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/18.74, allocations: 2.629 MB / 6.846 GB, free: 33.22 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05995/18.8, allocations: 19.27 MB / 6.865 GB, free: 14.84 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006285/18.81, allocations: 236 kB / 6.865 GB, free: 14.61 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0033/18.81, allocations: 459.4 kB / 6.866 GB, free: 14.16 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01702/18.83, allocations: 5.621 MB / 6.871 GB, free: 8.535 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/18.85, allocations: 7.31 MB / 6.878 GB, free: 0.8281 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003935/18.85, allocations: 27.77 kB / 6.878 GB, free: 0.8008 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/18.85, allocations: 16 kB / 6.878 GB, free: 0.7852 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/18.85, allocations: 199.9 kB / 6.879 GB, free: 0.5898 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.449/20.3, allocations: 47.47 MB / 6.925 GB, free: 141.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/20.31, allocations: 2.065 MB / 6.927 GB, free: 141.7 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/20.31, allocations: 2.023 MB / 6.929 GB, free: 141.7 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/20.33, allocations: 9.491 MB / 6.938 GB, free: 138.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002764/20.33, allocations: 1.872 MB / 6.94 GB, free: 138 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 8.415e-06/20.33, allocations: 0 / 6.94 GB, free: 138 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01131/20.34, allocations: 4.462 MB / 6.944 GB, free: 137.8 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/20.34, allocations: 85.08 kB / 6.945 GB, free: 137.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/20.36, allocations: 7.684 MB / 6.952 GB, free: 137.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/20.36, allocations: 39.14 kB / 6.952 GB, free: 137.2 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.004533/20.37, allocations: 3.224 MB / 6.955 GB, free: 136.3 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003142/20.37, allocations: 1.13 MB / 6.956 GB, free: 135.7 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/20.37, allocations: 0 / 6.956 GB, free: 135.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002794/20.37, allocations: 494.1 kB / 6.957 GB, free: 135.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/20.37, allocations: 1.5 MB / 6.958 GB, free: 135.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/20.37, allocations: 3.577 MB / 6.962 GB, free: 132.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005388/20.38, allocations: 2.433 MB / 6.964 GB, free: 132.7 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/20.38, allocations: 19.06 kB / 6.964 GB, free: 132.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01337/20.39, allocations: 6.007 MB / 6.97 GB, free: 132 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005459/20.4, allocations: 31.12 MB / 7 GB, free: 98.91 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/20.4, allocations: 51.75 kB / 7 GB, free: 98.91 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/20.4, allocations: 496.3 kB / 7.001 GB, free: 98.83 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/20.41, allocations: 1.128 MB / 7.002 GB, free: 98.83 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/20.41, allocations: 8.229 MB / 7.01 GB, free: 92.13 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/20.42, allocations: 0.8825 MB / 7.011 GB, free: 91.99 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/20.42, allocations: 271.3 kB / 7.011 GB, free: 91.99 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/20.42, allocations: 2.875 kB / 7.011 GB, free: 91.99 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/20.44, allocations: 4.8 MB / 7.016 GB, free: 91.82 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/20.44, allocations: 53.8 kB / 7.016 GB, free: 91.82 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/20.44, allocations: 491.6 kB / 7.016 GB, free: 91.74 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/20.44, allocations: 1.1 MB / 7.017 GB, free: 91.74 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/20.45, allocations: 8.239 MB / 7.026 GB, free: 85.04 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/20.46, allocations: 0.78 MB / 7.026 GB, free: 84.93 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/20.46, allocations: 260.9 kB / 7.027 GB, free: 84.93 MB / 1.214 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.002632/20.46, allocations: 301.1 kB / 7.027 GB, free: 84.81 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004176/20.47, allocations: 0.9644 MB / 7.028 GB, free: 84.29 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/20.48, allocations: 5.249 MB / 7.033 GB, free: 83.96 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/20.48, allocations: 46.95 kB / 7.033 GB, free: 83.96 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/20.48, allocations: 2.75 kB / 7.033 GB, free: 83.96 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006979/20.49, allocations: 3.509 MB / 7.036 GB, free: 83.73 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03716/20.53, allocations: 11.54 MB / 7.048 GB, free: 83.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/20.53, allocations: 0.75 kB / 7.048 GB, free: 83.07 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003786/20.53, allocations: 0.7316 MB / 7.048 GB, free: 83.07 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/20.53, allocations: 425.9 kB / 7.049 GB, free: 82.99 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006566/20.53, allocations: 75.75 kB / 7.049 GB, free: 82.99 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/20.54, allocations: 8.133 MB / 7.057 GB, free: 76.29 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/20.54, allocations: 1.031 kB / 7.057 GB, free: 76.29 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0159/20.56, allocations: 6.951 MB / 7.064 GB, free: 75.21 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02037/20.58, allocations: 10.07 MB / 7.073 GB, free: 73.72 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008135/20.58, allocations: 1.767 MB / 7.075 GB, free: 73.11 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004447/20.59, allocations: 22.22 kB / 7.075 GB, free: 73.11 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01042/20.6, allocations: 0.5838 MB / 7.076 GB, free: 73.09 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000754/20.6, allocations: 203.3 kB / 7.076 GB, free: 73.08 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001129/20.6, allocations: 199.2 kB / 7.076 GB, free: 73.08 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.01789/20.62, allocations: 5.763 MB / 7.082 GB, free: 72.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03608/20.66, allocations: 7.768 MB / 7.089 GB, free: 72.44 MB / 1.214 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.0118/20.67, allocations: 6.499 MB / 7.096 GB, free: 69.65 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0164/20.68, allocations: 7.361 MB / 7.103 GB, free: 69.11 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/20.68, allocations: 12.69 kB / 7.103 GB, free: 69.11 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004394/20.69, allocations: 2.109 MB / 7.105 GB, free: 68.89 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02709/20.71, allocations: 4.507 MB / 7.109 GB, free: 68.84 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04666/20.76, allocations: 15.33 MB / 7.124 GB, free: 65.46 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008538/20.77, allocations: 6.539 MB / 7.131 GB, free: 64.53 MB / 1.214 GB Notification: Performance of SimCode: time 8.92e-07/20.77, allocations: 0 / 7.131 GB, free: 64.53 MB / 1.214 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)