Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.394/1.394, allocations: 285.5 MB / 292.8 MB, free: 9.914 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.001003/0.001003, allocations: 179.7 kB / 361.1 MB, free: 400 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.185/1.185, allocations: 205.1 MB / 0.6195 GB, free: 2.836 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.001342/0.001342, allocations: 95.81 kB / 0.7326 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4671/0.4685, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.6606, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7423/1.403, allocations: 409.4 MB / 1.364 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.403, allocations: 91.52 kB / 1.364 GB, free: 10.16 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 8.064/9.468, allocations: 2.745 GB / 4.108 GB, free: 10.36 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/9.468, allocations: 17.89 kB / 4.109 GB, free: 10.35 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/9.47, allocations: 0.7725 MB / 4.109 GB, free: 9.566 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5686/10.04, allocations: 59.77 MB / 4.168 GB, free: 120 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/10.04, allocations: 129.7 kB / 4.168 GB, free: 120 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/10.04, allocations: 251.5 kB / 4.168 GB, free: 120 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005931/10.05, allocations: 2.545 MB / 4.17 GB, free: 119.9 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007445/10.05, allocations: 3.619 MB / 4.174 GB, free: 119.2 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/10.05, allocations: 15.53 kB / 4.174 GB, free: 119.2 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/10.05, allocations: 13.12 kB / 4.174 GB, free: 119.2 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/10.05, allocations: 119 kB / 4.174 GB, free: 119.2 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02649/10.08, allocations: 26.04 MB / 4.2 GB, free: 103.2 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/10.08, allocations: 1.089 MB / 4.201 GB, free: 103.2 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/10.08, allocations: 1.101 MB / 4.202 GB, free: 103.2 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/10.09, allocations: 3.935 MB / 4.206 GB, free: 98.79 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/10.09, allocations: 70 kB / 4.206 GB, free: 98.75 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 3.987e-06/10.09, allocations: 3.062 kB / 4.206 GB, free: 98.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.007468/10.09, allocations: 2.959 MB / 4.209 GB, free: 98.36 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/10.09, allocations: 75.16 kB / 4.209 GB, free: 98.3 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/10.1, allocations: 3.292 MB / 4.212 GB, free: 98.01 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/10.1, allocations: 32.55 kB / 4.212 GB, free: 97.98 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/10.1, allocations: 1.708 MB / 4.214 GB, free: 97.32 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/10.1, allocations: 0.754 MB / 4.214 GB, free: 96.81 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/10.1, allocations: 0 / 4.214 GB, free: 96.81 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001148/10.1, allocations: 410.1 kB / 4.215 GB, free: 96.5 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/10.1, allocations: 0.7383 MB / 4.215 GB, free: 96.5 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/10.11, allocations: 1.706 MB / 4.217 GB, free: 95.35 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/10.11, allocations: 1.42 MB / 4.218 GB, free: 95.32 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/10.11, allocations: 8.031 kB / 4.218 GB, free: 95.32 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008138/10.12, allocations: 3.544 MB / 4.222 GB, free: 94.94 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001516/10.12, allocations: 10.29 MB / 4.232 GB, free: 84.18 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/10.12, allocations: 23.88 kB / 4.232 GB, free: 84.18 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007338/10.12, allocations: 383 kB / 4.232 GB, free: 84.14 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/10.12, allocations: 0.5163 MB / 4.233 GB, free: 84.14 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/10.12, allocations: 2.852 MB / 4.236 GB, free: 82.05 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/10.13, allocations: 0.4976 MB / 4.236 GB, free: 81.91 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/10.13, allocations: 134.8 kB / 4.236 GB, free: 81.91 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/10.13, allocations: 1.844 kB / 4.236 GB, free: 81.91 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005936/10.13, allocations: 2.836 MB / 4.239 GB, free: 81.82 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/10.13, allocations: 21.22 kB / 4.239 GB, free: 81.82 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000926/10.14, allocations: 391 kB / 4.239 GB, free: 81.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/10.14, allocations: 0.5143 MB / 4.24 GB, free: 81.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/10.14, allocations: 7.31 MB / 4.247 GB, free: 76.62 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/10.15, allocations: 466.9 kB / 4.247 GB, free: 76.52 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/10.15, allocations: 130.6 kB / 4.248 GB, free: 76.52 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006245/10.15, allocations: 191 kB / 4.248 GB, free: 76.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/10.15, allocations: 0.5001 MB / 4.248 GB, free: 76.14 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/10.16, allocations: 4.145 MB / 4.252 GB, free: 75.88 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/10.16, allocations: 40.09 kB / 4.252 GB, free: 75.88 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/10.16, allocations: 2.188 kB / 4.252 GB, free: 75.88 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004886/10.16, allocations: 2.737 MB / 4.255 GB, free: 75.68 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/10.18, allocations: 8.164 MB / 4.263 GB, free: 74.21 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/10.18, allocations: 2.938 kB / 4.263 GB, free: 74.21 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/10.18, allocations: 387.7 kB / 4.263 GB, free: 74.21 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/10.18, allocations: 223.2 kB / 4.264 GB, free: 74.18 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/10.18, allocations: 39.89 kB / 4.264 GB, free: 74.18 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/10.18, allocations: 2.527 MB / 4.266 GB, free: 88.1 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/10.18, allocations: 1.594 kB / 4.266 GB, free: 88.1 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007703/10.19, allocations: 4.842 MB / 4.271 GB, free: 87.36 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00971/10.2, allocations: 6.949 MB / 4.278 GB, free: 86.21 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/10.2, allocations: 0.979 MB / 4.279 GB, free: 85.82 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008535/10.2, allocations: 1.312 kB / 4.279 GB, free: 85.82 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/10.21, allocations: 398.7 kB / 4.279 GB, free: 85.79 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/10.21, allocations: 143.5 kB / 4.279 GB, free: 85.79 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/10.21, allocations: 115.1 kB / 4.279 GB, free: 85.79 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.003374/10.21, allocations: 2.435 MB / 4.282 GB, free: 85.61 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01253/10.22, allocations: 4.78 MB / 4.286 GB, free: 85.19 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/10.23, allocations: 3.436 MB / 4.29 GB, free: 83.89 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005876/10.23, allocations: 4.249 MB / 4.294 GB, free: 83.39 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.23, allocations: 3.906 kB / 4.294 GB, free: 83.39 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/10.23, allocations: 1.253 MB / 4.295 GB, free: 83.38 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/10.25, allocations: 2.534 MB / 4.297 GB, free: 83.33 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/10.26, allocations: 7.313 MB / 4.305 GB, free: 81.49 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003216/10.27, allocations: 3.473 MB / 4.308 GB, free: 80.68 MB / 1.089 GB Notification: Performance of SimCode: time 7.91e-07/10.27, allocations: 0 / 4.308 GB, free: 80.68 MB / 1.089 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)