Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01615/0.01616, allocations: 109 kB / 15.06 MB, free: 6.035 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.0013/0.0013, allocations: 182.8 kB / 15.95 MB, free: 5.965 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 2.21/2.21, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.683/2.683, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005623/0.0005625, allocations: 16 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7932, allocations: 98.7 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.272/2.065, allocations: 305.2 MB / 0.9814 GB, free: 18.37 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.07882/2.144, allocations: 42.12 MB / 1.023 GB, free: 17.43 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007581/2.152, allocations: 136.3 kB / 1.023 GB, free: 17.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/2.163, allocations: 2.382 MB / 1.025 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0313/2.194, allocations: 6.927 MB / 1.032 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02081/2.215, allocations: 4.7 MB / 1.036 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01695/2.232, allocations: 6.735 MB / 1.043 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009462/2.241, allocations: 4.03 MB / 1.047 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01357/2.255, allocations: 4.122 MB / 1.051 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006956/2.262, allocations: 2.372 MB / 1.053 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/2.264, allocations: 169.7 kB / 1.053 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/2.276, allocations: 2.732 MB / 1.056 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003035/2.279, allocations: 1.216 MB / 1.057 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003104/2.282, allocations: 1.002 MB / 1.058 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/2.295, allocations: 6.219 MB / 1.064 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/2.295, allocations: 0 / 1.064 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.178e-06/2.295, allocations: 8 kB / 1.064 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002994/2.295, allocations: 0 / 1.064 GB, free: 3.621 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01502/2.31, allocations: 4.642 MB / 1.069 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/2.31, allocations: 16.03 kB / 1.069 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001859/2.312, allocations: 470.9 kB / 1.069 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01823/2.33, allocations: 1.878 MB / 1.071 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/2.344, allocations: 3.464 MB / 1.075 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003524/2.348, allocations: 0.6985 MB / 1.075 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/2.349, allocations: 346.5 kB / 1.076 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/2.369, allocations: 4.562 MB / 1.08 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/2.369, allocations: 6.391 kB / 1.08 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/2.37, allocations: 143.1 kB / 1.08 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/2.371, allocations: 129.8 kB / 1.08 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/2.4, allocations: 4.175 MB / 1.084 GB, free: 3.598 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.075/2.475, allocations: 18.86 MB / 1.103 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009147/2.484, allocations: 2.024 MB / 1.105 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008524/2.485, allocations: 179.7 kB / 1.105 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005899/2.491, allocations: 1.265 MB / 1.106 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00292/2.494, allocations: 181.9 kB / 1.106 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=135): time 1.117e-05/2.494, allocations: 2.625 kB / 1.106 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135): time 0.01755/2.512, allocations: 3.26 MB / 1.109 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/2.512, allocations: 222.4 kB / 1.11 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.523, allocations: 3.631 MB / 1.113 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000571/2.523, allocations: 57.7 kB / 1.113 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003051/2.526, allocations: 2.019 MB / 1.115 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/2.527, allocations: 478.4 kB / 1.116 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/2.528, allocations: 36 kB / 1.116 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002933/2.528, allocations: 381.9 kB / 1.116 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005992/2.534, allocations: 1.132 MB / 1.117 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007181/2.541, allocations: 1.816 MB / 1.119 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/2.548, allocations: 1.296 MB / 1.12 GB, free: 304 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/2.548, allocations: 4 kB / 1.12 GB, free: 300 kB / 0.7761 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01606/2.564, allocations: 3.255 MB / 1.123 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003418/2.568, allocations: 7.363 MB / 1.131 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-05/2.568, allocations: 16 kB / 1.131 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.492e-05/2.568, allocations: 28 kB / 1.131 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/2.574, allocations: 0.5784 MB / 1.131 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.776e-05/2.574, allocations: 42.27 kB / 1.131 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008461/2.582, allocations: 0.6175 MB / 1.132 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/2.583, allocations: 98.12 kB / 1.132 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.583, allocations: 4 kB / 1.132 GB, free: 4.004 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01434/2.597, allocations: 2.886 MB / 1.135 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-05/2.597, allocations: 19.98 kB / 1.135 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.783e-05/2.598, allocations: 28 kB / 1.135 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/2.603, allocations: 0.5735 MB / 1.135 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-05/2.603, allocations: 39.95 kB / 1.135 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007698/2.611, allocations: 0.5385 MB / 1.136 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006156/2.611, allocations: 88.56 kB / 1.136 GB, free: 15.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * 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.003714/2.615, allocations: 1.125 MB / 1.137 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/2.616, allocations: 375.3 kB / 1.138 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/2.628, allocations: 2.49 MB / 1.14 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/2.628, allocations: 16 kB / 1.14 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/2.628, allocations: 0 / 1.14 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008352/2.637, allocations: 1.935 MB / 1.142 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/2.668, allocations: 7.794 MB / 1.149 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.013e-05/2.668, allocations: 8 kB / 1.149 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00538/2.673, allocations: 379.3 kB / 1.15 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/2.674, allocations: 60.81 kB / 1.15 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/2.674, allocations: 43.98 kB / 1.15 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/2.689, allocations: 1.464 MB / 1.151 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-05/2.69, allocations: 17.25 kB / 1.151 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05273/2.742, allocations: 5.326 MB / 1.157 GB, free: 9.922 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004366/2.747, allocations: 0.6758 MB / 1.157 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/2.749, allocations: 44 kB / 1.157 GB, free: 9.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/2.76, allocations: 442.1 kB / 1.158 GB, free: 8.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009116/2.761, allocations: 132.9 kB / 1.158 GB, free: 8.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007133/2.762, allocations: 71.95 kB / 1.158 GB, free: 8.562 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0129/2.775, allocations: 2.513 MB / 1.16 GB, free: 6.043 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.112e-06/2.775, allocations: 4 kB / 1.16 GB, free: 6.039 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01354/2.788, allocations: 1.971 MB / 1.162 GB, free: 4.062 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02854/2.817, allocations: 8.852 MB / 1.171 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02898/2.846, allocations: 4.01 MB / 1.175 GB, free: 7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/2.846, allocations: 0 / 1.175 GB, free: 7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007197/2.853, allocations: 1.223 MB / 1.176 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01984/2.873, allocations: 1.909 MB / 1.178 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04479/2.918, allocations: 22.49 MB / 1.2 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/2.923, allocations: 2.751 MB / 1.203 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008638/2.932, allocations: 0.9792 MB / 1.204 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004944/2.937, allocations: 1.761 MB / 1.205 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of SimCode: time 2.124e-06/2.937, allocations: 0 / 1.205 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.843/3.78, allocations: 101.3 MB / 1.304 GB, free: 368.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/3.78, allocations: 263 kB / 1.304 GB, free: 368 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/11.3, allocations: 4 kB / 1.304 GB, free: 368 MB / 0.9167 GB