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.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.01271/0.01271, allocations: 220.2 kB / 15.17 MB, free: 5.992 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.001257/0.001257, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.97/3.97, allocations: 389 MB / 405.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.116/4.116, allocations: 472.3 MB / 0.9018 GB, free: 96 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 16 kB / 1.008 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6678, allocations: 98.71 MB / 1.104 GB, free: 206.1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.047/1.715, allocations: 303.1 MB / 1.4 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.06786/1.783, allocations: 37.47 MB / 1.437 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006064/1.789, allocations: 111.6 kB / 1.437 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00858/1.798, allocations: 1.704 MB / 1.438 GB, free: 20.44 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02519/1.823, allocations: 5.951 MB / 1.444 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01819/1.841, allocations: 3.847 MB / 1.448 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01877/1.86, allocations: 9.825 MB / 1.458 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008275/1.868, allocations: 2.925 MB / 1.46 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/1.88, allocations: 3.348 MB / 1.464 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007355/1.887, allocations: 2.529 MB / 1.466 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/1.889, allocations: 127.1 kB / 1.466 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/1.9, allocations: 2.168 MB / 1.468 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003014/1.903, allocations: 0.9685 MB / 1.469 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/1.905, allocations: 0.7518 MB / 1.47 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00992/1.915, allocations: 4.78 MB / 1.475 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.915, allocations: 4 kB / 1.475 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.005e-06/1.915, allocations: 2.297 kB / 1.475 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001923/1.915, allocations: 0 / 1.475 GB, free: 6.941 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: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.01079/1.926, allocations: 3.624 MB / 1.478 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.926, allocations: 8.031 kB / 1.478 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/1.927, allocations: 361.7 kB / 1.479 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/1.94, allocations: 1.443 MB / 1.48 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008851/1.949, allocations: 2.581 MB / 1.483 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002734/1.952, allocations: 0.5443 MB / 1.483 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/1.953, allocations: 261.2 kB / 1.483 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/1.966, allocations: 3.476 MB / 1.487 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-05/1.966, allocations: 3.281 kB / 1.487 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005727/1.967, allocations: 105.4 kB / 1.487 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/1.967, allocations: 108.3 kB / 1.487 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/1.981, allocations: 3.209 MB / 1.49 GB, free: 10.44 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.03844/2.02, allocations: 14.44 MB / 1.504 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/2.028, allocations: 1.872 MB / 1.506 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/2.031, allocations: 0.8245 MB / 1.507 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/2.032, allocations: 303.6 kB / 1.507 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/2.036, allocations: 0.9721 MB / 1.508 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001842/2.038, allocations: 141.6 kB / 1.508 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 5.71e-06/2.038, allocations: 0 / 1.508 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.01195/2.05, allocations: 2.515 MB / 1.511 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/2.05, allocations: 115.8 kB / 1.511 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00764/2.057, allocations: 2.834 MB / 1.514 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000416/2.058, allocations: 52.83 kB / 1.514 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00209/2.06, allocations: 1.513 MB / 1.515 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/2.061, allocations: 381.8 kB / 1.515 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/2.061, allocations: 35.67 kB / 1.516 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001899/2.061, allocations: 361.9 kB / 1.516 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/2.066, allocations: 0.8979 MB / 1.517 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005352/2.071, allocations: 1.4 MB / 1.518 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/2.076, allocations: 1.023 MB / 1.519 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/2.076, allocations: 4 kB / 1.519 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01181/2.088, allocations: 2.55 MB / 1.522 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004071/2.088, allocations: 471.9 kB / 1.522 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/2.088, allocations: 12 kB / 1.522 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.735e-05/2.089, allocations: 20 kB / 1.522 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/2.093, allocations: 467.3 kB / 1.523 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-05/2.093, allocations: 29.67 kB / 1.523 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006804/2.1, allocations: 0.5038 MB / 1.523 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/2.1, allocations: 74.69 kB / 1.523 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/2.1, allocations: 4 kB / 1.523 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/2.111, allocations: 2.254 MB / 1.525 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/2.111, allocations: 12.44 kB / 1.525 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/2.111, allocations: 27.95 kB / 1.525 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/2.115, allocations: 459.4 kB / 1.526 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/2.115, allocations: 27.88 kB / 1.526 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/2.121, allocations: 448 kB / 1.526 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/2.122, allocations: 67.98 kB / 1.526 GB, free: 9.055 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.002622/2.124, allocations: 0.8558 MB / 1.527 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/2.125, allocations: 284.4 kB / 1.527 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008229/2.133, allocations: 1.961 MB / 1.529 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/2.134, allocations: 12 kB / 1.529 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/2.134, allocations: 3.188 kB / 1.529 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006653/2.14, allocations: 1.534 MB / 1.531 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/2.158, allocations: 4.945 MB / 1.536 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/2.158, allocations: 7.984 kB / 1.536 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/2.161, allocations: 280.4 kB / 1.536 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/2.161, allocations: 56.83 kB / 1.536 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/2.161, allocations: 31.98 kB / 1.536 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/2.163, allocations: 1.435 MB / 1.537 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/2.163, allocations: 11.94 kB / 1.537 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/2.175, allocations: 2.943 MB / 1.54 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/2.177, allocations: 0.5481 MB / 1.541 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008742/2.178, allocations: 27.98 kB / 1.541 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/2.183, allocations: 315.5 kB / 1.541 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/2.183, allocations: 98.48 kB / 1.541 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/2.184, allocations: 47.97 kB / 1.541 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006085/2.19, allocations: 1.978 MB / 1.543 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.112e-06/2.19, allocations: 0 / 1.543 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007161/2.197, allocations: 1.519 MB / 1.545 GB, free: 5.727 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (106): * Single equations (assignments): 103 * 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.01332/2.21, allocations: 3.825 MB / 1.548 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01388/2.224, allocations: 3.141 MB / 1.552 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.224, allocations: 0 / 1.552 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003922/2.228, allocations: 0.9394 MB / 1.552 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/2.242, allocations: 1.517 MB / 1.554 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0708/2.313, allocations: 20.74 MB / 1.574 GB, free: 5.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/2.316, allocations: 2.19 MB / 1.576 GB, free: 3.762 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006342/2.322, allocations: 0.7594 MB / 1.577 GB, free: 3.016 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003393/2.326, allocations: 1.28 MB / 1.578 GB, free: 1.734 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/2.326, allocations: 0 / 1.578 GB, free: 1.734 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/2.538, allocations: 79.15 MB / 1.656 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/2.539, allocations: 262.6 kB / 1.656 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.89/8.429, allocations: 3.594 kB / 1.656 GB, free: 4.039 MB / 0.9011 GB