Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009627/0.0009631, allocations: 100.2 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.0008762/0.0008762, allocations: 176.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.533/1.533, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.4 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005118, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.103, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.0021/1.105, allocations: 1.371 MB / 0.9557 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/1.106, allocations: 427 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/1.106, allocations: 1.219 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/1.106, allocations: 7.922 kB / 0.9562 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/1.106, allocations: 10.22 kB / 0.9562 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/1.106, allocations: 27.67 kB / 0.9562 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.107, allocations: 66.75 kB / 0.9563 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/1.107, allocations: 22.02 kB / 0.9563 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/1.107, allocations: 23.86 kB / 0.9563 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/1.107, allocations: 34.56 kB / 0.9563 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/1.107, allocations: 2.781 kB / 0.9563 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/1.107, allocations: 5.406 kB / 0.9563 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/1.107, allocations: 14.67 kB / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/1.107, allocations: 33.98 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/1.107, allocations: 59.61 kB / 0.9565 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.107, allocations: 0 / 0.9565 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/1.107, allocations: 0 / 0.9565 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/1.107, allocations: 1.938 kB / 0.9565 GB, free: 6.441 MB / 0.7169 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.0005363/1.108, allocations: 391.5 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.108, allocations: 9.375 kB / 0.9568 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/1.108, allocations: 12.36 kB / 0.9568 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/1.108, allocations: 168.2 kB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/1.108, allocations: 2.312 kB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/1.108, allocations: 2.875 kB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/1.108, allocations: 103 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.108, allocations: 0 / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.108, allocations: 1.312 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.108, allocations: 1 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/1.109, allocations: 61.39 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/1.109, allocations: 327.2 kB / 0.9575 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.109, allocations: 57.64 kB / 0.9575 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/1.109, allocations: 33.25 kB / 0.9576 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/1.109, allocations: 3.953 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/1.109, allocations: 36.5 kB / 0.9576 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/1.109, allocations: 0 / 0.9576 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000406/1.11, allocations: 121.6 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.11, allocations: 78.2 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.11, allocations: 137.5 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/1.11, allocations: 26.89 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/1.11, allocations: 103.6 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/1.11, allocations: 6.062 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/1.11, allocations: 4 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.11, allocations: 317.1 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/1.11, allocations: 27.86 kB / 0.9584 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/1.11, allocations: 44.39 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/1.111, allocations: 23.8 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.111, allocations: 3.938 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002549/1.111, allocations: 106.5 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.111, allocations: 5.062 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.111, allocations: 4.062 kB / 0.9586 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.111, allocations: 5.422 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.111, allocations: 9.094 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.111, allocations: 0 / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/1.111, allocations: 15.36 kB / 0.9586 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/1.111, allocations: 5.094 kB / 0.9586 GB, free: 4.391 MB / 0.7169 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.0001233/1.111, allocations: 121.7 kB / 0.9587 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/1.111, allocations: 11.92 kB / 0.9587 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/1.111, allocations: 10.62 kB / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.111, allocations: 0 / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.111, allocations: 0.8438 kB / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.111, allocations: 0 / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/1.112, allocations: 192.7 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.112, allocations: 0 / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/1.112, allocations: 20.02 kB / 0.9589 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/1.112, allocations: 1.375 kB / 0.959 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.112, allocations: 3.953 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.112, allocations: 1.438 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.112, allocations: 0 / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/1.112, allocations: 186.4 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/1.112, allocations: 86.14 kB / 0.9592 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/1.112, allocations: 1.219 kB / 0.9592 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/1.112, allocations: 22.72 kB / 0.9592 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/1.112, allocations: 8.922 kB / 0.9592 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/1.112, allocations: 5.328 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.777e-05/1.112, allocations: 102.4 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 1.531 kB / 0.9594 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002223/1.113, allocations: 11.28 kB / 0.9594 GB, free: 3.641 MB / 0.7169 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.0001281/1.113, allocations: 100.2 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002279/1.113, allocations: 62.77 kB / 0.9595 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.113, allocations: 4 kB / 0.9595 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/1.113, allocations: 31.03 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/1.113, allocations: 3.906 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/1.114, allocations: 228 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/1.114, allocations: 0.694 MB / 0.9604 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/1.114, allocations: 14.33 kB / 0.9605 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/1.114, allocations: 0 / 0.9605 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.003207/1.117, allocations: 0.9919 MB / 0.9614 GB, free: 2.082 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile make -j1 -f Buildings_9_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_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitchCalcHelperMain.o] Error 1