Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009082/0.0009081, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009132/0.0009133, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.844/1.844, allocations: 292.7 MB / 0.5509 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005851/0.0005851, allocations: 17.44 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3433, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001863/0.3453, allocations: 1.144 MB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.346, allocations: 433.1 kB / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.346, allocations: 4 kB / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3461, allocations: 3.984 kB / 0.7901 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.3461, allocations: 7.938 kB / 0.7901 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.3463, allocations: 0 / 0.7901 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.3463, allocations: 27.92 kB / 0.7901 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3464, allocations: 4 kB / 0.7901 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.3465, allocations: 15.92 kB / 0.7901 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.3466, allocations: 11.92 kB / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3466, allocations: 0 / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.3466, allocations: 0 / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3467, allocations: 0 / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.3467, allocations: 45.62 kB / 0.7902 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.846e-05/0.3468, allocations: 7.984 kB / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3468, allocations: 0 / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3468, allocations: 3.938 kB / 0.7902 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3468, allocations: 0 / 0.7902 GB, free: 9.844 MB / 0.6075 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.000519/0.3473, allocations: 343.7 kB / 0.7905 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3474, allocations: 8.031 kB / 0.7905 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3474, allocations: 4.938 kB / 0.7905 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3476, allocations: 164.3 kB / 0.7907 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3476, allocations: 4.375 kB / 0.7907 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3477, allocations: 4.375 kB / 0.7907 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3478, allocations: 46 kB / 0.7908 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3478, allocations: 4 kB / 0.7908 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3479, allocations: 3.938 kB / 0.7908 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3479, allocations: 0 / 0.7908 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.348, allocations: 27.97 kB / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3484, allocations: 256.9 kB / 0.791 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.3485, allocations: 30.56 kB / 0.7911 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.3485, allocations: 20.92 kB / 0.7911 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.3486, allocations: 4 kB / 0.7911 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3486, allocations: 30.56 kB / 0.7911 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3486, allocations: 0 / 0.7911 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.3489, allocations: 65.61 kB / 0.7912 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3489, allocations: 55.41 kB / 0.7912 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.349, allocations: 106 kB / 0.7913 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3491, allocations: 29.7 kB / 0.7914 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.3491, allocations: 84.14 kB / 0.7914 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3491, allocations: 11.83 kB / 0.7915 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.3492, allocations: 9.719 kB / 0.7915 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3493, allocations: 322.8 kB / 0.7918 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.3494, allocations: 4 kB / 0.7918 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.3494, allocations: 19.98 kB / 0.7918 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.3495, allocations: 32.78 kB / 0.7918 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3495, allocations: 0 / 0.7918 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00012/0.3496, allocations: 61.53 kB / 0.7919 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3497, allocations: 4.094 kB / 0.7919 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3497, allocations: 4 kB / 0.7919 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3497, allocations: 4 kB / 0.7919 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.3498, allocations: 4 kB / 0.7919 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3498, allocations: 3.984 kB / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.3498, allocations: 7.984 kB / 0.7919 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3499, allocations: 0 / 0.7919 GB, free: 7.875 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.35, allocations: 109.8 kB / 0.792 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.35, allocations: 4 kB / 0.792 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.35, allocations: 11.53 kB / 0.792 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.35, allocations: 3.938 kB / 0.792 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.35, allocations: 0 / 0.792 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.35, allocations: 0 / 0.792 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3502, allocations: 165.6 kB / 0.7922 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3502, allocations: 7.922 kB / 0.7922 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.3503, allocations: 4 kB / 0.7922 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3503, allocations: 0 / 0.7922 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3503, allocations: 0 / 0.7922 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3503, allocations: 0 / 0.7922 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3503, allocations: 4 kB / 0.7922 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3505, allocations: 159.4 kB / 0.7924 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3506, allocations: 85.02 kB / 0.7924 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3506, allocations: 0 / 0.7924 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.3506, allocations: 4.25 kB / 0.7924 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.3507, allocations: 8.016 kB / 0.7925 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.3507, allocations: 4 kB / 0.7925 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.3508, allocations: 83.28 kB / 0.7925 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3508, allocations: 0 / 0.7925 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002011/0.351, allocations: 4 kB / 0.7925 GB, free: 7.133 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.3511, allocations: 103.2 kB / 0.7926 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3512, allocations: 31.92 kB / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3513, allocations: 0 / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.3513, allocations: 8 kB / 0.7927 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3515, allocations: 11.88 kB / 0.7927 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.3519, allocations: 154.5 kB / 0.7928 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3522, allocations: 0.6848 MB / 0.7935 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3522, allocations: 7.438 kB / 0.7935 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.3522, allocations: 0 / 0.7935 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.001732/0.354, allocations: 0.4953 MB / 0.794 GB, free: 5.574 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o] Error 1