Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 102.7 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.001819/0.001819, allocations: 174 kB / 16.58 MB, free: 6.863 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.879/1.879, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.86/1.86, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005655/0.0005655, allocations: 18.69 kB / 0.6744 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3241, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.00103/0.3252, allocations: 485.3 kB / 0.7884 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3267, allocations: 1.138 MB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.3267, allocations: 4 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.3268, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.3268, allocations: 3.938 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.3273, allocations: 123.3 kB / 0.7896 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3274, allocations: 107.7 kB / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3276, allocations: 16.19 kB / 0.7898 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.3277, allocations: 39.91 kB / 0.7898 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.3278, allocations: 47.75 kB / 0.7898 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.3278, allocations: 4 kB / 0.7898 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.3279, allocations: 15.98 kB / 0.7899 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3279, allocations: 11.98 kB / 0.7899 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.328, allocations: 41.64 kB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3281, allocations: 79.8 kB / 0.79 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3281, allocations: 4 kB / 0.79 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3281, allocations: 4 kB / 0.79 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3281, allocations: 0 / 0.79 GB, free: 9.848 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006113/0.3288, allocations: 401.1 kB / 0.7904 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3288, allocations: 8.031 kB / 0.7904 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3289, allocations: 11.91 kB / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.329, allocations: 171 kB / 0.7906 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.329, allocations: 11.98 kB / 0.7906 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3291, allocations: 12 kB / 0.7906 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.3294, allocations: 73.59 kB / 0.7906 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3294, allocations: 0 / 0.7906 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3294, allocations: 0 / 0.7906 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3294, allocations: 7.984 kB / 0.7907 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3296, allocations: 59.95 kB / 0.7907 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.3303, allocations: 348.6 kB / 0.791 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3305, allocations: 66.48 kB / 0.7911 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.3306, allocations: 32.97 kB / 0.7911 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3307, allocations: 8 kB / 0.7911 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.331, allocations: 99.38 kB / 0.7912 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.331, allocations: 0 / 0.7912 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.3315, allocations: 165.5 kB / 0.7914 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.3317, allocations: 59.36 kB / 0.7915 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3318, allocations: 117.8 kB / 0.7916 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3318, allocations: 29.7 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.3319, allocations: 100 kB / 0.7917 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3319, allocations: 19.73 kB / 0.7917 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.332, allocations: 8 kB / 0.7917 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3321, allocations: 322.8 kB / 0.792 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.3324, allocations: 51.97 kB / 0.7921 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3326, allocations: 101 kB / 0.7922 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3327, allocations: 81.67 kB / 0.7923 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3327, allocations: 0 / 0.7923 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004601/0.3332, allocations: 227.1 kB / 0.7925 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.3333, allocations: 37.69 kB / 0.7925 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3333, allocations: 4 kB / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3333, allocations: 160 / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3334, allocations: 27.92 kB / 0.7925 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3334, allocations: 4 kB / 0.7925 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3337, allocations: 50.72 kB / 0.7926 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.3337, allocations: 12 kB / 0.7926 GB, free: 6.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.3338, allocations: 121.8 kB / 0.7927 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.3338, allocations: 3.906 kB / 0.7927 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.3342, allocations: 137.9 kB / 0.7928 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3342, allocations: 4 kB / 0.7929 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3342, allocations: 0 / 0.7929 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3342, allocations: 0 / 0.7929 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.3347, allocations: 394.7 kB / 0.7932 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3347, allocations: 0 / 0.7932 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.3347, allocations: 19.92 kB / 0.7932 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3348, allocations: 4 kB / 0.7933 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.3348, allocations: 0 / 0.7933 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3348, allocations: 0 / 0.7933 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3348, allocations: 3.953 kB / 0.7933 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.3351, allocations: 223.6 kB / 0.7935 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.3352, allocations: 81.02 kB / 0.7935 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3352, allocations: 7.938 kB / 0.7936 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.3353, allocations: 7.984 kB / 0.7936 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3354, allocations: 19.92 kB / 0.7936 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.3354, allocations: 7.953 kB / 0.7936 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.806e-05/0.3354, allocations: 91.27 kB / 0.7937 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 0.7937 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002697/0.3357, allocations: 24 kB / 0.7937 GB, free: 5.68 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001724/0.3359, allocations: 111.2 kB / 0.7938 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3363, allocations: 187.3 kB / 0.794 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3363, allocations: 0 / 0.794 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3364, allocations: 47.97 kB / 0.794 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3368, allocations: 12.3 kB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3372, allocations: 216.7 kB / 0.7942 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3375, allocations: 0.6926 MB / 0.7949 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3375, allocations: 15.44 kB / 0.7949 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.3375, allocations: 0 / 0.7949 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.003455/0.341, allocations: 1.273 MB / 0.7962 GB, free: 3.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.o] Error 1