Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") [: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.588/1.588, 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.001139/0.001139, allocations: 167.4 kB / 361.1 MB, free: 7.121 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.642/1.642, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009266/0.000926, allocations: 92.31 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.749e-06/9.779e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8133, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9941/1.808, allocations: 416.5 MB / 1.37 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.808, allocations: 92.38 kB / 1.37 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.367/4.174, allocations: 0.6229 GB / 1.993 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003654/4.175, allocations: 44.3 kB / 1.993 GB, free: 156.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006939/4.182, allocations: 1.771 MB / 1.995 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/4.182, allocations: 7.719 kB / 1.995 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/4.187, allocations: 0.6797 MB / 1.996 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/4.192, allocations: 1.644 MB / 1.997 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/4.192, allocations: 106 kB / 1.998 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/4.193, allocations: 61.69 kB / 1.998 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/4.195, allocations: 0.9232 MB / 1.998 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/4.197, allocations: 0.9954 MB / 1.999 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/4.197, allocations: 3.469 kB / 1.999 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/4.197, allocations: 3.969 kB / 1.999 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/4.197, allocations: 26.52 kB / 1.999 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007759/4.205, allocations: 5.635 MB / 2.005 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/4.206, allocations: 0.6355 MB / 2.006 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/4.206, allocations: 440.1 kB / 2.006 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/4.207, allocations: 1.239 MB / 2.007 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006804/4.208, allocations: 0.5229 MB / 2.008 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.829e-06/4.208, allocations: 0 / 2.008 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.001938/4.21, allocations: 0.8884 MB / 2.009 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/4.21, allocations: 123.9 kB / 2.009 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/4.211, allocations: 0.9967 MB / 2.01 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/4.211, allocations: 29.33 kB / 2.01 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/4.212, allocations: 437.6 kB / 2.01 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/4.212, allocations: 220.3 kB / 2.01 GB, free: 150 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/4.212, allocations: 0 / 2.01 GB, free: 150 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/4.212, allocations: 337.6 kB / 2.011 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/4.212, allocations: 350 kB / 2.011 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/4.213, allocations: 0.5904 MB / 2.012 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/4.214, allocations: 410.5 kB / 2.012 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/4.214, allocations: 3.969 kB / 2.012 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001821/4.216, allocations: 0.9953 MB / 2.013 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/4.216, allocations: 1.168 MB / 2.014 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/4.216, allocations: 3.875 kB / 2.014 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/4.216, allocations: 3.938 kB / 2.014 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/4.218, allocations: 286.1 kB / 2.014 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/4.218, allocations: 11.53 kB / 2.014 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/4.219, allocations: 218.7 kB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/4.22, allocations: 45.38 kB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/4.22, allocations: 6.156 kB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001579/4.221, allocations: 0.8273 MB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/4.221, allocations: 7.656 kB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/4.221, allocations: 6.281 kB / 2.015 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/4.222, allocations: 284.5 kB / 2.016 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/4.223, allocations: 7.125 kB / 2.016 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/4.224, allocations: 213.4 kB / 2.016 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/4.224, allocations: 45.03 kB / 2.016 GB, free: 148.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * 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.000268/4.225, allocations: 134 kB / 2.016 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/4.225, allocations: 137.5 kB / 2.016 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/4.227, allocations: 1.107 MB / 2.017 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/4.227, allocations: 10.84 kB / 2.017 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/4.227, allocations: 0 / 2.017 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/4.229, allocations: 0.9125 MB / 2.018 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/4.233, allocations: 2.951 MB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/4.233, allocations: 6.719 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/4.235, allocations: 249.7 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/4.235, allocations: 7.906 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/4.235, allocations: 21.38 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/4.235, allocations: 17.48 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/4.235, allocations: 6.844 kB / 2.021 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002657/4.237, allocations: 2.029 MB / 2.023 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007986/4.238, allocations: 469.7 kB / 2.024 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/4.239, allocations: 6.625 kB / 2.024 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/4.24, allocations: 177.5 kB / 2.024 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/4.24, allocations: 62.12 kB / 2.024 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/4.24, allocations: 50.77 kB / 2.024 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001058/4.241, allocations: 0.7631 MB / 2.025 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002416/4.244, allocations: 0.8234 MB / 2.026 GB, free: 145.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001403/4.245, allocations: 0.8016 MB / 2.026 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002153/4.247, allocations: 1.368 MB / 2.028 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/4.247, allocations: 3.344 kB / 2.028 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008/4.248, allocations: 0.4986 MB / 2.028 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/4.251, allocations: 0.6051 MB / 2.029 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/4.255, allocations: 2.038 MB / 2.031 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/4.257, allocations: 1.419 MB / 2.032 GB, free: 144 MB / 0.9323 GB Notification: Performance of SimCode: time 7.91e-07/4.257, allocations: 3.609 kB / 2.032 GB, free: 144 MB / 0.9323 GB Notification: Performance of Templates: time 0.05482/4.311, allocations: 35.5 MB / 2.067 GB, free: 143.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)