Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 248.5 MB / 261.1 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001999/0.001998, allocations: 186.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.2 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 103.8 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.025e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/1.097, allocations: 131.7 MB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.098, allocations: 77.77 kB / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00319/1.101, allocations: 0.9105 MB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.101, allocations: 4 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.101, allocations: 0 / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000395/1.101, allocations: 348.1 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.101, allocations: 8.031 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/1.101, allocations: 39.25 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/1.101, allocations: 15.86 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/1.102, allocations: 190.6 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.102, allocations: 4 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.102, allocations: 7.062 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/1.102, allocations: 98.31 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.102, allocations: 0 / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.102, allocations: 0 / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.102, allocations: 4 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/1.102, allocations: 48.55 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/1.103, allocations: 0.6509 MB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/1.103, allocations: 169.1 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.103, allocations: 84.14 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/1.103, allocations: 79.22 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/1.103, allocations: 109.3 kB / 1.022 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.168e-06/1.103, allocations: 4 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.276e-05/1.103, allocations: 33.69 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.103, allocations: 126.7 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/1.103, allocations: 159.9 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.103, allocations: 25.7 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/1.104, allocations: 106.5 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/1.104, allocations: 3.938 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.104, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.104, allocations: 326.2 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/1.104, allocations: 3.875 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/1.104, allocations: 18.58 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/1.104, allocations: 10.39 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.104, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001866/1.104, allocations: 63.78 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.104, allocations: 8 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.104, allocations: 3.938 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.104, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/1.104, allocations: 4 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.104, allocations: 4 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/1.104, allocations: 3.906 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.104, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.104, allocations: 184.2 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/1.105, allocations: 113 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.89e-05/1.105, allocations: 112.5 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/1.105, allocations: 180.2 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-05/1.105, allocations: 176.3 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/1.105, allocations: 188.2 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/1.105, allocations: 421.2 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.105, allocations: 108.1 kB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/1.105, allocations: 116.9 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.427e-05/1.105, allocations: 176.3 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/1.106, allocations: 180.2 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.041e-05/1.106, allocations: 176.3 kB / 1.025 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.899e-05/1.106, allocations: 191 kB / 1.025 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/1.106, allocations: 313.8 kB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.106, allocations: 193.9 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.334e-05/1.106, allocations: 183.5 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/1.106, allocations: 105 kB / 1.026 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/1.106, allocations: 184.2 kB / 1.026 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/1.106, allocations: 102 kB / 1.026 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001658/1.107, allocations: 124.5 kB / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.107, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002789/1.107, allocations: 8 kB / 1.026 GB, free: 12.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004986/1.107, allocations: 0.816 MB / 1.027 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.244e-05/1.107, allocations: 8 kB / 1.027 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.107, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/1.107, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/1.108, allocations: 0.529 MB / 1.028 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/1.108, allocations: 201.7 kB / 1.028 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/1.109, allocations: 0.6964 MB / 1.029 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.087e-05/1.109, allocations: 4 kB / 1.029 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/1.109, allocations: 23.05 kB / 1.029 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/1.109, allocations: 0 / 1.029 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/1.128, allocations: 1.416 MB / 1.03 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/1.128, allocations: 172.5 kB / 1.03 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.344, allocations: 0 / 1.03 GB, free: 8.266 MB / 0.6511 GB