Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 102 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.001476/0.001476, allocations: 175.1 kB / 16.58 MB, free: 6.09 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.436/1.436, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 436.7 MB / 0.7114 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 8 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8909, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001051/0.892, allocations: 473.4 kB / 1.022 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.8933, allocations: 1.05 MB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.8934, allocations: 4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.8934, allocations: 3.938 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.8935, allocations: 3.938 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.8938, allocations: 43.89 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.8939, allocations: 59.84 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.894, allocations: 24.14 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.894, allocations: 31.86 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.8941, allocations: 23.91 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.8941, allocations: 4 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.8942, allocations: 12 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.8942, allocations: 15.91 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.8943, allocations: 41.62 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.8944, allocations: 47.89 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8944, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8944, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.8944, allocations: 0 / 1.024 GB, free: 15.24 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.0005275/0.895, allocations: 373.1 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.895, allocations: 11.98 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.8951, allocations: 7.906 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.8952, allocations: 178.9 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8952, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8952, allocations: 8 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.8954, allocations: 81.55 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.8955, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.8955, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8955, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.8957, allocations: 59.95 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.8963, allocations: 328.6 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.8965, allocations: 62.55 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.8966, allocations: 36.95 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.8966, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.8968, allocations: 87.31 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.8968, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004214/0.8973, allocations: 145.6 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.8973, allocations: 59.39 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.8974, allocations: 121.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.8974, allocations: 25.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.8975, allocations: 96.03 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.8975, allocations: 15.81 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.8975, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8977, allocations: 326.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.8978, allocations: 31.98 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.8979, allocations: 86.36 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.8981, allocations: 47.84 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8981, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002984/0.8984, allocations: 137.4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8984, allocations: 8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8984, allocations: 4.219 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8984, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.8986, allocations: 23.92 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8986, allocations: 7.984 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.8987, allocations: 11.94 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.8987, allocations: 4 kB / 1.026 GB, free: 12.65 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 9.111e-05/0.8988, allocations: 121.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.8988, allocations: 11.91 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.8988, allocations: 12.38 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8988, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8988, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8988, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.8993, allocations: 386.4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8993, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.8994, allocations: 11.98 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8994, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8994, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8994, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8994, allocations: 3.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.8997, allocations: 215.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.8998, allocations: 89 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8998, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.8999, allocations: 15.98 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.9, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.9, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.9, allocations: 91.27 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9, allocations: 3.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002479/0.9003, allocations: 12 kB / 1.027 GB, free: 11.58 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.0001679/0.9005, allocations: 115.2 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.9007, allocations: 87.91 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9007, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.9009, allocations: 48.39 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.9012, allocations: 19.03 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.9016, allocations: 187.1 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.9019, allocations: 0.6965 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.9019, allocations: 15.42 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.902, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.002671/0.9046, allocations: 1.029 MB / 1.029 GB, free: 9.348 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTimeCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTimeCalcHelperMain.o] Error 1