Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 96.14 kB / 15.87 MB, free: 16 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.001422/0.001422, allocations: 194.8 kB / 16.79 MB, free: 6.812 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.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.949 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.928/1.928, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001817/0.001817, allocations: 61.66 kB / 0.6715 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3085, allocations: 114.6 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003048/0.3116, allocations: 1.732 MB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.3124, allocations: 483.8 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.3125, allocations: 0 / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.3125, allocations: 7.922 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.3127, allocations: 15.86 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.3128, allocations: 19.98 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3129, allocations: 79.66 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3131, allocations: 27.97 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3132, allocations: 31.92 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.3133, allocations: 31.84 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3133, allocations: 4 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.3133, allocations: 0 / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.3134, allocations: 23.91 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.3134, allocations: 31.8 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.3135, allocations: 60.12 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3135, allocations: 0 / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3135, allocations: 0 / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3135, allocations: 0 / 0.7858 GB, free: 11.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006014/0.3142, allocations: 395.2 kB / 0.7862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3142, allocations: 8.031 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3143, allocations: 8.844 kB / 0.7862 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3144, allocations: 191.1 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3144, allocations: 4.312 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3145, allocations: 4.375 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3147, allocations: 95.69 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3147, allocations: 0 / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3147, allocations: 3.938 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3147, allocations: 4 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3149, allocations: 47.91 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.3154, allocations: 332.7 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3156, allocations: 50.59 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.3157, allocations: 28.94 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3157, allocations: 3.984 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3157, allocations: 38.56 kB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3157, allocations: 4 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003368/0.3161, allocations: 97.56 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.3161, allocations: 81.05 kB / 0.7871 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3163, allocations: 130.1 kB / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3163, allocations: 25.7 kB / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3164, allocations: 104 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3164, allocations: 7.906 kB / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.3165, allocations: 25.7 kB / 0.7874 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3166, allocations: 318.8 kB / 0.7877 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3168, allocations: 27.98 kB / 0.7878 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3169, allocations: 33.69 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3171, allocations: 48.83 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3171, allocations: 4.031 kB / 0.7878 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002127/0.3173, allocations: 97.64 kB / 0.7879 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3173, allocations: 4 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3173, allocations: 0 / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3174, allocations: 0 / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3175, allocations: 11.98 kB / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3175, allocations: 0 / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.3176, allocations: 15.89 kB / 0.788 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3176, allocations: 7.938 kB / 0.788 GB, free: 9.008 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: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.668e-05/0.3177, allocations: 114.5 kB / 0.7881 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3177, allocations: 4 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.3178, allocations: 20.17 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3178, allocations: 0 / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3178, allocations: 0 / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3178, allocations: 0 / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.318, allocations: 193.6 kB / 0.7883 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.318, allocations: 3.938 kB / 0.7883 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.3181, allocations: 12 kB / 0.7883 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3181, allocations: 0 / 0.7883 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3181, allocations: 3.984 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3181, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3181, allocations: 3.938 kB / 0.7883 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3183, allocations: 179.4 kB / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3184, allocations: 81.02 kB / 0.7886 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3184, allocations: 8 kB / 0.7886 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3185, allocations: 7.984 kB / 0.7886 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.3186, allocations: 11.98 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3187, allocations: 4 kB / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.3187, allocations: 105.2 kB / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3187, allocations: 0 / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002212/0.319, allocations: 16 kB / 0.7887 GB, free: 8.156 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000141/0.3191, allocations: 103.5 kB / 0.7888 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.3193, allocations: 55.91 kB / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3193, allocations: 0 / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.3194, allocations: 31.97 kB / 0.7889 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3197, allocations: 9.438 kB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.3202, allocations: 234.5 kB / 0.7891 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3204, allocations: 0.6926 MB / 0.7898 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.3205, allocations: 11.44 kB / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.3205, allocations: 0 / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.002485/0.323, allocations: 0.9967 MB / 0.7908 GB, free: 5.977 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.ChillerSwitchCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.o] Error 1