Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.888/1.888, allocations: 387.2 MB / 394.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 185.3 kB / 487 MB, free: 0.668 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.4 MB / 0.7819 GB, free: 6.73 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 101.3 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3/0.301, allocations: 148.5 MB / 1.066 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.9983, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9467/1.945, allocations: 483.9 MB / 1.678 GB, free: 124.8 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.945, allocations: 85.14 kB / 1.678 GB, free: 124.7 MB / 1.01 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 18.19/20.13, allocations: 5.512 GB / 7.19 GB, free: 8.809 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/20.13, allocations: 12 kB / 7.19 GB, free: 8.797 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/20.15, allocations: 3.012 MB / 7.193 GB, free: 5.766 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06872/20.22, allocations: 20.34 MB / 7.213 GB, free: 1.449 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005901/20.22, allocations: 236 kB / 7.213 GB, free: 1.219 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/20.23, allocations: 444 kB / 7.214 GB, free: 0.7852 MB / 1.401 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/20.24, allocations: 5.667 MB / 7.219 GB, free: 11.11 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/20.27, allocations: 7.395 MB / 7.227 GB, free: 3.312 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003817/20.27, allocations: 19.78 kB / 7.227 GB, free: 3.293 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/20.27, allocations: 16 kB / 7.227 GB, free: 3.277 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000288/20.27, allocations: 281 kB / 7.227 GB, free: 3 MB / 1.417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.565/21.83, allocations: 47.72 MB / 7.274 GB, free: 131.3 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/21.84, allocations: 2.095 MB / 7.276 GB, free: 131.3 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/21.84, allocations: 2.045 MB / 7.278 GB, free: 131.3 MB / 1.417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/21.86, allocations: 9.586 MB / 7.287 GB, free: 127.5 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002726/21.86, allocations: 1.913 MB / 7.289 GB, free: 127.4 MB / 1.417 GB Notification: Performance of pre-optimization done (n=339): time 6.292e-06/21.86, allocations: 0 / 7.289 GB, free: 127.4 MB / 1.417 GB Notification: Performance of matching and sorting (n=339): time 0.0109/21.87, allocations: 4.509 MB / 7.293 GB, free: 126.7 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/21.87, allocations: 85.89 kB / 7.293 GB, free: 126.6 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01573/21.89, allocations: 7.752 MB / 7.301 GB, free: 126.1 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/21.89, allocations: 37.83 kB / 7.301 GB, free: 126 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003817/21.89, allocations: 3.24 MB / 7.304 GB, free: 124.9 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003078/21.9, allocations: 1.126 MB / 7.305 GB, free: 124.3 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/21.9, allocations: 0 / 7.305 GB, free: 124.3 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0002653/21.9, allocations: 496.2 kB / 7.306 GB, free: 124 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/21.9, allocations: 1.522 MB / 7.307 GB, free: 124 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003136/21.9, allocations: 3.594 MB / 7.311 GB, free: 121.4 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005422/21.91, allocations: 2.443 MB / 7.313 GB, free: 121.4 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/21.91, allocations: 15.78 kB / 7.313 GB, free: 121.4 MB / 1.417 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.0138/21.92, allocations: 6.056 MB / 7.319 GB, free: 120.7 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.005153/21.93, allocations: 31.25 MB / 7.349 GB, free: 87.57 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/21.93, allocations: 51.62 kB / 7.349 GB, free: 87.57 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/21.93, allocations: 0.4907 MB / 7.35 GB, free: 87.49 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005857/21.93, allocations: 1.172 MB / 7.351 GB, free: 87.49 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/21.94, allocations: 8.229 MB / 7.359 GB, free: 80.79 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/21.95, allocations: 0.9144 MB / 7.36 GB, free: 80.65 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/21.95, allocations: 272.8 kB / 7.36 GB, free: 80.65 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/21.95, allocations: 6.25 kB / 7.36 GB, free: 80.65 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01361/21.97, allocations: 4.833 MB / 7.365 GB, free: 80.48 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/21.97, allocations: 52.47 kB / 7.365 GB, free: 80.48 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/21.97, allocations: 0.4933 MB / 7.366 GB, free: 80.4 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004899/21.97, allocations: 1.136 MB / 7.367 GB, free: 80.4 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/21.98, allocations: 8.228 MB / 7.375 GB, free: 73.7 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/21.99, allocations: 0.8143 MB / 7.375 GB, free: 73.6 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/21.99, allocations: 259.6 kB / 7.376 GB, free: 73.6 MB / 1.417 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.002559/21.99, allocations: 292.6 kB / 7.376 GB, free: 73.49 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00385/22, allocations: 0.9684 MB / 7.377 GB, free: 72.97 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/22.01, allocations: 5.333 MB / 7.382 GB, free: 72.64 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/22.01, allocations: 39.94 kB / 7.382 GB, free: 72.64 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/22.01, allocations: 3.5 kB / 7.382 GB, free: 72.64 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007918/22.02, allocations: 3.562 MB / 7.386 GB, free: 72.4 MB / 1.417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03788/22.06, allocations: 11.68 MB / 7.397 GB, free: 71.74 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/22.06, allocations: 0 / 7.397 GB, free: 71.74 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004087/22.06, allocations: 0.7629 MB / 7.398 GB, free: 71.74 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/22.06, allocations: 423.3 kB / 7.398 GB, free: 71.66 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004211/22.06, allocations: 69.95 kB / 7.398 GB, free: 71.66 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/22.07, allocations: 8.136 MB / 7.406 GB, free: 64.96 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/22.07, allocations: 3.031 kB / 7.406 GB, free: 64.96 MB / 1.417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01317/22.08, allocations: 7.044 MB / 7.413 GB, free: 63.88 MB / 1.417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02106/22.1, allocations: 10.21 MB / 7.423 GB, free: 62.39 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007278/22.11, allocations: 1.789 MB / 7.425 GB, free: 61.77 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003416/22.11, allocations: 16.19 kB / 7.425 GB, free: 61.77 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/22.12, allocations: 0.623 MB / 7.425 GB, free: 61.75 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008181/22.12, allocations: 202.4 kB / 7.426 GB, free: 61.74 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007846/22.13, allocations: 200.6 kB / 7.426 GB, free: 61.74 MB / 1.417 GB Notification: Performance of sort global known variables: time 0.01247/22.14, allocations: 5.818 MB / 7.432 GB, free: 61.46 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.02903/22.17, allocations: 7.766 MB / 7.439 GB, free: 61.12 MB / 1.417 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.0106/22.18, allocations: 6.519 MB / 7.446 GB, free: 58.38 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.01492/22.19, allocations: 7.442 MB / 7.453 GB, free: 57.83 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/22.19, allocations: 5.469 kB / 7.453 GB, free: 57.83 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.003453/22.2, allocations: 2.142 MB / 7.455 GB, free: 57.61 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02368/22.22, allocations: 4.449 MB / 7.459 GB, free: 57.55 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04356/22.26, allocations: 15.51 MB / 7.474 GB, free: 54.15 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/22.28, allocations: 6.572 MB / 7.481 GB, free: 53.21 MB / 1.417 GB Notification: Performance of SimCode: time 2.194e-06/22.28, allocations: 3.766 kB / 7.481 GB, free: 53.21 MB / 1.417 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)