Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_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.00109/0.00109, allocations: 100.5 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.00139/0.00139, allocations: 175.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 436.7 MB / 0.7113 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 15.94 kB / 0.8717 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.026, allocations: 153.7 MB / 1.022 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002059/1.029, allocations: 1.362 MB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/1.029, allocations: 423.3 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/1.029, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/1.029, allocations: 3.938 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/1.03, allocations: 23.84 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/1.03, allocations: 11.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/1.03, allocations: 75.7 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/1.03, allocations: 23.97 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/1.03, allocations: 27.92 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/1.03, allocations: 27.84 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/1.03, allocations: 8 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/1.03, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/1.03, allocations: 15.91 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/1.03, allocations: 37.64 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/1.03, allocations: 49.86 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.03, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.933e-06/1.03, allocations: 3.938 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.98e-06/1.03, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 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.0005569/1.031, allocations: 391 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.031, allocations: 15.98 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/1.031, allocations: 7.906 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.031, allocations: 175 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/1.031, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/1.031, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/1.031, allocations: 103.2 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.032, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/1.032, allocations: 8 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.032, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/1.032, allocations: 47.97 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/1.032, allocations: 336.6 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/1.032, allocations: 62.55 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/1.033, allocations: 28.94 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.033, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.033, allocations: 30.56 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/1.033, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003644/1.033, allocations: 121.6 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.033, allocations: 77.11 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.033, allocations: 136.2 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/1.033, allocations: 29.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/1.033, allocations: 100 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/1.033, allocations: 11.89 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/1.033, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.033, allocations: 318.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/1.034, allocations: 27.98 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/1.034, allocations: 45.69 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/1.034, allocations: 20 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.034, allocations: 3.938 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/1.034, allocations: 101.6 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.034, allocations: 8.031 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.034, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.034, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.034, allocations: 11.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.034, allocations: 3.938 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/1.034, allocations: 15.98 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/1.034, allocations: 4 kB / 1.026 GB, free: 12.51 MB / 0.7794 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.0001237/1.034, allocations: 125.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/1.034, allocations: 7.906 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/1.034, allocations: 8.25 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.034, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.034, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.034, allocations: 7.922 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.035, allocations: 193.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.035, allocations: 192 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/1.035, allocations: 15.98 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.035, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.035, allocations: 7.984 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.035, allocations: 192 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.035, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/1.035, allocations: 191.4 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/1.035, allocations: 85 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/1.035, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.035, allocations: 15.98 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/1.035, allocations: 7.984 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.035, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001098/1.035, allocations: 99.27 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.625e-06/1.035, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/1.036, allocations: 15.94 kB / 1.027 GB, free: 11.64 MB / 0.7794 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.0001288/1.036, allocations: 103.2 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002078/1.036, allocations: 55.97 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.036, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/1.036, allocations: 31.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/1.036, allocations: 10.62 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/1.037, allocations: 240 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.037, allocations: 0.6926 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/1.037, allocations: 11.44 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/1.037, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002679/1.04, allocations: 0.9792 MB / 1.029 GB, free: 9.465 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.o] Error 1