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.0009802/0.0009802, allocations: 92.78 kB / 16.02 MB, free: 80 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.001113/0.001113, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.749/1.749, allocations: 205.4 MB / 223.1 MB, free: 5.465 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.803/1.803, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005698/0.0005699, allocations: 12.94 kB / 0.675 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3152, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002103/0.3173, allocations: 1.389 MB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.3182, allocations: 479.8 kB / 0.7904 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.3182, allocations: 0 / 0.7904 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3183, allocations: 7.922 kB / 0.7904 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3184, allocations: 15.86 kB / 0.7904 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3186, allocations: 19.98 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3187, allocations: 79.7 kB / 0.7905 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3189, allocations: 27.98 kB / 0.7905 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.319, allocations: 23.86 kB / 0.7905 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.3191, allocations: 31.84 kB / 0.7906 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3191, allocations: 4 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.3191, allocations: 4 kB / 0.7906 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.3192, allocations: 11.91 kB / 0.7906 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.3192, allocations: 57.52 kB / 0.7906 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3194, allocations: 64.09 kB / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3194, allocations: 0 / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3194, allocations: 0 / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3194, allocations: 0 / 0.7907 GB, free: 9.355 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.0006267/0.32, allocations: 375.3 kB / 0.7911 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3201, allocations: 12.03 kB / 0.7911 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3201, allocations: 12.84 kB / 0.7911 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.3204, allocations: 184.1 kB / 0.7913 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3204, allocations: 4.312 kB / 0.7913 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3204, allocations: 8.375 kB / 0.7913 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.3206, allocations: 91.69 kB / 0.7914 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3207, allocations: 0 / 0.7914 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3207, allocations: 8 kB / 0.7914 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3207, allocations: 4 kB / 0.7914 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3209, allocations: 59.84 kB / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3214, allocations: 328.7 kB / 0.7917 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.3216, allocations: 62.53 kB / 0.7918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.3217, allocations: 36.92 kB / 0.7918 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3217, allocations: 0 / 0.7918 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3218, allocations: 34.56 kB / 0.7919 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3218, allocations: 0 / 0.7919 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.3222, allocations: 105.7 kB / 0.792 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.3222, allocations: 81.11 kB / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3224, allocations: 130.1 kB / 0.7922 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3224, allocations: 25.7 kB / 0.7922 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.3225, allocations: 104 kB / 0.7923 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3225, allocations: 11.81 kB / 0.7923 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.3225, allocations: 21.64 kB / 0.7923 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3227, allocations: 326.8 kB / 0.7926 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3228, allocations: 27.98 kB / 0.7927 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.3229, allocations: 37.7 kB / 0.7927 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.323, allocations: 60.86 kB / 0.7928 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.323, allocations: 0 / 0.7928 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.3232, allocations: 101.7 kB / 0.7928 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3233, allocations: 6.656 kB / 0.7929 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3233, allocations: 4 kB / 0.7929 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3233, allocations: 4 kB / 0.7929 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3234, allocations: 15.92 kB / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3234, allocations: 0 / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.3235, allocations: 15.98 kB / 0.7929 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3235, allocations: 3.938 kB / 0.7929 GB, free: 6.859 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.478e-05/0.3236, allocations: 118.5 kB / 0.793 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3236, allocations: 8.094 kB / 0.793 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.3237, allocations: 16.23 kB / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3237, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3237, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3237, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3239, allocations: 197.5 kB / 0.7932 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3239, allocations: 0 / 0.7932 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.324, allocations: 11.98 kB / 0.7932 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.324, allocations: 3.938 kB / 0.7932 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.324, allocations: 4 kB / 0.7932 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.324, allocations: 0 / 0.7932 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.324, allocations: 0 / 0.7932 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3243, allocations: 191.3 kB / 0.7934 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.3244, allocations: 89.09 kB / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3244, allocations: 0 / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3245, allocations: 15.98 kB / 0.7935 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3246, allocations: 15.92 kB / 0.7935 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3246, allocations: 0 / 0.7935 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.3246, allocations: 105.4 kB / 0.7936 GB, free: 6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 0 / 0.7936 GB, free: 6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002257/0.3249, allocations: 19.91 kB / 0.7937 GB, free: 5.98 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.0001388/0.325, allocations: 103.2 kB / 0.7938 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3253, allocations: 63.89 kB / 0.7938 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3253, allocations: 0 / 0.7938 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.3254, allocations: 35.98 kB / 0.7939 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3257, allocations: 4 kB / 0.7939 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.3262, allocations: 228.3 kB / 0.7941 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3265, allocations: 0.6926 MB / 0.7947 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.3265, allocations: 15.42 kB / 0.7948 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.3265, allocations: 0 / 0.7948 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.002833/0.3294, allocations: 0.9815 MB / 0.7957 GB, free: 3.812 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