Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",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.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009569/0.0009571, allocations: 173.3 kB / 361.1 MB, free: 7.129 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.195/1.195, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008132/0.0008132, allocations: 94.39 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2209/0.2218, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.7406, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.643/4.384, allocations: 2.374 GB / 3.338 GB, free: 120.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/4.384, allocations: 95.94 kB / 3.338 GB, free: 120.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 3.038/7.422, allocations: 1.047 GB / 4.386 GB, free: 127.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/7.422, allocations: 11.38 kB / 4.386 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/7.428, allocations: 1.086 MB / 4.387 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/7.432, allocations: 2.1 MB / 4.389 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/7.433, allocations: 152.3 kB / 4.389 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/7.433, allocations: 116.5 kB / 4.389 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0033/7.436, allocations: 2.196 MB / 4.391 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/7.439, allocations: 1.917 MB / 4.393 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/7.439, allocations: 2.719 kB / 4.393 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/7.439, allocations: 4.047 kB / 4.393 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/7.439, allocations: 70.67 kB / 4.393 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/7.455, allocations: 8.835 MB / 4.402 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/7.457, allocations: 1.538 MB / 4.403 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/7.458, allocations: 0.8213 MB / 4.404 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/7.459, allocations: 0.9683 MB / 4.405 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/7.46, allocations: 0.9968 MB / 4.406 GB, free: 116.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=159): time 3.546e-06/7.46, allocations: 0 / 4.406 GB, free: 116.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=159): time 0.004003/7.464, allocations: 1.762 MB / 4.408 GB, free: 116 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/7.464, allocations: 308.9 kB / 4.408 GB, free: 115.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/7.466, allocations: 1.423 MB / 4.409 GB, free: 114.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/7.466, allocations: 31.52 kB / 4.409 GB, free: 114.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/7.467, allocations: 0.6751 MB / 4.41 GB, free: 114.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/7.467, allocations: 0.5057 MB / 4.41 GB, free: 113.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/7.467, allocations: 0 / 4.41 GB, free: 113.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/7.468, allocations: 361.4 kB / 4.411 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/7.468, allocations: 0.6169 MB / 4.411 GB, free: 113.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/7.47, allocations: 0.9727 MB / 4.412 GB, free: 112.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/7.471, allocations: 0.7475 MB / 4.413 GB, free: 112.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/7.471, allocations: 0 / 4.413 GB, free: 112.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003761/7.475, allocations: 1.831 MB / 4.415 GB, free: 111.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/7.475, allocations: 1.113 MB / 4.416 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.475, allocations: 6.938 kB / 4.416 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/7.476, allocations: 91.44 kB / 4.416 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/7.478, allocations: 464.4 kB / 4.416 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/7.48, allocations: 2.067 MB / 4.418 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/7.482, allocations: 290 kB / 4.419 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/7.483, allocations: 79.86 kB / 4.419 GB, free: 107 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/7.483, allocations: 4 kB / 4.419 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002917/7.486, allocations: 1.59 MB / 4.42 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/7.486, allocations: 7.938 kB / 4.42 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/7.486, allocations: 88.81 kB / 4.42 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/7.488, allocations: 447.4 kB / 4.421 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/7.49, allocations: 1.472 MB / 4.422 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/7.492, allocations: 286.8 kB / 4.423 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/7.492, allocations: 79.95 kB / 4.423 GB, free: 102.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000345/7.492, allocations: 136.9 kB / 4.423 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/7.493, allocations: 217.4 kB / 4.423 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/7.497, allocations: 2.164 MB / 4.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/7.497, allocations: 20 kB / 4.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/7.497, allocations: 0 / 4.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002671/7.5, allocations: 1.906 MB / 4.427 GB, free: 98.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/7.508, allocations: 4.794 MB / 4.432 GB, free: 93.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/7.508, allocations: 8.406 kB / 4.432 GB, free: 93.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/7.51, allocations: 463.4 kB / 4.432 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/7.51, allocations: 92.77 kB / 4.432 GB, free: 92.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/7.51, allocations: 31.97 kB / 4.432 GB, free: 92.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/7.512, allocations: 2.078 MB / 4.434 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/7.512, allocations: 8.094 kB / 4.434 GB, free: 90.69 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004676/7.517, allocations: 3.434 MB / 4.438 GB, free: 87.07 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006423/7.523, allocations: 5.05 MB / 4.443 GB, free: 81.83 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/7.525, allocations: 0.6706 MB / 4.443 GB, free: 81.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/7.525, allocations: 15.98 kB / 4.443 GB, free: 81.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/7.528, allocations: 235.6 kB / 4.444 GB, free: 80.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/7.528, allocations: 125 kB / 4.444 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/7.528, allocations: 84.02 kB / 4.444 GB, free: 80.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00176/7.53, allocations: 1.081 MB / 4.445 GB, free: 79.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006466/7.536, allocations: 2.041 MB / 4.447 GB, free: 77.52 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003382/7.54, allocations: 2.663 MB / 4.449 GB, free: 75.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004245/7.544, allocations: 2.79 MB / 4.452 GB, free: 72.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/7.544, allocations: 8.141 kB / 4.452 GB, free: 72.37 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/7.546, allocations: 1.042 MB / 4.453 GB, free: 71.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/7.55, allocations: 0.9327 MB / 4.454 GB, free: 70.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/7.558, allocations: 3.821 MB / 4.458 GB, free: 66.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/7.559, allocations: 1.982 MB / 4.46 GB, free: 64.52 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/7.559, allocations: 3.172 kB / 4.46 GB, free: 64.52 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)