Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 102.6 kB / 15.71 MB, free: 460 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.001511/0.001511, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.609/1.609, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.568/2.568, allocations: 390.5 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 12 kB / 0.8155 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.9555, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0009427/0.9565, allocations: 469.3 kB / 0.9549 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.9577, allocations: 1.045 MB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.9577, allocations: 5.062 kB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.9578, allocations: 7.922 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.9578, allocations: 10.22 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.9581, allocations: 48 kB / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.967e-05/0.9582, allocations: 57.44 kB / 0.956 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9583, allocations: 14.23 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.9584, allocations: 26.23 kB / 0.9561 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.9585, allocations: 25.09 kB / 0.9561 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.9585, allocations: 2.625 kB / 0.9561 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.9586, allocations: 17.83 kB / 0.9561 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9586, allocations: 21.56 kB / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.9587, allocations: 34.61 kB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.9588, allocations: 51.83 kB / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9588, allocations: 1.219 kB / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9588, allocations: 0 / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9588, allocations: 0 / 0.9562 GB, free: 6.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004639/0.9593, allocations: 371.9 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9593, allocations: 12.84 kB / 0.9566 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.9594, allocations: 11.08 kB / 0.9566 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.9594, allocations: 170.8 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.9595, allocations: 6.188 kB / 0.9568 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.9595, allocations: 4.156 kB / 0.9568 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.9597, allocations: 73.91 kB / 0.9568 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.9597, allocations: 0 / 0.9568 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9597, allocations: 4.906 kB / 0.9568 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.9597, allocations: 5.281 kB / 0.9568 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.9599, allocations: 57.34 kB / 0.9569 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.9605, allocations: 328.5 kB / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.9606, allocations: 68.61 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.9607, allocations: 36 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.9608, allocations: 0.9375 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.961, allocations: 87.14 kB / 0.9574 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.961, allocations: 0 / 0.9574 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003775/0.9613, allocations: 158.4 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.9614, allocations: 52.56 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.9615, allocations: 128.6 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.9615, allocations: 30.83 kB / 0.9577 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.9615, allocations: 91.77 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.9616, allocations: 9.406 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.9616, allocations: 5.25 kB / 0.9578 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.9616, allocations: 320.1 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.9617, allocations: 37.5 kB / 0.9582 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.9619, allocations: 75.3 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.962, allocations: 43.52 kB / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.962, allocations: 1.094 kB / 0.9583 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002664/0.9623, allocations: 138 kB / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9623, allocations: 15.62 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9623, allocations: 1.344 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.9623, allocations: 3.188 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.9624, allocations: 21.77 kB / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9624, allocations: 7.188 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.9625, allocations: 19.33 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.9626, allocations: 4.906 kB / 0.9585 GB, free: 4.574 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: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.168e-05/0.9626, allocations: 118.9 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.9627, allocations: 6.844 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.9627, allocations: 22.47 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9627, allocations: 0 / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9627, allocations: 1.5 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9627, allocations: 7.984 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.9631, allocations: 375.2 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9631, allocations: 3.953 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.9632, allocations: 15.3 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9632, allocations: 1.938 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.9632, allocations: 0 / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9632, allocations: 0 / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9632, allocations: 5.75 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.9635, allocations: 212.8 kB / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.9635, allocations: 87.62 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.9635, allocations: 1.344 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.9636, allocations: 13.05 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.9636, allocations: 7.641 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.9637, allocations: 1.281 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.9637, allocations: 101.3 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9637, allocations: 0 / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002446/0.964, allocations: 16.12 kB / 0.9595 GB, free: 3.672 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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.000149/0.9641, allocations: 104.4 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.9644, allocations: 93.22 kB / 0.9596 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.9644, allocations: 1.469 kB / 0.9596 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.9645, allocations: 37.08 kB / 0.9597 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.9648, allocations: 9.109 kB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.9651, allocations: 199.7 kB / 0.9599 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.9652, allocations: 0.6899 MB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.9653, allocations: 10.81 kB / 0.9606 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.9653, allocations: 1.188 kB / 0.9606 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.002421/0.9677, allocations: 1.041 MB / 0.9616 GB, free: 2.105 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTriggerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.o] Error 1