Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008604/0.0008606, 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.001079/0.001079, allocations: 173.9 kB / 16.58 MB, free: 6.07 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.466/1.466, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 15.98 kB / 0.8717 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8476, allocations: 153.7 MB / 1.022 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001067/0.8487, allocations: 473.4 kB / 1.022 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.85, allocations: 1.054 MB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.85, allocations: 4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.8501, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.8501, allocations: 7.938 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.8504, allocations: 43.89 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.8505, allocations: 63.78 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.8507, allocations: 20.09 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.8507, allocations: 27.91 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.8508, allocations: 19.92 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.8508, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.8509, allocations: 15.98 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.851, allocations: 19.92 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.851, allocations: 33.64 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.8511, allocations: 55.88 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8512, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8512, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8512, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 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.0005481/0.8517, allocations: 370.8 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8518, allocations: 12.03 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.8518, allocations: 7.906 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8519, allocations: 174.9 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.852, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.852, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.8522, allocations: 77.55 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.8522, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8522, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8522, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.8524, allocations: 47.97 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.853, allocations: 340.6 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.8532, allocations: 58.55 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.8533, allocations: 40.97 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8533, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.8535, allocations: 79.38 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.8536, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00042/0.854, allocations: 145.6 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.854, allocations: 55.39 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8542, allocations: 133.7 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.8542, allocations: 25.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.8542, allocations: 96.05 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.8543, allocations: 15.8 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.8543, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8544, allocations: 314.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.8545, allocations: 47.91 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.8547, allocations: 73.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.8548, allocations: 47.91 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8548, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003215/0.8551, allocations: 145.4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8552, allocations: 8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8552, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8552, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8553, allocations: 24.14 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.8553, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.8554, allocations: 15.92 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.8555, allocations: 4 kB / 1.026 GB, free: 12.63 MB / 0.7794 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 0.0001271/0.8556, allocations: 132 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.8556, allocations: 3.906 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.8556, allocations: 12.36 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8557, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8557, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8557, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.8562, allocations: 386.4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8562, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.8563, allocations: 16 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8563, allocations: 3.984 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.8563, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.8563, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8563, allocations: 3.938 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.8566, allocations: 211.4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.8567, allocations: 85 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.8567, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.8568, allocations: 12 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.8568, allocations: 7.984 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.8568, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.8569, allocations: 95.27 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.8569, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000249/0.8571, allocations: 20 kB / 1.027 GB, free: 11.55 MB / 0.7794 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.0001618/0.8573, allocations: 103.2 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.8576, allocations: 92.34 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8576, allocations: 3.938 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.8577, allocations: 43.97 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.858, allocations: 12.27 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.8583, allocations: 198.2 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8586, allocations: 0.6887 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.8587, allocations: 11.44 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of SimCode: time 1.463e-06/0.8587, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.002603/0.8613, allocations: 1.035 MB / 1.029 GB, free: 9.324 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.o] Error 1