Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 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.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100.1 kB / 15.71 MB, free: 440 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.00191/0.00191, allocations: 173.8 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.572/1.572, allocations: 223.3 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.569/2.569, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004191, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9189/0.9194, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.0009789/0.9204, allocations: 0.513 MB / 0.9549 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.9221, allocations: 1.281 MB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.9222, allocations: 1.094 kB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.9223, allocations: 5.281 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.9224, allocations: 13.3 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.9232, allocations: 299.4 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.9235, allocations: 227.4 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.9237, allocations: 32.95 kB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.9239, allocations: 92.58 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.924, allocations: 82.33 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.9241, allocations: 17.81 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.9242, allocations: 22.39 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.9243, allocations: 18.52 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.9243, allocations: 51.45 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.9245, allocations: 181.5 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9246, allocations: 4.875 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9246, allocations: 0 / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.9246, allocations: 0 / 0.9572 GB, free: 6.059 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005219/0.9251, allocations: 493 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9252, allocations: 13.56 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.9253, allocations: 24.92 kB / 0.9577 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.9254, allocations: 181.1 kB / 0.9579 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.9254, allocations: 13.34 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.9255, allocations: 19.47 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.9257, allocations: 90.31 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.9257, allocations: 0 / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.9257, allocations: 5.375 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.9257, allocations: 1.469 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.9258, allocations: 53.56 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.9265, allocations: 487.6 kB / 0.9585 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.9267, allocations: 79.22 kB / 0.9586 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.9268, allocations: 25.64 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.9268, allocations: 5.062 kB / 0.9586 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.927, allocations: 119.9 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.927, allocations: 0 / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.000346/0.9273, allocations: 169.6 kB / 0.9589 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.9274, allocations: 54.47 kB / 0.9589 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9275, allocations: 168.8 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.9276, allocations: 39.2 kB / 0.9591 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.9276, allocations: 110.1 kB / 0.9592 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.9277, allocations: 19.56 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.9277, allocations: 5.062 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.9278, allocations: 326.2 kB / 0.9596 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.928, allocations: 97.53 kB / 0.9597 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.9282, allocations: 153.3 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.9284, allocations: 175.8 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9284, allocations: 1 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005962/0.929, allocations: 406.5 kB / 0.9604 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.9291, allocations: 96.66 kB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.9291, allocations: 2.031 kB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9291, allocations: 2.188 kB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.9292, allocations: 20.92 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9292, allocations: 3 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.9297, allocations: 120.7 kB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.9297, allocations: 21.73 kB / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001134/0.9299, allocations: 135.5 kB / 0.9607 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.9299, allocations: 13.36 kB / 0.9608 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.9299, allocations: 15.53 kB / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9299, allocations: 2.75 kB / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.93, allocations: 0 / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.93, allocations: 3.984 kB / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.9301, allocations: 225 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9301, allocations: 0 / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.9302, allocations: 8.25 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.9302, allocations: 3.953 kB / 0.961 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.9302, allocations: 6.734 kB / 0.961 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9302, allocations: 0 / 0.961 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9302, allocations: 0 / 0.961 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.9304, allocations: 169.5 kB / 0.9612 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.9305, allocations: 91.67 kB / 0.9613 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.9305, allocations: 5.328 kB / 0.9613 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.9305, allocations: 1.375 kB / 0.9613 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.9306, allocations: 13.48 kB / 0.9613 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.9306, allocations: 12.05 kB / 0.9613 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.9307, allocations: 119 kB / 0.9614 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9307, allocations: 0 / 0.9614 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002892/0.931, allocations: 51.73 kB / 0.9615 GB, free: 2.348 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001744/0.9312, allocations: 116.7 kB / 0.9616 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.9317, allocations: 382.7 kB / 0.9619 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.9317, allocations: 0 / 0.9619 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.9318, allocations: 59.94 kB / 0.962 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.9321, allocations: 20.36 kB / 0.962 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.9326, allocations: 290.2 kB / 0.9623 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.9328, allocations: 0.7094 MB / 0.963 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.9329, allocations: 19.91 kB / 0.963 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9329, allocations: 0 / 0.963 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of Templates: time 0.005693/0.9386, allocations: 2.26 MB / 0.9652 GB, free: 15.78 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.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_9_Buildings.Controls.OBC.CDL.Integers.Validation.SwitchCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.SwitchCalcHelperMain.o] Error 1