Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01073/0.01073, allocations: 222.2 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001134/0.001133, allocations: 179.7 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.812/3.812, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.2/4.2, allocations: 472.3 MB / 0.9018 GB, free: 13.26 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 12 kB / 1.008 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4931, allocations: 98.73 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001414/0.4946, allocations: 1.231 MB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 9.572e-05/0.4947, allocations: 35.84 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.4948, allocations: 0 / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.4949, allocations: 3.938 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 3.291e-05/0.4949, allocations: 0 / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 8.725e-05/0.495, allocations: 23.91 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.4951, allocations: 35.92 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4952, allocations: 30.45 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.4953, allocations: 15.94 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.4953, allocations: 19.86 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.4953, allocations: 4 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-06/0.4954, allocations: 0 / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.4954, allocations: 15.97 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.4954, allocations: 33.64 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 6.943e-05/0.4955, allocations: 35.92 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.636e-06/0.4955, allocations: 4 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.516e-06/0.4955, allocations: 4.156 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4956, allocations: 0 / 1.105 GB, free: 182.2 MB / 0.6823 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.0002885/0.4959, allocations: 348.5 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4959, allocations: 8.031 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.4959, allocations: 11.89 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4961, allocations: 190.8 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4961, allocations: 8 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.4961, allocations: 6.719 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.4963, allocations: 96.8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.325e-06/0.4963, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4964, allocations: 1.922 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-06/0.4964, allocations: 4.562 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.4965, allocations: 42.02 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.497, allocations: 0.6441 MB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.4971, allocations: 165.1 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.4971, allocations: 95.12 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.4971, allocations: 75.28 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4971, allocations: 110.6 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.4972, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.338e-05/0.4972, allocations: 37.61 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.4973, allocations: 129.8 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4974, allocations: 162.5 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-06/0.4975, allocations: 25.7 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.4975, allocations: 111.9 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-06/0.4975, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-06/0.4975, allocations: 0.8438 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.4976, allocations: 322.3 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.4976, allocations: 7.938 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.4977, allocations: 22.58 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.4977, allocations: 7.953 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-06/0.4977, allocations: 2.406 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000131/0.4979, allocations: 61.53 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4979, allocations: 7.938 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-06/0.4979, allocations: 4 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4979, allocations: 1.781 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.498, allocations: 7.438 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.927e-06/0.498, allocations: 0 / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.4981, allocations: 4 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4981, allocations: 0.9375 kB / 1.108 GB, free: 179.3 MB / 0.6823 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 () * Number of clocked 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 8.406e-05/0.4982, allocations: 201.1 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.4982, allocations: 114.1 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.4983, allocations: 112.2 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/0.4983, allocations: 184.2 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.4984, allocations: 180.3 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.4984, allocations: 177.3 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.4986, allocations: 429.1 kB / 1.109 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.4986, allocations: 107.8 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.4986, allocations: 105.9 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/0.4987, allocations: 180.3 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.4987, allocations: 176.3 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.844e-05/0.4987, allocations: 191.5 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.67e-05/0.4988, allocations: 176.3 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.818e-05/0.4989, allocations: 311.9 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.4989, allocations: 210.8 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.499, allocations: 177.2 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.4991, allocations: 101.7 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4991, allocations: 180.2 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4992, allocations: 112.3 kB / 1.111 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.982e-05/0.4993, allocations: 130.8 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.95e-07/0.4993, allocations: 0 / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002942/0.4996, allocations: 8 kB / 1.112 GB, free: 175.6 MB / 0.6823 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 () * Number of clocked 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 9.868e-05/0.4997, allocations: 177.6 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.324e-05/0.4998, allocations: 14.5 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4998, allocations: 0 / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.95e-06/0.4998, allocations: 0 / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.5002, allocations: 0.5328 MB / 1.112 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.5005, allocations: 243.8 kB / 1.112 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.5006, allocations: 0.6965 MB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.5007, allocations: 4 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.5007, allocations: 14.97 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.23e-06/0.5007, allocations: 0 / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.00269/0.5034, allocations: 397.7 kB / 1.114 GB, free: 173.5 MB / 0.6823 GB