Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 99.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.0008906/0.0008907, allocations: 173.5 kB / 16.58 MB, free: 6.418 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.405/1.405, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.739/2.739, allocations: 390.4 MB / 0.6662 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004553, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8238, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00121/0.825, allocations: 0.6971 MB / 0.9551 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.8267, allocations: 1.438 MB / 0.9565 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.8268, allocations: 6.5 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.827, allocations: 13.3 kB / 0.9565 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.827, allocations: 39.73 kB / 0.9566 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.8281, allocations: 406.7 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.8285, allocations: 408.6 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.8288, allocations: 102 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.829, allocations: 153.9 kB / 0.9576 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.8292, allocations: 129.4 kB / 0.9577 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.8292, allocations: 19.41 kB / 0.9577 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.8293, allocations: 33.12 kB / 0.9578 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.8294, allocations: 41.19 kB / 0.9578 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.8295, allocations: 78.8 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.8299, allocations: 379.5 kB / 0.9582 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.8299, allocations: 5.312 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8299, allocations: 0 / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.8299, allocations: 0 / 0.9582 GB, free: 5.25 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006734/0.8306, allocations: 0.6049 MB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.8307, allocations: 9.438 kB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.8308, allocations: 47.25 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.8317, allocations: 367.2 kB / 0.9592 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.8317, allocations: 27.06 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.8318, allocations: 33.28 kB / 0.9593 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.8322, allocations: 228.3 kB / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8322, allocations: 0 / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.8323, allocations: 13.73 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.8323, allocations: 13.39 kB / 0.9595 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.8325, allocations: 139.4 kB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.8336, allocations: 0.7659 MB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.8339, allocations: 186.8 kB / 0.9606 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.8343, allocations: 218.7 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.8343, allocations: 2.062 kB / 0.9608 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.8346, allocations: 243.5 kB / 0.961 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.8346, allocations: 0 / 0.961 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007275/0.8354, allocations: 420.9 kB / 0.9614 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.8354, allocations: 112 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.8357, allocations: 291.7 kB / 0.9618 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.8358, allocations: 41.67 kB / 0.9619 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.8359, allocations: 164.1 kB / 0.962 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.8359, allocations: 58.22 kB / 0.9621 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.836, allocations: 15.94 kB / 0.9621 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.8361, allocations: 337 kB / 0.9624 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.8365, allocations: 197.7 kB / 0.9626 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.8369, allocations: 319.9 kB / 0.9629 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.8373, allocations: 336.8 kB / 0.9632 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8373, allocations: 1.656 kB / 0.9632 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001076/0.8384, allocations: 0.7233 MB / 0.9639 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.8384, allocations: 123.3 kB / 0.9641 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8385, allocations: 3.469 kB / 0.9641 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.8385, allocations: 6.406 kB / 0.9641 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.8386, allocations: 25.2 kB / 0.9641 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8386, allocations: 3.906 kB / 0.9641 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.8393, allocations: 172.2 kB / 0.9643 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.8394, allocations: 69.02 kB / 0.9643 GB, free: 0.7812 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001993/0.8396, allocations: 191.2 kB / 0.9645 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.8396, allocations: 28.56 kB / 0.9645 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.8402, allocations: 360.1 kB / 0.9649 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8402, allocations: 3.562 kB / 0.9649 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8402, allocations: 0 / 0.9649 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.8402, allocations: 3.984 kB / 0.9649 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.8411, allocations: 0.7111 MB / 0.9656 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8411, allocations: 1 kB / 0.9656 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.8412, allocations: 15.58 kB / 0.9656 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8412, allocations: 0.9688 kB / 0.9656 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.8413, allocations: 11.61 kB / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.8413, allocations: 1.219 kB / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8413, allocations: 3.938 kB / 0.9656 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.8418, allocations: 418.3 kB / 0.966 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.8419, allocations: 105.9 kB / 0.9661 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.842, allocations: 9.328 kB / 0.9661 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.8421, allocations: 15.53 kB / 0.9661 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.8422, allocations: 18.16 kB / 0.9662 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.8422, allocations: 16.05 kB / 0.9662 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002082/0.8424, allocations: 184.7 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8424, allocations: 0.9688 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004401/0.8429, allocations: 93.06 kB / 0.9664 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002183/0.8431, allocations: 125.8 kB / 0.9666 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009582/0.844, allocations: 0.6582 MB / 0.9672 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8441, allocations: 5.25 kB / 0.9672 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.8443, allocations: 149 kB / 0.9673 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.8448, allocations: 55.39 kB / 0.9674 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.8459, allocations: 0.5876 MB / 0.968 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.8463, allocations: 0.7668 MB / 0.9687 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.8463, allocations: 31.34 kB / 0.9687 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8464, allocations: 1.031 kB / 0.9688 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.008172/0.8545, allocations: 4.368 MB / 0.973 GB, free: 11.25 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.Routing.Validation.BooleanExtractorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractorCalcHelperMain.o] Error 1