Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01583/0.01583, allocations: 88.38 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001708/0.001708, allocations: 172.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.162/2.162, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.377/2.377, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006433, allocations: 13.38 kB / 0.6243 GB, free: 28.32 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.349, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.215/1.564, allocations: 306.4 MB / 1.027 GB, free: 0.5312 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.09387/1.658, allocations: 42.27 MB / 1.069 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00751/1.665, allocations: 131.1 kB / 1.069 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/1.677, allocations: 2.384 MB / 1.071 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.04062/1.718, allocations: 6.93 MB / 1.078 GB, free: 12.71 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.03325/1.751, allocations: 4.7 MB / 1.082 GB, free: 8.016 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.01868/1.77, allocations: 6.723 MB / 1.089 GB, free: 1.285 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/1.78, allocations: 4.012 MB / 1.093 GB, free: 13.22 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01533/1.796, allocations: 4.147 MB / 1.097 GB, free: 9.059 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007307/1.803, allocations: 2.365 MB / 1.099 GB, free: 6.684 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/1.805, allocations: 168 kB / 1.099 GB, free: 6.52 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.818, allocations: 2.742 MB / 1.102 GB, free: 3.773 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003219/1.822, allocations: 1.223 MB / 1.103 GB, free: 2.547 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003109/1.825, allocations: 1.003 MB / 1.104 GB, free: 1.535 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/1.839, allocations: 6.227 MB / 1.11 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.839, allocations: 0 / 1.11 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.556e-06/1.839, allocations: 0 / 1.11 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002701/1.839, allocations: 4 kB / 1.11 GB, free: 11.29 MB / 0.8386 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.01586/1.855, allocations: 4.646 MB / 1.115 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.855, allocations: 12.03 kB / 1.115 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001724/1.857, allocations: 475.8 kB / 1.115 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/1.875, allocations: 1.883 MB / 1.117 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/1.89, allocations: 3.436 MB / 1.12 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004866/1.895, allocations: 0.7009 MB / 1.121 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/1.897, allocations: 344 kB / 1.121 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/1.92, allocations: 4.562 MB / 1.126 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.92, allocations: 3.938 kB / 1.126 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/1.921, allocations: 144 kB / 1.126 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003083/1.921, allocations: 138.5 kB / 1.126 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/1.957, allocations: 4.163 MB / 1.13 GB, free: 6.504 MB / 0.8542 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.07441/2.031, allocations: 18.84 MB / 1.149 GB, free: 2.289 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008205/2.039, allocations: 2.029 MB / 1.151 GB, free: 220 kB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/2.04, allocations: 174.3 kB / 1.151 GB, free: 28 kB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/2.045, allocations: 1.255 MB / 1.152 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00251/2.048, allocations: 174 kB / 1.152 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=135): time 6.201e-06/2.048, allocations: 3.938 kB / 1.152 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135): time 0.01589/2.064, allocations: 3.271 MB / 1.155 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/2.064, allocations: 222.6 kB / 1.156 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/2.076, allocations: 3.631 MB / 1.159 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007493/2.077, allocations: 61.7 kB / 1.159 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004779/2.081, allocations: 2.016 MB / 1.161 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/2.083, allocations: 469.3 kB / 1.162 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005259/2.084, allocations: 39.94 kB / 1.162 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004143/2.084, allocations: 373.9 kB / 1.162 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007789/2.092, allocations: 1.14 MB / 1.163 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006799/2.099, allocations: 1.811 MB / 1.165 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006284/2.105, allocations: 1.3 MB / 1.166 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/2.105, allocations: 4 kB / 1.166 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01499/2.12, allocations: 3.239 MB / 1.169 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003594/2.124, allocations: 7.354 MB / 1.177 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-05/2.124, allocations: 19.94 kB / 1.177 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.116e-05/2.124, allocations: 28 kB / 1.177 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/2.13, allocations: 0.5773 MB / 1.177 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.309e-05/2.13, allocations: 39.86 kB / 1.177 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/2.138, allocations: 0.6288 MB / 1.178 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/2.139, allocations: 95.97 kB / 1.178 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/2.139, allocations: 4 kB / 1.178 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01348/2.152, allocations: 2.894 MB / 1.181 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.284e-05/2.152, allocations: 16 kB / 1.181 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.333e-05/2.152, allocations: 28 kB / 1.181 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/2.158, allocations: 0.5777 MB / 1.181 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.907e-05/2.158, allocations: 35.86 kB / 1.181 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/2.165, allocations: 0.5395 MB / 1.182 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/2.166, allocations: 95.95 kB / 1.182 GB, free: 15.19 MB / 0.9167 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.003474/2.17, allocations: 1.125 MB / 1.183 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/2.171, allocations: 371.4 kB / 1.183 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/2.182, allocations: 2.492 MB / 1.186 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/2.182, allocations: 15.98 kB / 1.186 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/2.182, allocations: 4 kB / 1.186 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008164/2.19, allocations: 1.929 MB / 1.188 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03064/2.221, allocations: 7.804 MB / 1.195 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/2.221, allocations: 12.09 kB / 1.195 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003858/2.225, allocations: 380 kB / 1.196 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/2.225, allocations: 64.77 kB / 1.196 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002515/2.226, allocations: 47.97 kB / 1.196 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.636/2.862, allocations: 1.448 MB / 1.197 GB, free: 354.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-05/2.862, allocations: 17.97 kB / 1.197 GB, free: 354.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/2.879, allocations: 5.323 MB / 1.203 GB, free: 352.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002898/2.882, allocations: 0.6844 MB / 1.203 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.884, allocations: 37.66 kB / 1.203 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007136/2.891, allocations: 448.7 kB / 1.204 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/2.891, allocations: 125.9 kB / 1.204 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/2.892, allocations: 74.67 kB / 1.204 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007852/2.9, allocations: 2.508 MB / 1.206 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.51e-07/2.9, allocations: 0 / 1.206 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008807/2.908, allocations: 1.97 MB / 1.208 GB, free: 351.5 MB / 0.9167 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.01942/2.928, allocations: 8.864 MB / 1.217 GB, free: 345 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02144/2.949, allocations: 4.017 MB / 1.221 GB, free: 343.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.372e-05/2.949, allocations: 5.672 kB / 1.221 GB, free: 343.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005838/2.955, allocations: 1.216 MB / 1.222 GB, free: 343.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01653/2.972, allocations: 1.915 MB / 1.224 GB, free: 343.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/3.01, allocations: 22.49 MB / 1.246 GB, free: 325.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/3.014, allocations: 2.748 MB / 1.248 GB, free: 324.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0081/3.022, allocations: 0.9837 MB / 1.249 GB, free: 324.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004375/3.026, allocations: 1.752 MB / 1.251 GB, free: 322.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.693e-06/3.026, allocations: 0 / 1.251 GB, free: 322.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2251/3.252, allocations: 101 MB / 1.35 GB, free: 230.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/3.252, allocations: 271.2 kB / 1.35 GB, free: 229.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/10.55, allocations: 3.938 kB / 1.35 GB, free: 229.7 MB / 0.9167 GB