Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadModel(Buildings): time 3.791/3.791, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.642e-05, allocations: 5.156 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1795, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.3722, allocations: 124.8 MB / 0.7566 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.3725, allocations: 79.89 kB / 0.7566 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003121/0.3756, allocations: 0.9153 MB / 0.7575 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.297e-06/0.3757, allocations: 0 / 0.7575 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.3757, allocations: 4 kB / 0.7575 GB, free: 3.973 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.0003568/0.3761, allocations: 346.3 kB / 0.7579 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3761, allocations: 12.03 kB / 0.7579 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.3762, allocations: 7.906 kB / 0.7579 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3764, allocations: 186.9 kB / 0.7581 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3764, allocations: 4 kB / 0.7581 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3765, allocations: 8 kB / 0.7581 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3767, allocations: 100.1 kB / 0.7582 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-06/0.3767, allocations: 4 kB / 0.7582 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3767, allocations: 7.984 kB / 0.7582 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3767, allocations: 0 / 0.7582 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3769, allocations: 39.98 kB / 0.7582 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.3777, allocations: 0.644 MB / 0.7588 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3778, allocations: 165.1 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.3778, allocations: 82.02 kB / 0.7591 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.3779, allocations: 83.27 kB / 0.7592 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.133e-05/0.378, allocations: 109.8 kB / 0.7593 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.61e-06/0.378, allocations: 0 / 0.7593 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.791e-05/0.3781, allocations: 41.55 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.3782, allocations: 126.7 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3784, allocations: 157.5 kB / 0.7596 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3784, allocations: 29.7 kB / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.3785, allocations: 104 kB / 0.7597 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-06/0.3785, allocations: 4 kB / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-06/0.3785, allocations: 0 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3787, allocations: 314.8 kB / 0.76 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.3788, allocations: 4 kB / 0.76 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.3788, allocations: 26.56 kB / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.3789, allocations: 7.938 kB / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-06/0.3789, allocations: 7.953 kB / 0.76 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001542/0.3791, allocations: 53.55 kB / 0.7601 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3791, allocations: 8 kB / 0.7601 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.357e-06/0.3791, allocations: 0 / 0.7601 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3791, allocations: 3.984 kB / 0.7601 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.3792, allocations: 4 kB / 0.7601 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3792, allocations: 7.938 kB / 0.7601 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.3793, allocations: 7.938 kB / 0.7601 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-06/0.3793, allocations: 4 kB / 0.7601 GB, free: 1.059 MB / 0.6355 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.0001077/0.3794, allocations: 180.4 kB / 0.7603 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3796, allocations: 120.7 kB / 0.7604 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.3796, allocations: 120.4 kB / 0.7605 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.488e-05/0.3797, allocations: 176.3 kB / 0.7607 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-05/0.3799, allocations: 180.2 kB / 0.7609 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-05/0.38, allocations: 188.3 kB / 0.7611 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3803, allocations: 425.1 kB / 0.7615 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/0.3804, allocations: 101 kB / 0.7616 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.3805, allocations: 108.9 kB / 0.7617 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.8e-05/0.3806, allocations: 180.2 kB / 0.7618 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.3807, allocations: 184.2 kB / 0.762 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.604e-05/0.3808, allocations: 188.2 kB / 0.7622 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.673e-05/0.3809, allocations: 180.3 kB / 0.7624 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3811, allocations: 308.8 kB / 0.7627 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3812, allocations: 190 kB / 0.7628 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3813, allocations: 188.2 kB / 0.763 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3814, allocations: 101 kB / 0.7631 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.3815, allocations: 188.2 kB / 0.7633 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.3816, allocations: 104.9 kB / 0.7634 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001566/0.3818, allocations: 128.3 kB / 0.7635 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.44e-07/0.3818, allocations: 0 / 0.7635 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003112/0.3821, allocations: 8 kB / 0.7635 GB, free: 13.37 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.0001681/0.3823, allocations: 178.5 kB / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.218e-05/0.3824, allocations: 7.938 kB / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.643e-06/0.3824, allocations: 0 / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.883e-06/0.3824, allocations: 0 / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3828, allocations: 0.5343 MB / 0.7642 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.3831, allocations: 168.5 kB / 0.7644 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3835, allocations: 0.6926 MB / 0.7651 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.3835, allocations: 7.984 kB / 0.7651 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.3836, allocations: 11.44 kB / 0.7651 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.568e-06/0.3836, allocations: 0 / 0.7651 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.00286/0.3865, allocations: 416.3 kB / 0.7655 GB, free: 11.3 MB / 0.6511 GB