Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_9_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_9_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.0007152/0.0007153, allocations: 101.3 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.0009071/0.0009071, allocations: 174.2 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.43/1.43, allocations: 223.3 MB / 240.6 MB, free: 5.449 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.672/2.672, allocations: 390.4 MB / 0.6662 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9132, allocations: 142.3 MB / 0.9544 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0008973/0.9141, allocations: 425.2 kB / 0.9548 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.9155, allocations: 1.243 MB / 0.956 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.9156, allocations: 1.062 kB / 0.956 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.9156, allocations: 7.922 kB / 0.956 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.9157, allocations: 10.06 kB / 0.9561 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.9165, allocations: 287.5 kB / 0.9563 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.9167, allocations: 195.5 kB / 0.9565 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.9168, allocations: 18.02 kB / 0.9565 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.9169, allocations: 90.31 kB / 0.9566 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.917, allocations: 63.92 kB / 0.9567 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.9171, allocations: 12.16 kB / 0.9567 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.9172, allocations: 30.55 kB / 0.9567 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.9172, allocations: 8.453 kB / 0.9567 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.9173, allocations: 50.7 kB / 0.9568 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.9174, allocations: 152.5 kB / 0.9569 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9175, allocations: 0 / 0.9569 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9175, allocations: 0 / 0.9569 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.9175, allocations: 1.375 kB / 0.9569 GB, free: 6.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000432/0.9179, allocations: 457.1 kB / 0.9574 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.918, allocations: 9.031 kB / 0.9574 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.918, allocations: 18.39 kB / 0.9574 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.9181, allocations: 171.3 kB / 0.9576 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.9182, allocations: 15.42 kB / 0.9576 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.9182, allocations: 13.12 kB / 0.9576 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.9183, allocations: 58.17 kB / 0.9576 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.9184, allocations: 3.984 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9184, allocations: 1.094 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.9184, allocations: 1.031 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.9184, allocations: 27.03 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.9189, allocations: 411 kB / 0.9581 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.919, allocations: 39.38 kB / 0.9581 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.9191, allocations: 21.25 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.9191, allocations: 0 / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.9192, allocations: 101.7 kB / 0.9582 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.9193, allocations: 7.938 kB / 0.9582 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002957/0.9196, allocations: 136.4 kB / 0.9583 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.9196, allocations: 62.92 kB / 0.9584 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.9197, allocations: 133.5 kB / 0.9585 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.9197, allocations: 32.08 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.9198, allocations: 102.7 kB / 0.9587 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.9198, allocations: 23.23 kB / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.9199, allocations: 5.344 kB / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.9199, allocations: 321.7 kB / 0.959 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.9201, allocations: 89.09 kB / 0.9591 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.9203, allocations: 135.8 kB / 0.9592 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.9205, allocations: 170.4 kB / 0.9594 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9205, allocations: 1.156 kB / 0.9594 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005595/0.9211, allocations: 379.7 kB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.9212, allocations: 100.2 kB / 0.9598 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9212, allocations: 5.484 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9212, allocations: 3.125 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.46e-05/0.9212, allocations: 2.875 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9212, allocations: 7.281 kB / 0.9599 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.9218, allocations: 123 kB / 0.96 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.9218, allocations: 17.3 kB / 0.96 GB, free: 3.77 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: 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.0001127/0.9219, allocations: 130.2 kB / 0.9601 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.922, allocations: 15.98 kB / 0.9601 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.922, allocations: 9.75 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.922, allocations: 1.375 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.922, allocations: 0 / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.922, allocations: 5.359 kB / 0.9601 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.9221, allocations: 184.8 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9221, allocations: 1.375 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.9221, allocations: 1.375 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9221, allocations: 1.375 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.9222, allocations: 9.312 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9222, allocations: 0 / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.9222, allocations: 9.312 kB / 0.9603 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.9223, allocations: 130.5 kB / 0.9605 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.9224, allocations: 87.75 kB / 0.9605 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.9224, allocations: 9.25 kB / 0.9606 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.9224, allocations: 9.328 kB / 0.9606 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.9225, allocations: 8.109 kB / 0.9606 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.9225, allocations: 2.844 kB / 0.9606 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.9225, allocations: 107.9 kB / 0.9607 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9225, allocations: 0 / 0.9607 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000256/0.9228, allocations: 39.88 kB / 0.9607 GB, free: 3.078 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: 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.0001517/0.923, allocations: 107.9 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.9234, allocations: 362 kB / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9234, allocations: 0 / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.9235, allocations: 40.98 kB / 0.9612 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.9237, allocations: 22.3 kB / 0.9612 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.9241, allocations: 241.8 kB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.9243, allocations: 0.6918 MB / 0.9621 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.9243, allocations: 12.88 kB / 0.9621 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9243, allocations: 0 / 0.9621 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.003809/0.9281, allocations: 1.866 MB / 0.964 GB, free: 0.7773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o] Error 1