Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, 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.001729/0.001729, 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.613/1.613, 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 11.0.0-master/package.mo): time 2.674/2.674, allocations: 436.7 MB / 0.7113 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 12 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8945, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.0009779/0.8955, allocations: 0.4987 MB / 1.022 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8969, allocations: 1.124 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.897, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.897, allocations: 3.984 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.8971, allocations: 11.86 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.8975, allocations: 118.5 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.8976, allocations: 103.8 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.8977, allocations: 15.97 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.8978, allocations: 47.83 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.8979, allocations: 43.88 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.898, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.898, allocations: 12 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.8981, allocations: 19.92 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.8981, allocations: 37.7 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.8982, allocations: 83.8 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8982, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8982, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8983, allocations: 0 / 1.024 GB, free: 14.99 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.000596/0.8989, allocations: 424.3 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8989, allocations: 11.98 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.899, allocations: 7.906 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.8991, allocations: 178.9 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.8991, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.8991, allocations: 11.95 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.8994, allocations: 85.64 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8994, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8994, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.8995, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.8997, allocations: 87.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.9002, allocations: 332.6 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.9004, allocations: 70.53 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.9006, allocations: 52.91 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.9006, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.9009, allocations: 111.3 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.9009, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005734/0.9015, allocations: 197.5 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.9015, allocations: 51.41 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.9016, allocations: 128.5 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.9016, allocations: 29.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.9017, allocations: 92.14 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.9017, allocations: 15.88 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.9018, allocations: 8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9019, allocations: 318.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.9021, allocations: 71.95 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.9023, allocations: 98.39 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.9025, allocations: 97.66 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9025, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005038/0.903, allocations: 239.2 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.9031, allocations: 41.69 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9031, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.9031, allocations: 4.062 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9032, allocations: 19.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9033, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.9035, allocations: 59.8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.9036, allocations: 7.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001266/0.9037, allocations: 129.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.9037, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.9037, allocations: 12.38 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.9037, allocations: 3.984 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.9038, allocations: 7.984 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9038, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.9039, allocations: 189.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9039, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.904, allocations: 23.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.904, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.9041, allocations: 3.984 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9041, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9041, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.9045, allocations: 173 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.9045, allocations: 84.97 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9045, allocations: 7.938 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.9046, allocations: 15.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.9047, allocations: 7.984 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.9047, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.9048, allocations: 95.27 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9048, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00022/0.905, allocations: 20 kB / 1.027 GB, free: 11.07 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001944/0.9052, allocations: 111.2 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.9057, allocations: 211.2 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9057, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.9058, allocations: 60.08 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.9061, allocations: 20.02 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.9065, allocations: 212.2 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.9068, allocations: 0.6848 MB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.9068, allocations: 11.42 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9068, allocations: 0 / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.002857/0.9097, allocations: 1.298 MB / 1.03 GB, free: 8.418 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.SwitchCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.SwitchCalcHelperMain.o] Error 1