Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.0108/0.0108, allocations: 107.4 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.001206/0.001206, allocations: 182.7 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 1.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.361/2.361, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006619, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6927, allocations: 98.72 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001757/0.6945, allocations: 1.124 MB / 0.6845 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.6953, allocations: 401 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.6953, allocations: 0 / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.6954, allocations: 4.688 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.6954, allocations: 5.422 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.6956, allocations: 8.547 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.6957, allocations: 14.73 kB / 0.685 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.6958, allocations: 5.016 kB / 0.685 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.6958, allocations: 10.55 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.6959, allocations: 17.41 kB / 0.685 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6959, allocations: 0 / 0.685 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.696, allocations: 1.094 kB / 0.685 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.696, allocations: 6.047 kB / 0.685 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.696, allocations: 27.05 kB / 0.685 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.901e-05/0.6961, allocations: 15.12 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6961, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6961, allocations: 1.312 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6961, allocations: 0 / 0.685 GB, free: 15.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000368/0.6965, allocations: 337.4 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6966, allocations: 8.531 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.6966, allocations: 36.34 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.6966, allocations: 5.172 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.6967, allocations: 162.4 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6968, allocations: 5.125 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.6968, allocations: 1 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.6969, allocations: 47.69 kB / 0.6856 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.697, allocations: 9.25 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.697, allocations: 0 / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.697, allocations: 3.938 kB / 0.6856 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.6971, allocations: 27.09 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.6975, allocations: 244.6 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.6976, allocations: 39.62 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.6976, allocations: 0 / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6976, allocations: 32.83 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.6977, allocations: 0 / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003147/0.698, allocations: 73.73 kB / 0.686 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.698, allocations: 52.59 kB / 0.6861 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.6981, allocations: 103.5 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.6981, allocations: 31.2 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.6982, allocations: 80.75 kB / 0.6863 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.6982, allocations: 6.188 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.6982, allocations: 0 / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.6983, allocations: 317.7 kB / 0.6866 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.6984, allocations: 17.67 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.6984, allocations: 12.62 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.6985, allocations: 9.906 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6985, allocations: 0 / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.6987, allocations: 53.94 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6987, allocations: 11.56 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6988, allocations: 0 / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6988, allocations: 1.469 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6989, allocations: 5.812 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.6989, allocations: 4.656 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.699, allocations: 7.859 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.699, allocations: 0.9375 kB / 0.6867 GB, free: 13.99 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 (2): * Single equations (assignments): 2 * 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 6.328e-05/0.6991, allocations: 112.5 kB / 0.6868 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.6991, allocations: 5.031 kB / 0.6868 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.6992, allocations: 5.766 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6992, allocations: 5.562 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6992, allocations: 0 / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6992, allocations: 4.75 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.6994, allocations: 164.9 kB / 0.687 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6994, allocations: 3.938 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.6995, allocations: 6.406 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6995, allocations: 1.5 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6995, allocations: 0.8438 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6995, allocations: 4 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6995, allocations: 1.125 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.6997, allocations: 153.1 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.6998, allocations: 78.84 kB / 0.6872 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.6998, allocations: 5.891 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.6999, allocations: 11.31 kB / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.6999, allocations: 3.078 kB / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.7, allocations: 0 / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.7, allocations: 85.73 kB / 0.6873 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7, allocations: 3.938 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000291/0.7003, allocations: 7.719 kB / 0.6873 GB, free: 13.31 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 (2): * Single equations (assignments): 2 * 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.0004131/0.7007, allocations: 0.6935 MB / 0.688 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.701, allocations: 23.77 kB / 0.688 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.701, allocations: 0 / 0.688 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.7011, allocations: 20.97 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.7012, allocations: 4 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.7017, allocations: 152.5 kB / 0.6882 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.7019, allocations: 0.6809 MB / 0.6889 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.7019, allocations: 5.188 kB / 0.6889 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.702, allocations: 10.2 kB / 0.6889 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.702, allocations: 0 / 0.6889 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.7203, allocations: 0.9796 MB / 0.6898 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.7206, allocations: 200.7 kB / 0.69 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.084, allocations: 3.438 kB / 0.69 GB, free: 11.34 MB / 0.5261 GB