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.001166/0.001166, allocations: 97.02 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.001686/0.001686, allocations: 180.8 kB / 16.58 MB, free: 6.422 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.962/1.962, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.797/1.797, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005553/0.0005554, allocations: 11.72 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.288, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001647/0.2896, allocations: 1.148 MB / 0.789 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.2903, allocations: 405.4 kB / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.2903, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2904, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.2904, allocations: 3.938 kB / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.2906, allocations: 19.97 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.2907, allocations: 15.94 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2908, allocations: 11.98 kB / 0.7895 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.2909, allocations: 11.94 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.2909, allocations: 11.92 kB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.291, allocations: 0 / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.291, allocations: 0 / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.291, allocations: 0 / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.291, allocations: 33.7 kB / 0.7895 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.891e-05/0.2911, allocations: 15.95 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2911, allocations: 0 / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2911, allocations: 4 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2911, allocations: 0 / 0.7896 GB, free: 10.23 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.0004329/0.2916, allocations: 335.5 kB / 0.7899 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2916, allocations: 8.031 kB / 0.7899 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.2916, allocations: 4 kB / 0.7899 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2919, allocations: 163 kB / 0.79 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2919, allocations: 3.984 kB / 0.79 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2919, allocations: 7.938 kB / 0.7901 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2921, allocations: 49.67 kB / 0.7901 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2921, allocations: 3.938 kB / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2921, allocations: 0 / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2921, allocations: 0 / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.2922, allocations: 27.92 kB / 0.7901 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2926, allocations: 252.8 kB / 0.7904 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.2927, allocations: 38.5 kB / 0.7904 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.2928, allocations: 16.92 kB / 0.7904 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2928, allocations: 4 kB / 0.7904 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2928, allocations: 42.55 kB / 0.7905 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2928, allocations: 0 / 0.7905 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.2931, allocations: 57.69 kB / 0.7905 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.2931, allocations: 51.41 kB / 0.7906 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.2932, allocations: 113.7 kB / 0.7907 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2933, allocations: 25.7 kB / 0.7907 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.2933, allocations: 92.27 kB / 0.7908 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2933, allocations: 7.844 kB / 0.7908 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2933, allocations: 0 / 0.7908 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2935, allocations: 318.8 kB / 0.7911 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.2935, allocations: 8 kB / 0.7911 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.2935, allocations: 11.98 kB / 0.7911 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.2936, allocations: 16.06 kB / 0.7911 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2936, allocations: 0 / 0.7911 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.2937, allocations: 53.69 kB / 0.7912 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2938, allocations: 7.984 kB / 0.7912 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2938, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2938, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.2939, allocations: 4 kB / 0.7912 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2939, allocations: 4 kB / 0.7912 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.2939, allocations: 7.969 kB / 0.7912 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2939, allocations: 3.953 kB / 0.7912 GB, free: 8.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.294, allocations: 118.5 kB / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.294, allocations: 3.906 kB / 0.7913 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.2941, allocations: 7.531 kB / 0.7913 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2941, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2941, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2941, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.2943, allocations: 161.6 kB / 0.7915 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2943, allocations: 0 / 0.7915 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.2943, allocations: 11.98 kB / 0.7915 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2943, allocations: 3.938 kB / 0.7915 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2943, allocations: 0 / 0.7915 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2943, allocations: 0 / 0.7915 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2944, allocations: 3.938 kB / 0.7915 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2945, allocations: 159.5 kB / 0.7917 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.2946, allocations: 77.11 kB / 0.7917 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2946, allocations: 7.938 kB / 0.7918 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.2947, allocations: 0 / 0.7918 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.2947, allocations: 0 / 0.7918 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2947, allocations: 7.984 kB / 0.7918 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.2948, allocations: 87.53 kB / 0.7918 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 0 / 0.7918 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002126/0.295, allocations: 8.031 kB / 0.7919 GB, free: 7.566 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 (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.0001331/0.2951, allocations: 95.25 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2954, allocations: 23.98 kB / 0.792 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2954, allocations: 0 / 0.792 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.2955, allocations: 20.05 kB / 0.792 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2958, allocations: 10.77 kB / 0.792 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2962, allocations: 158.2 kB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2965, allocations: 0.677 MB / 0.7928 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.2965, allocations: 7.438 kB / 0.7928 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2965, allocations: 0 / 0.7928 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.001908/0.2984, allocations: 0.5137 MB / 0.7933 GB, free: 6.004 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++ 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_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