Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 103 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.0009354/0.0009356, allocations: 175.2 kB / 16.58 MB, free: 6.117 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.289 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.573/2.573, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 0.8155 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.948, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0009683/0.9491, allocations: 468.5 kB / 0.9549 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.9504, allocations: 1.05 MB / 0.9559 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.9505, allocations: 1.5 kB / 0.9559 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.9505, allocations: 3.938 kB / 0.9559 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.9506, allocations: 13.62 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.951, allocations: 39.81 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.638e-05/0.9511, allocations: 72.7 kB / 0.956 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.9512, allocations: 11.78 kB / 0.956 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.9512, allocations: 21.77 kB / 0.9561 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.9513, allocations: 32.14 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.9513, allocations: 7.094 kB / 0.9561 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.9514, allocations: 21.02 kB / 0.9561 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.9514, allocations: 10.23 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.9515, allocations: 38.02 kB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.9516, allocations: 48.84 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.9516, allocations: 1.188 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9516, allocations: 0 / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.9516, allocations: 0 / 0.9562 GB, free: 6.715 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.0004782/0.9521, allocations: 375.9 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9522, allocations: 8.719 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.9522, allocations: 11.14 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.9523, allocations: 170.5 kB / 0.9568 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9523, allocations: 2.375 kB / 0.9568 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.9523, allocations: 4.125 kB / 0.9568 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9525, allocations: 78.12 kB / 0.9568 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9525, allocations: 0 / 0.9568 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.9526, allocations: 5.312 kB / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9526, allocations: 1.438 kB / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.9527, allocations: 61.09 kB / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.9533, allocations: 323.9 kB / 0.9572 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.9535, allocations: 64.77 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.9536, allocations: 35.48 kB / 0.9573 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.9537, allocations: 1.531 kB / 0.9573 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.9539, allocations: 90.38 kB / 0.9574 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.9539, allocations: 4.719 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.9543, allocations: 154.1 kB / 0.9575 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.9543, allocations: 52.84 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.9544, allocations: 120.6 kB / 0.9577 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.9544, allocations: 34.94 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.9545, allocations: 90.92 kB / 0.9578 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.9545, allocations: 14.47 kB / 0.9578 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.9545, allocations: 1.469 kB / 0.9578 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.9546, allocations: 324 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.9547, allocations: 33.19 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.9548, allocations: 82.98 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.9549, allocations: 40.2 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.955, allocations: 7.938 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000275/0.9552, allocations: 134.7 kB / 0.9584 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9553, allocations: 14.12 kB / 0.9585 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9553, allocations: 6.094 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9553, allocations: 2.094 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.9554, allocations: 23.27 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.9554, allocations: 2.031 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/0.9555, allocations: 24.42 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.9555, allocations: 4.812 kB / 0.9585 GB, free: 4.605 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 6.901e-05/0.9556, allocations: 119.2 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.9556, allocations: 7.75 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.9557, allocations: 13.61 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.9557, allocations: 0 / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9557, allocations: 1.156 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.9557, allocations: 7.922 kB / 0.9587 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.9561, allocations: 378.7 kB / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.9561, allocations: 3.953 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.9561, allocations: 11.83 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.9561, allocations: 1.344 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9561, allocations: 9.281 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9561, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9562, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.9564, allocations: 214.2 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.9564, allocations: 91.94 kB / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.9565, allocations: 0 / 0.9593 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.709e-05/0.9565, allocations: 14.73 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.9566, allocations: 6.672 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.9566, allocations: 1.469 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.9566, allocations: 92.55 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9566, allocations: 0 / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000248/0.9569, allocations: 16.84 kB / 0.9595 GB, free: 3.711 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.000155/0.9571, allocations: 106.5 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.9573, allocations: 89.56 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9573, allocations: 0 / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.9574, allocations: 41.83 kB / 0.9597 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.9577, allocations: 13.33 kB / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.9581, allocations: 187.6 kB / 0.9599 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.9582, allocations: 0.7015 MB / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.9583, allocations: 15.16 kB / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9583, allocations: 0 / 0.9606 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.002844/0.9611, allocations: 1.037 MB / 0.9616 GB, free: 2.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTimeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTimeCalcHelperMain.o] Error 1