Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.01087/0.01087, allocations: 104.8 kB / 15.06 MB, free: 5.555 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.001147/0.001147, allocations: 184.9 kB / 15.95 MB, free: 5.52 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.063/2.063, allocations: 194.6 MB / 211.3 MB, free: 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.306/2.306, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004828, allocations: 15.98 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6652, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001444/0.6667, allocations: 0.9265 MB / 0.6843 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.6669, allocations: 49.73 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.667, allocations: 1.281 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.667, allocations: 8.578 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.6672, allocations: 2.688 kB / 0.6844 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.6673, allocations: 13.2 kB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.6674, allocations: 4.594 kB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.6674, allocations: 1.172 kB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.6675, allocations: 3.312 kB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.6675, allocations: 4.219 kB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.6676, allocations: 11.92 kB / 0.6844 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.6676, allocations: 9.172 kB / 0.6844 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.6677, allocations: 42.88 kB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.6678, allocations: 37.8 kB / 0.6845 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.6679, allocations: 43.28 kB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.6679, allocations: 0 / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6679, allocations: 0 / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6679, allocations: 4.875 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003987/0.6683, allocations: 415.2 kB / 0.685 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6684, allocations: 9.438 kB / 0.685 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.6684, allocations: 107.6 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.6685, allocations: 86.94 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.6686, allocations: 269.4 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.6687, allocations: 151.6 kB / 0.6855 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.6687, allocations: 155.9 kB / 0.6857 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.228e-05/0.6688, allocations: 109.7 kB / 0.6858 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6688, allocations: 75.28 kB / 0.6859 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.6689, allocations: 152 kB / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.6689, allocations: 159 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.6689, allocations: 151.5 kB / 0.6863 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.6693, allocations: 0.4899 MB / 0.6868 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.6694, allocations: 166.3 kB / 0.687 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.6694, allocations: 75.28 kB / 0.687 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.6694, allocations: 111.4 kB / 0.6871 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.6694, allocations: 5.375 kB / 0.6871 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.813e-05/0.6695, allocations: 37.83 kB / 0.6872 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6696, allocations: 131.6 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.6699, allocations: 227.3 kB / 0.6875 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6699, allocations: 25.7 kB / 0.6875 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.67, allocations: 110.9 kB / 0.6876 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.67, allocations: 0 / 0.6876 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.67, allocations: 1.344 kB / 0.6876 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.6701, allocations: 331.2 kB / 0.688 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.6702, allocations: 55.19 kB / 0.688 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.6704, allocations: 56.86 kB / 0.6881 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.6705, allocations: 60.97 kB / 0.6881 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6706, allocations: 0 / 0.6881 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004405/0.671, allocations: 180.5 kB / 0.6883 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.671, allocations: 5.031 kB / 0.6883 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.671, allocations: 1.406 kB / 0.6883 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6711, allocations: 0 / 0.6883 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.6711, allocations: 0 / 0.6883 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.6711, allocations: 9.703 kB / 0.6883 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.6712, allocations: 10.59 kB / 0.6883 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.6712, allocations: 6.938 kB / 0.6883 GB, free: 12.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001205/0.6714, allocations: 210.7 kB / 0.6885 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.6714, allocations: 118.4 kB / 0.6886 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.6715, allocations: 116 kB / 0.6888 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/0.6715, allocations: 186.1 kB / 0.6889 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.303e-05/0.6716, allocations: 181.3 kB / 0.6891 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/0.6716, allocations: 178.5 kB / 0.6893 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.6718, allocations: 442.1 kB / 0.6897 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.6719, allocations: 101.7 kB / 0.6898 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.6719, allocations: 102.8 kB / 0.6899 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/0.672, allocations: 189.8 kB / 0.6901 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.672, allocations: 182.4 kB / 0.6902 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.244e-05/0.672, allocations: 181.4 kB / 0.6904 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-05/0.6721, allocations: 178.3 kB / 0.6906 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.6722, allocations: 320.7 kB / 0.6909 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.6723, allocations: 190.4 kB / 0.6911 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.6723, allocations: 187 kB / 0.6913 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.6724, allocations: 103.2 kB / 0.6914 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.6725, allocations: 178.3 kB / 0.6915 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.6725, allocations: 109.5 kB / 0.6916 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002026/0.6727, allocations: 158.1 kB / 0.6918 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6727, allocations: 0 / 0.6918 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003511/0.6731, allocations: 22.17 kB / 0.6918 GB, free: 8.789 MB / 0.5261 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 0.0003548/0.6735, allocations: 0.8211 MB / 0.6926 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.6737, allocations: 89.39 kB / 0.6927 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6737, allocations: 1.469 kB / 0.6927 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.6737, allocations: 0 / 0.6927 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.674, allocations: 0.5204 MB / 0.6932 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.6748, allocations: 0.5187 MB / 0.6937 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.675, allocations: 0.713 MB / 0.6944 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.675, allocations: 10.42 kB / 0.6944 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.6751, allocations: 33.34 kB / 0.6944 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/0.6751, allocations: 3.938 kB / 0.6944 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.6962, allocations: 2.156 MB / 0.6966 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.6965, allocations: 215.1 kB / 0.6968 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.879, allocations: 0 / 0.6968 GB, free: 5.703 MB / 0.5261 GB