Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 99.58 kB / 16.02 MB, free: 72 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.001812/0.001813, allocations: 182.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 223.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005872/0.0005873, allocations: 13.88 kB / 0.675 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3569, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.001127/0.3581, allocations: 397.5 kB / 0.7889 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3597, allocations: 1.048 MB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.3598, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3598, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.3599, allocations: 11.91 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3602, allocations: 23.98 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3603, allocations: 51.83 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3604, allocations: 8 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.3605, allocations: 19.92 kB / 0.7901 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.3606, allocations: 15.92 kB / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3606, allocations: 4 kB / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.3607, allocations: 15.98 kB / 0.7901 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3607, allocations: 15.91 kB / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.3608, allocations: 41.64 kB / 0.7902 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.3609, allocations: 35.92 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3609, allocations: 0 / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.336e-06/0.3609, allocations: 0 / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3609, allocations: 0 / 0.7902 GB, free: 9.867 MB / 0.6075 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.0006878/0.3616, allocations: 363.7 kB / 0.7905 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3617, allocations: 8.031 kB / 0.7905 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3617, allocations: 8.844 kB / 0.7906 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3619, allocations: 172.3 kB / 0.7907 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3619, allocations: 384 / 0.7907 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3619, allocations: 8.359 kB / 0.7907 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3622, allocations: 66.23 kB / 0.7908 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3622, allocations: 192 / 0.7908 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3622, allocations: 3.938 kB / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3622, allocations: 4 kB / 0.7908 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.3624, allocations: 55.95 kB / 0.7909 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.363, allocations: 280.7 kB / 0.7911 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3632, allocations: 70.42 kB / 0.7912 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3633, allocations: 32.97 kB / 0.7912 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3633, allocations: 0 / 0.7912 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.3635, allocations: 83.38 kB / 0.7913 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3636, allocations: 0 / 0.7913 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004594/0.364, allocations: 141.5 kB / 0.7914 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3641, allocations: 55.41 kB / 0.7915 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.3642, allocations: 109.8 kB / 0.7916 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3642, allocations: 25.7 kB / 0.7916 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.3643, allocations: 88.14 kB / 0.7917 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3644, allocations: 15.86 kB / 0.7917 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3644, allocations: 17.72 kB / 0.7917 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3645, allocations: 314.8 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.3647, allocations: 35.97 kB / 0.7921 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3648, allocations: 51.41 kB / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.365, allocations: 91.28 kB / 0.7922 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.365, allocations: 0 / 0.7922 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002901/0.3653, allocations: 121.4 kB / 0.7923 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3654, allocations: 8 kB / 0.7923 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3654, allocations: 0.5 kB / 0.7923 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3654, allocations: 0 / 0.7923 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3655, allocations: 19.98 kB / 0.7923 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3655, allocations: 8.094 kB / 0.7924 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.3656, allocations: 15.92 kB / 0.7924 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3656, allocations: 4 kB / 0.7924 GB, free: 7.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.3657, allocations: 118.9 kB / 0.7925 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3658, allocations: 7.906 kB / 0.7925 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.3661, allocations: 118 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3661, allocations: 48 / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3661, allocations: 7.969 kB / 0.7926 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3662, allocations: 0 / 0.7926 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.3667, allocations: 366.4 kB / 0.793 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3667, allocations: 0 / 0.793 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.3668, allocations: 8 kB / 0.793 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3668, allocations: 0 / 0.793 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3668, allocations: 4 kB / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3668, allocations: 7.922 kB / 0.793 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3668, allocations: 0 / 0.793 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3671, allocations: 207.5 kB / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3672, allocations: 81.02 kB / 0.7933 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3672, allocations: 3.984 kB / 0.7933 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3673, allocations: 16 kB / 0.7933 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3674, allocations: 11.92 kB / 0.7933 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3674, allocations: 3.938 kB / 0.7933 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.3675, allocations: 91.45 kB / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3675, allocations: 0 / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002464/0.3677, allocations: 12 kB / 0.7934 GB, free: 6.234 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.3679, allocations: 103.2 kB / 0.7935 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3682, allocations: 79.89 kB / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3682, allocations: 0 / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3684, allocations: 40.16 kB / 0.7936 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3686, allocations: 8 kB / 0.7936 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.3691, allocations: 166.4 kB / 0.7938 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3694, allocations: 0.6838 MB / 0.7944 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.3694, allocations: 11.44 kB / 0.7944 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3694, allocations: 4 kB / 0.7945 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.002468/0.3719, allocations: 0.8501 MB / 0.7953 GB, free: 4.227 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.SamplerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.SamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.SamplerCalcHelperMain.o] Error 1