Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008284, allocations: 99.59 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.000921/0.0009211, allocations: 175.6 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.498/1.498, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.545/2.545, allocations: 390.4 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005755/0.0005756, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8969, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.000934/0.8979, allocations: 388.2 kB / 0.9548 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.8996, allocations: 1.16 MB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.8997, allocations: 3.938 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.8997, allocations: 0.9062 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.8998, allocations: 12.94 kB / 0.9559 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.9005, allocations: 195.2 kB / 0.9561 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.9007, allocations: 137.8 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.9008, allocations: 12.36 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.901, allocations: 60.02 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.9011, allocations: 46.27 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.9012, allocations: 7.438 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.9013, allocations: 22.36 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.9013, allocations: 4 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.9014, allocations: 48.67 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.9016, allocations: 103.7 kB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9016, allocations: 1.156 kB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9016, allocations: 0 / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9016, allocations: 3.938 kB / 0.9566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004638/0.9021, allocations: 406.1 kB / 0.9569 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9021, allocations: 9.312 kB / 0.9569 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.9022, allocations: 14.36 kB / 0.957 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.9023, allocations: 169.3 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.9024, allocations: 8.938 kB / 0.9571 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.9024, allocations: 12.72 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.9025, allocations: 47.61 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9025, allocations: 0 / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.9026, allocations: 4.969 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9026, allocations: 1.062 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.9026, allocations: 24.47 kB / 0.9572 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.9032, allocations: 359.3 kB / 0.9576 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.9032, allocations: 33.92 kB / 0.9576 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.9033, allocations: 18.5 kB / 0.9576 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.9033, allocations: 4.844 kB / 0.9576 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.9035, allocations: 80.81 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.9035, allocations: 0 / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002577/0.9038, allocations: 107.9 kB / 0.9578 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.9038, allocations: 56.45 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.9039, allocations: 122.5 kB / 0.958 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.9039, allocations: 37.92 kB / 0.958 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.904, allocations: 92.7 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.904, allocations: 6.906 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.904, allocations: 7.812 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.9041, allocations: 315.9 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.9042, allocations: 59.34 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.9044, allocations: 104.7 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.9045, allocations: 113.8 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9045, allocations: 1.188 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00042/0.905, allocations: 262.4 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.905, allocations: 68.45 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.9051, allocations: 5.281 kB / 0.959 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.9051, allocations: 5.172 kB / 0.959 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.997e-05/0.9051, allocations: 6.25 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.9052, allocations: 2.656 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.9056, allocations: 86.45 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.9056, allocations: 9.719 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.96e-05/0.9057, allocations: 121.9 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.9057, allocations: 6.688 kB / 0.9592 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.9058, allocations: 9.688 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9058, allocations: 5.234 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9058, allocations: 0 / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9058, allocations: 3.938 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.9059, allocations: 182 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9059, allocations: 0 / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.9059, allocations: 1 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.9059, allocations: 1 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.906, allocations: 1.219 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.906, allocations: 5.094 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.906, allocations: 3.953 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.9061, allocations: 107.5 kB / 0.9595 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.9062, allocations: 87.38 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.9062, allocations: 1.5 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.9062, allocations: 0 / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.9063, allocations: 12.55 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.9063, allocations: 11.02 kB / 0.9596 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.9063, allocations: 101.9 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9063, allocations: 0 / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002467/0.9066, allocations: 28 kB / 0.9598 GB, free: 3.371 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000163/0.9068, allocations: 106.5 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.9071, allocations: 244.6 kB / 0.9601 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9071, allocations: 0 / 0.9601 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.9072, allocations: 34.44 kB / 0.9601 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.9074, allocations: 20.67 kB / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.9078, allocations: 191.1 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.9079, allocations: 0.6878 MB / 0.961 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.9079, allocations: 10.97 kB / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.9079, allocations: 0 / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.003589/0.9115, allocations: 1.381 MB / 0.9624 GB, free: 1.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Logical.Validation.XorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.XorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.XorCalcHelperMain.o] Error 1