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.001003/0.001003, allocations: 99.59 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.001156/0.001156, allocations: 174.1 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.903/1.903, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.847/1.847, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0007128/0.0007129, allocations: 19.88 kB / 0.6744 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3386, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002318/0.341, allocations: 1.37 MB / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.342, allocations: 460.1 kB / 0.7897 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.3421, allocations: 0 / 0.7897 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.3422, allocations: 3.938 kB / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3423, allocations: 19.8 kB / 0.7897 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3426, allocations: 19.98 kB / 0.7898 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3428, allocations: 75.7 kB / 0.7898 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.343, allocations: 23.98 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3432, allocations: 19.92 kB / 0.7899 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3433, allocations: 43.77 kB / 0.7899 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3433, allocations: 0 / 0.7899 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.3433, allocations: 4 kB / 0.7899 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.3434, allocations: 7.922 kB / 0.7899 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.3434, allocations: 41.64 kB / 0.79 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3435, allocations: 56.11 kB / 0.79 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3435, allocations: 4 kB / 0.79 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3436, allocations: 0 / 0.79 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3436, allocations: 0 / 0.79 GB, free: 9.809 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.000601/0.3442, allocations: 383.1 kB / 0.7904 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3442, allocations: 8.031 kB / 0.7904 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.3443, allocations: 7.906 kB / 0.7904 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3445, allocations: 186.9 kB / 0.7906 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3445, allocations: 4 kB / 0.7906 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.3445, allocations: 4 kB / 0.7906 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3448, allocations: 95.31 kB / 0.7907 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3448, allocations: 3.984 kB / 0.7907 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.3449, allocations: 3.984 kB / 0.7907 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3449, allocations: 0 / 0.7907 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3451, allocations: 59.97 kB / 0.7907 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.3457, allocations: 332.6 kB / 0.7911 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3458, allocations: 50.56 kB / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.3459, allocations: 32.94 kB / 0.7911 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.346, allocations: 4 kB / 0.7911 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.346, allocations: 34.56 kB / 0.7912 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.856e-06/0.346, allocations: 96 / 0.7912 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000381/0.3464, allocations: 125.4 kB / 0.7913 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3465, allocations: 77.11 kB / 0.7914 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3466, allocations: 126.1 kB / 0.7915 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.3467, allocations: 33.64 kB / 0.7915 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.3468, allocations: 100 kB / 0.7916 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.3468, allocations: 7.844 kB / 0.7916 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.3468, allocations: 4 kB / 0.7916 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.347, allocations: 322.8 kB / 0.7919 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.3471, allocations: 31.98 kB / 0.792 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.3472, allocations: 45.64 kB / 0.792 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.3473, allocations: 27.92 kB / 0.792 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3473, allocations: 0 / 0.792 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002196/0.3475, allocations: 97.73 kB / 0.7921 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3475, allocations: 4 kB / 0.7921 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3475, allocations: 0 / 0.7921 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3476, allocations: 3.953 kB / 0.7921 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3477, allocations: 15.98 kB / 0.7921 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3477, allocations: 4 kB / 0.7922 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.3478, allocations: 19.98 kB / 0.7922 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3478, allocations: 0 / 0.7922 GB, free: 7.363 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 ($PRE.chiSwi.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3479, allocations: 113.8 kB / 0.7923 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.348, allocations: 7.906 kB / 0.7923 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.348, allocations: 12.23 kB / 0.7923 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.348, allocations: 4 kB / 0.7923 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3481, allocations: 11.89 kB / 0.7923 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3481, allocations: 0 / 0.7923 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3483, allocations: 185.6 kB / 0.7925 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3483, allocations: 4 kB / 0.7925 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.3484, allocations: 8 kB / 0.7925 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3484, allocations: 0 / 0.7925 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3484, allocations: 7.984 kB / 0.7925 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3484, allocations: 3.984 kB / 0.7925 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3484, allocations: 0 / 0.7925 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3487, allocations: 191.4 kB / 0.7927 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.3488, allocations: 81.02 kB / 0.7928 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3488, allocations: 4 kB / 0.7928 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3489, allocations: 16.22 kB / 0.7928 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.349, allocations: 11.98 kB / 0.7928 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.349, allocations: 4 kB / 0.7928 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.682e-05/0.3491, allocations: 114.2 kB / 0.7929 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.3491, allocations: 0 / 0.7929 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002316/0.3493, allocations: 19.94 kB / 0.7929 GB, free: 6.48 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 (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.000129/0.3495, allocations: 99.23 kB / 0.793 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3497, allocations: 63.97 kB / 0.7931 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3497, allocations: 0 / 0.7931 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.3498, allocations: 27.98 kB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3501, allocations: 14.36 kB / 0.7931 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3506, allocations: 220.3 kB / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.351, allocations: 0.6926 MB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.351, allocations: 15.38 kB / 0.794 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.351, allocations: 4 kB / 0.794 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.003068/0.3541, allocations: 0.981 MB / 0.795 GB, free: 4.32 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++ 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.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