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: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") [: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.652/1.652, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001293/0.001292, allocations: 177.4 kB / 361.1 MB, free: 7.125 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.663/1.663, 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.000936/0.0009365, allocations: 85.84 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.614e-06, allocations: 0 / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7146, allocations: 115.3 MB / 0.9637 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.976/5.691, allocations: 2.374 GB / 3.338 GB, free: 145 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/5.691, allocations: 94.16 kB / 3.338 GB, free: 144.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.876/9.567, allocations: 1.045 GB / 4.383 GB, free: 126.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004716/9.568, allocations: 70.34 kB / 4.383 GB, free: 126.1 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 0.01023/9.578, allocations: 2.809 MB / 4.385 GB, free: 124.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/9.578, allocations: 9.031 kB / 4.385 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008077/9.586, allocations: 1.099 MB / 4.387 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007986/9.594, allocations: 2.094 MB / 4.389 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/9.594, allocations: 152.4 kB / 4.389 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/9.595, allocations: 114.1 kB / 4.389 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005647/9.601, allocations: 2.189 MB / 4.391 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006144/9.607, allocations: 1.921 MB / 4.393 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.483e-05/9.607, allocations: 0 / 4.393 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/9.608, allocations: 7.109 kB / 4.393 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/9.608, allocations: 69.41 kB / 4.393 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/9.632, allocations: 8.843 MB / 4.402 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/9.635, allocations: 1.536 MB / 4.403 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/9.637, allocations: 0.8257 MB / 4.404 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009593/9.638, allocations: 0.9669 MB / 4.405 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/9.64, allocations: 0.9942 MB / 4.406 GB, free: 118.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=159): time 6.483e-06/9.64, allocations: 1.031 kB / 4.406 GB, free: 118.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=159): time 0.00591/9.646, allocations: 1.764 MB / 4.408 GB, free: 117.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/9.646, allocations: 307.3 kB / 4.408 GB, free: 117.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/9.65, allocations: 1.429 MB / 4.409 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004936/9.651, allocations: 30.8 kB / 4.409 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/9.652, allocations: 0.6696 MB / 4.41 GB, free: 116.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008304/9.653, allocations: 0.5038 MB / 4.41 GB, free: 116 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/9.653, allocations: 2.062 kB / 4.41 GB, free: 116 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001607/9.653, allocations: 365.1 kB / 4.411 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/9.655, allocations: 0.6145 MB / 4.411 GB, free: 115.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/9.656, allocations: 0.9771 MB / 4.412 GB, free: 114.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/9.658, allocations: 0.7382 MB / 4.413 GB, free: 114.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/9.658, allocations: 3.375 kB / 4.413 GB, free: 114.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004779/9.663, allocations: 1.838 MB / 4.415 GB, free: 113.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/9.663, allocations: 1.105 MB / 4.416 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/9.663, allocations: 1.906 kB / 4.416 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007051/9.664, allocations: 91.47 kB / 4.416 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/9.666, allocations: 467.3 kB / 4.416 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/9.669, allocations: 2.07 MB / 4.418 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/9.672, allocations: 293 kB / 4.419 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/9.673, allocations: 75.3 kB / 4.419 GB, free: 110.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/9.673, allocations: 5.125 kB / 4.419 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003966/9.677, allocations: 1.584 MB / 4.42 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/9.677, allocations: 13.81 kB / 4.42 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/9.677, allocations: 87.72 kB / 4.42 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/9.679, allocations: 452.9 kB / 4.421 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/9.681, allocations: 1.466 MB / 4.422 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/9.684, allocations: 278.2 kB / 4.423 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/9.685, allocations: 81.25 kB / 4.423 GB, free: 108.6 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.000681/9.685, allocations: 141.7 kB / 4.423 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009065/9.686, allocations: 226.1 kB / 4.423 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/9.692, allocations: 2.152 MB / 4.425 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/9.692, allocations: 22.12 kB / 4.425 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/9.692, allocations: 3.5 kB / 4.425 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003398/9.695, allocations: 1.903 MB / 4.427 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/9.706, allocations: 4.795 MB / 4.432 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/9.706, allocations: 6.656 kB / 4.432 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/9.709, allocations: 468.6 kB / 4.432 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/9.709, allocations: 86.56 kB / 4.432 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/9.71, allocations: 37.28 kB / 4.432 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/9.712, allocations: 2.087 MB / 4.434 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/9.712, allocations: 10.23 kB / 4.434 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006195/9.718, allocations: 3.423 MB / 4.438 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/9.72, allocations: 0.6745 MB / 4.438 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/9.721, allocations: 13.91 kB / 4.438 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/9.724, allocations: 244.2 kB / 4.439 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/9.724, allocations: 116 kB / 4.439 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/9.724, allocations: 85.02 kB / 4.439 GB, free: 100.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002599/9.727, allocations: 1.082 MB / 4.44 GB, free: 99.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006417/9.733, allocations: 1.406 MB / 4.441 GB, free: 99.34 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.005554/9.739, allocations: 2.661 MB / 4.444 GB, free: 98.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006172/9.745, allocations: 2.792 MB / 4.446 GB, free: 95.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/9.745, allocations: 192 / 4.446 GB, free: 95.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/9.747, allocations: 1.052 MB / 4.448 GB, free: 94.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006023/9.753, allocations: 0.9285 MB / 4.448 GB, free: 94.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/9.765, allocations: 3.809 MB / 4.452 GB, free: 90.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/9.768, allocations: 1.976 MB / 4.454 GB, free: 89.07 MB / 0.948 GB Notification: Performance of SimCode: time 7.71e-07/9.768, allocations: 0 / 4.454 GB, free: 89.07 MB / 0.948 GB Notification: Performance of Templates: time 0.1043/9.872, allocations: 65.68 MB / 4.518 GB, free: 26.23 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)