Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.958/1.958, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001088/0.001088, allocations: 181.2 kB / 487 MB, free: 5.359 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.381/1.381, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001031/0.001031, allocations: 98.86 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5837/0.5848, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.8411, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.749, allocations: 447.9 MB / 1.643 GB, free: 7.469 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.749, allocations: 99.89 kB / 1.643 GB, free: 7.414 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 3.31/5.06, allocations: 1.003 GB / 2.646 GB, free: 200.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/5.06, allocations: 8.812 kB / 2.646 GB, free: 200.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/5.065, allocations: 0.8979 MB / 2.647 GB, free: 200.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02122/5.086, allocations: 9.149 MB / 2.656 GB, free: 199.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/5.086, allocations: 36.38 kB / 2.656 GB, free: 199.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/5.086, allocations: 78.19 kB / 2.656 GB, free: 199.8 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/5.088, allocations: 0.9524 MB / 2.657 GB, free: 199.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/5.09, allocations: 1.218 MB / 2.658 GB, free: 199.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/5.091, allocations: 12.19 kB / 2.658 GB, free: 199.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/5.091, allocations: 3.938 kB / 2.658 GB, free: 199.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/5.091, allocations: 50.05 kB / 2.658 GB, free: 199.5 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/5.101, allocations: 8.32 MB / 2.666 GB, free: 194.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/5.102, allocations: 0.6888 MB / 2.667 GB, free: 194.5 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/5.103, allocations: 390.8 kB / 2.667 GB, free: 194.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004804/5.108, allocations: 2.921 MB / 2.67 GB, free: 192.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/5.108, allocations: 415.4 kB / 2.671 GB, free: 192.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/5.108, allocations: 0 / 2.671 GB, free: 192.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=67): time 0.002157/5.11, allocations: 0.8731 MB / 2.672 GB, free: 192.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/5.11, allocations: 59.91 kB / 2.672 GB, free: 192.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/5.112, allocations: 1.161 MB / 2.673 GB, free: 192.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/5.112, allocations: 32.17 kB / 2.673 GB, free: 192.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/5.113, allocations: 0.591 MB / 2.673 GB, free: 192.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/5.113, allocations: 234.6 kB / 2.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/5.113, allocations: 0 / 2.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001082/5.113, allocations: 339.7 kB / 2.674 GB, free: 191.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/5.113, allocations: 327 kB / 2.674 GB, free: 191.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/5.114, allocations: 0.745 MB / 2.675 GB, free: 191.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/5.115, allocations: 0.4996 MB / 2.675 GB, free: 191.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/5.115, allocations: 2.156 kB / 2.675 GB, free: 191.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002348/5.118, allocations: 1.21 MB / 2.677 GB, free: 191.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008521/5.119, allocations: 4.949 MB / 2.681 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/5.119, allocations: 16.59 kB / 2.681 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/5.119, allocations: 18.53 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/5.12, allocations: 314 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/5.12, allocations: 25.25 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/5.122, allocations: 198.4 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/5.122, allocations: 66.56 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.046e-06/5.122, allocations: 5.344 kB / 2.682 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002036/5.124, allocations: 0.9881 MB / 2.683 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/5.124, allocations: 10.59 kB / 2.683 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/5.124, allocations: 21.34 kB / 2.683 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/5.126, allocations: 315.5 kB / 2.683 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/5.126, allocations: 25.2 kB / 2.683 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/5.127, allocations: 182.1 kB / 2.684 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/5.127, allocations: 63.27 kB / 2.684 GB, free: 185.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.0002625/5.128, allocations: 141.6 kB / 2.684 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/5.128, allocations: 162.9 kB / 2.684 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/5.13, allocations: 1.193 MB / 2.685 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/5.13, allocations: 10.78 kB / 2.685 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/5.13, allocations: 0 / 2.685 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/5.132, allocations: 1.002 MB / 2.686 GB, free: 185.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/5.136, allocations: 2.306 MB / 2.688 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/5.136, allocations: 0 / 2.688 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/5.137, allocations: 196.8 kB / 2.689 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/5.137, allocations: 11.03 kB / 2.689 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/5.137, allocations: 17.64 kB / 2.689 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/5.137, allocations: 7.422 kB / 2.689 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/5.137, allocations: 2.938 kB / 2.689 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002233/5.14, allocations: 1.537 MB / 2.69 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002953/5.143, allocations: 2.487 MB / 2.692 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007907/5.143, allocations: 351.7 kB / 2.693 GB, free: 183.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/5.144, allocations: 7.812 kB / 2.693 GB, free: 183.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/5.145, allocations: 120.9 kB / 2.693 GB, free: 183.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/5.145, allocations: 53.67 kB / 2.693 GB, free: 183.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/5.145, allocations: 36.45 kB / 2.693 GB, free: 183.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001502/5.147, allocations: 0.8727 MB / 2.694 GB, free: 183.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008029/5.155, allocations: 1.302 MB / 2.695 GB, free: 183.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002809/5.158, allocations: 1.13 MB / 2.696 GB, free: 183.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002791/5.161, allocations: 1.486 MB / 2.698 GB, free: 183.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/5.161, allocations: 0 / 2.698 GB, free: 183.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/5.161, allocations: 421.3 kB / 2.698 GB, free: 183 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/5.165, allocations: 0.6538 MB / 2.699 GB, free: 183 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/5.173, allocations: 2.793 MB / 2.701 GB, free: 182.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/5.175, allocations: 1.589 MB / 2.703 GB, free: 181.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.192e-06/5.175, allocations: 0 / 2.703 GB, free: 181.7 MB / 1.182 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)