Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008329, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009543, allocations: 175.6 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.000415, allocations: 12.22 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8598, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001692/0.8616, allocations: 1.145 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.8622, allocations: 363.5 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.8623, allocations: 4 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.8623, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.8624, allocations: 3.938 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.8626, allocations: 7.984 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.8627, allocations: 19.92 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.8628, allocations: 12 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.863, allocations: 11.92 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.863, allocations: 7.984 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.8631, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.8631, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.8631, allocations: 7.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.8632, allocations: 29.64 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.797e-05/0.8632, allocations: 15.97 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.8633, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8633, allocations: 4 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.8633, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 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.0006162/0.8639, allocations: 333.3 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/0.864, allocations: 15.98 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.864, allocations: 3.906 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.8642, allocations: 171 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.8642, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.8643, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.8645, allocations: 53.58 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8645, allocations: 3.938 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8645, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.8645, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.8646, allocations: 19.98 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.8653, allocations: 260.9 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.8654, allocations: 30.52 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.8654, allocations: 24.91 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.8655, allocations: 3.984 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8655, allocations: 30.56 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8656, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002984/0.8659, allocations: 69.67 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.866, allocations: 51.41 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8661, allocations: 101.9 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8661, allocations: 25.7 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.8662, allocations: 88.25 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.8662, allocations: 3.906 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.8662, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.8664, allocations: 318.8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.8665, allocations: 7.984 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.8665, allocations: 12 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.8666, allocations: 16.05 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8666, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001273/0.8667, allocations: 61.55 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.8668, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8668, allocations: 3.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8668, allocations: 4 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.8669, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.8669, allocations: 3.984 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.867, allocations: 8.031 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.867, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 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 0.0001149/0.8671, allocations: 109.8 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.8671, allocations: 15.88 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.8672, allocations: 3.531 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.8674, allocations: 169.7 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8674, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.8675, allocations: 4 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.8675, allocations: 3.953 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.8675, allocations: 0 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.8675, allocations: 3.984 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8675, allocations: 3.938 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.8677, allocations: 147.5 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.8678, allocations: 85.02 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.8678, allocations: 3.953 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.8679, allocations: 7.984 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.868, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.868, allocations: 256 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.884e-05/0.868, allocations: 91.22 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.868, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002149/0.8683, allocations: 8.031 kB / 1.026 GB, free: 12.77 MB / 0.7794 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.0001706/0.8684, allocations: 99.23 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.8686, allocations: 27.98 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8686, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.8687, allocations: 12.06 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.8689, allocations: 8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.8693, allocations: 162.2 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.8697, allocations: 0.677 MB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.8698, allocations: 7.438 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8698, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002178/0.8719, allocations: 0.5047 MB / 1.027 GB, free: 11.21 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o] Error 1