Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.91 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.001334/0.001334, allocations: 178 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.437/1.437, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 436.7 MB / 0.7113 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 8 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8671, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0009055/0.8681, allocations: 428.9 kB / 1.022 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.8697, allocations: 1.241 MB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.8697, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.8698, allocations: 7.938 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.8699, allocations: 15.86 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.8706, allocations: 284.7 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.8708, allocations: 195.6 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.8709, allocations: 28.14 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.8711, allocations: 83.86 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.8712, allocations: 71.77 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.8712, allocations: 12 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.8713, allocations: 23.98 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.8713, allocations: 11.94 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.8714, allocations: 45.7 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.8716, allocations: 149.6 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8716, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8716, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.8716, allocations: 4 kB / 1.024 GB, free: 14.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005355/0.8722, allocations: 460.2 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8722, allocations: 19.92 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.8723, allocations: 11.91 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.8725, allocations: 174.9 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.8725, allocations: 12 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.8725, allocations: 12 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.8727, allocations: 61.62 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.8727, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8727, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8727, allocations: 3.984 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.8728, allocations: 20 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.8735, allocations: 424.4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.8735, allocations: 26.58 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.8736, allocations: 20.94 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.8736, allocations: 4 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.8738, allocations: 103.2 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.8739, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003633/0.8742, allocations: 141.4 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.8743, allocations: 55.41 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.8744, allocations: 132.3 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.8745, allocations: 41.7 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.8746, allocations: 100 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.8746, allocations: 19.88 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.8747, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.8749, allocations: 326.8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.8751, allocations: 87.95 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.8753, allocations: 135.7 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.8756, allocations: 169 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8756, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006642/0.8763, allocations: 378.6 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.8764, allocations: 97.09 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8764, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8764, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.8765, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8765, allocations: 7.938 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.877, allocations: 123.8 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.8771, allocations: 15.98 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001397/0.8772, allocations: 135.4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.8772, allocations: 7.906 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.8773, allocations: 16.36 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8773, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8773, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8773, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.8775, allocations: 185.6 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8775, allocations: 11.98 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.8775, allocations: 3.938 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8775, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.8776, allocations: 12 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8776, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8776, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.8778, allocations: 137.3 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.8778, allocations: 85.11 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8779, allocations: 7.938 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.8779, allocations: 8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.8779, allocations: 7.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.878, allocations: 7.984 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.312e-05/0.878, allocations: 102.2 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.878, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002722/0.8783, allocations: 44 kB / 1.028 GB, free: 10.23 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001826/0.8785, allocations: 103.2 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.879, allocations: 374 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.879, allocations: 0 / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.8791, allocations: 39.92 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.8794, allocations: 27.92 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.8798, allocations: 237.5 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.8802, allocations: 0.6926 MB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.8802, allocations: 11.44 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8802, allocations: 0 / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.004095/0.8843, allocations: 1.865 MB / 1.031 GB, free: 6.816 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o] Error 1