Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.418/1.418, allocations: 285.5 MB / 292.8 MB, free: 9.887 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.0009846/0.0009847, allocations: 181.2 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 0.6195 GB, free: 2.953 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009628/0.0009632, allocations: 97.5 kB / 0.7326 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4843/0.4853, allocations: 121.4 MB / 0.8511 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.7016, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8174/1.519, allocations: 449.7 MB / 1.403 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.519, allocations: 95.88 kB / 1.403 GB, free: 8.824 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 2.864/4.384, allocations: 0.9889 GB / 2.392 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/4.384, allocations: 9.031 kB / 2.392 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/4.389, allocations: 0.808 MB / 2.393 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/4.414, allocations: 9.008 MB / 2.402 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/4.414, allocations: 42.88 kB / 2.402 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004241/4.415, allocations: 76 kB / 2.402 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002316/4.417, allocations: 0.9302 MB / 2.403 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/4.419, allocations: 1.241 MB / 2.404 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/4.419, allocations: 0 / 2.404 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/4.419, allocations: 6.812 kB / 2.404 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/4.419, allocations: 32 kB / 2.404 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/4.431, allocations: 8.286 MB / 2.412 GB, free: 92.99 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/4.432, allocations: 0.6764 MB / 2.413 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/4.433, allocations: 372.8 kB / 2.413 GB, free: 91.94 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005407/4.438, allocations: 2.891 MB / 2.416 GB, free: 88.82 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/4.439, allocations: 401.5 kB / 2.416 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 3.947e-06/4.439, allocations: 0 / 2.416 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.002294/4.441, allocations: 0.8608 MB / 2.417 GB, free: 87.54 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/4.441, allocations: 113 kB / 2.417 GB, free: 87.41 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/4.443, allocations: 1.183 MB / 2.418 GB, free: 86.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/4.443, allocations: 33.69 kB / 2.418 GB, free: 86.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/4.444, allocations: 0.5987 MB / 2.419 GB, free: 85.59 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/4.444, allocations: 228.6 kB / 2.419 GB, free: 85.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/4.444, allocations: 0 / 2.419 GB, free: 85.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/4.444, allocations: 352.3 kB / 2.419 GB, free: 85.01 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/4.445, allocations: 330.5 kB / 2.42 GB, free: 84.69 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/4.445, allocations: 0.7804 MB / 2.42 GB, free: 83.71 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/4.447, allocations: 0.5066 MB / 2.421 GB, free: 83.22 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/4.447, allocations: 4 kB / 2.421 GB, free: 83.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002442/4.449, allocations: 1.245 MB / 2.422 GB, free: 81.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000914/4.45, allocations: 4.966 MB / 2.427 GB, free: 76.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/4.45, allocations: 12 kB / 2.427 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/4.45, allocations: 23.91 kB / 2.427 GB, free: 76.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/4.451, allocations: 299.4 kB / 2.427 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.294e-05/4.452, allocations: 30.98 kB / 2.427 GB, free: 76.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/4.454, allocations: 193.1 kB / 2.428 GB, free: 76.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/4.454, allocations: 67.09 kB / 2.428 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/4.454, allocations: 7.938 kB / 2.428 GB, free: 76.03 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002327/4.456, allocations: 1.003 MB / 2.429 GB, free: 75.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/4.456, allocations: 19.98 kB / 2.429 GB, free: 75.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/4.456, allocations: 23.91 kB / 2.429 GB, free: 74.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/4.457, allocations: 291.8 kB / 2.429 GB, free: 74.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/4.457, allocations: 23 kB / 2.429 GB, free: 74.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/4.459, allocations: 178.7 kB / 2.429 GB, free: 74.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/4.459, allocations: 67.97 kB / 2.429 GB, free: 74.46 MB / 0.9323 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 (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.000338/4.46, allocations: 144.5 kB / 2.429 GB, free: 74.31 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/4.46, allocations: 173.4 kB / 2.429 GB, free: 74.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/4.463, allocations: 1.17 MB / 2.431 GB, free: 73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/4.463, allocations: 8 kB / 2.431 GB, free: 72.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/4.463, allocations: 0 / 2.431 GB, free: 72.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/4.465, allocations: 0.9899 MB / 2.432 GB, free: 71.93 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/4.469, allocations: 2.28 MB / 2.434 GB, free: 69.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/4.469, allocations: 2.688 kB / 2.434 GB, free: 69.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/4.47, allocations: 189.5 kB / 2.434 GB, free: 69.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/4.47, allocations: 7.906 kB / 2.434 GB, free: 69.44 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/4.47, allocations: 15.98 kB / 2.434 GB, free: 69.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/4.47, allocations: 4 kB / 2.434 GB, free: 69.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/4.47, allocations: 3.938 kB / 2.434 GB, free: 69.41 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002541/4.473, allocations: 1.532 MB / 2.436 GB, free: 67.85 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003193/4.476, allocations: 2.463 MB / 2.438 GB, free: 65.36 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/4.477, allocations: 354.1 kB / 2.438 GB, free: 64.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/4.478, allocations: 10.56 kB / 2.438 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/4.479, allocations: 114.1 kB / 2.438 GB, free: 64.88 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/4.479, allocations: 56.47 kB / 2.438 GB, free: 64.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/4.479, allocations: 35.97 kB / 2.438 GB, free: 64.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001421/4.481, allocations: 0.8834 MB / 2.439 GB, free: 63.92 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006056/4.487, allocations: 1.369 MB / 2.441 GB, free: 62.55 MB / 0.9323 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.x[1],pum.filter.x[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 (77): * Single equations (assignments): 68 * 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.002542/4.489, allocations: 1.17 MB / 2.442 GB, free: 61.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002558/4.492, allocations: 1.567 MB / 2.443 GB, free: 60.01 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/4.492, allocations: 0 / 2.443 GB, free: 60.01 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/4.492, allocations: 406.3 kB / 2.444 GB, free: 59.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/4.496, allocations: 0.6863 MB / 2.444 GB, free: 58.98 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/4.504, allocations: 2.79 MB / 2.447 GB, free: 56.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/4.506, allocations: 1.605 MB / 2.449 GB, free: 54.59 MB / 0.9323 GB Notification: Performance of SimCode: time 9.21e-07/4.506, allocations: 0 / 2.449 GB, free: 54.59 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)