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.008749/0.008748, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 189.5 kB / 16.78 MB, free: 5.809 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.776/1.776, allocations: 205.1 MB / 222.6 MB, free: 4.715 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.878/1.878, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001468/0.001468, allocations: 72.09 kB / 0.6715 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002837/0.288, allocations: 0.8165 MB / 0.7841 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2898, allocations: 1.169 MB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.2899, allocations: 0 / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.2899, allocations: 7.922 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.29, allocations: 11.92 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.2905, allocations: 131 kB / 0.7854 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2906, allocations: 107.8 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2907, allocations: 20.17 kB / 0.7855 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2909, allocations: 43.89 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.2909, allocations: 39.83 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.291, allocations: 12 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.2911, allocations: 23.98 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.2911, allocations: 15.92 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.2912, allocations: 39.84 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2913, allocations: 83.81 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2914, allocations: 0 / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2914, allocations: 0 / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2914, allocations: 0 / 0.7858 GB, free: 11.46 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.0006526/0.292, allocations: 421.2 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2921, allocations: 12.03 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.2921, allocations: 16.78 kB / 0.7862 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2923, allocations: 176.2 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2923, allocations: 8.375 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.2923, allocations: 4.375 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.2926, allocations: 70.22 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2926, allocations: 7.875 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2926, allocations: 4 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2926, allocations: 0 / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.2928, allocations: 59.89 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.2934, allocations: 340.6 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2936, allocations: 62.58 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.2937, allocations: 32.97 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2937, allocations: 0 / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.294, allocations: 87.34 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.294, allocations: 0 / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000454/0.2944, allocations: 161.4 kB / 0.7872 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2945, allocations: 55.41 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.2946, allocations: 121.8 kB / 0.7874 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2946, allocations: 33.7 kB / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.2947, allocations: 92.05 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2947, allocations: 19.75 kB / 0.7875 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.2948, allocations: 41.69 kB / 0.7875 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2949, allocations: 322.8 kB / 0.7878 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.2951, allocations: 51.95 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2953, allocations: 89.11 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.2956, allocations: 154.7 kB / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2956, allocations: 0 / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004574/0.2961, allocations: 215.1 kB / 0.7883 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2961, allocations: 37.69 kB / 0.7884 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2961, allocations: 0 / 0.7884 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2962, allocations: 4 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2963, allocations: 15.98 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2963, allocations: 4 kB / 0.7884 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.2965, allocations: 36.16 kB / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2966, allocations: 15.92 kB / 0.7884 GB, free: 8.465 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 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.2967, allocations: 125.7 kB / 0.7886 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.2968, allocations: 11.89 kB / 0.7886 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.2971, allocations: 118 kB / 0.7887 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2972, allocations: 0 / 0.7887 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2972, allocations: 4 kB / 0.7887 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2972, allocations: 0 / 0.7887 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.2977, allocations: 382.3 kB / 0.7891 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2977, allocations: 0 / 0.7891 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.2978, allocations: 19.98 kB / 0.7891 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2978, allocations: 0 / 0.7891 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2978, allocations: 4 kB / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2978, allocations: 0 / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2979, allocations: 7.938 kB / 0.7891 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.2982, allocations: 211.3 kB / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.2983, allocations: 85.02 kB / 0.7894 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2983, allocations: 0 / 0.7894 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.2984, allocations: 7.984 kB / 0.7894 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.2985, allocations: 19.92 kB / 0.7894 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.2985, allocations: 0 / 0.7894 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.411e-05/0.2986, allocations: 91.27 kB / 0.7895 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2986, allocations: 4 kB / 0.7895 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003143/0.2989, allocations: 20 kB / 0.7895 GB, free: 7.27 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 (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.0002137/0.2992, allocations: 113.7 kB / 0.7896 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.2996, allocations: 175.3 kB / 0.7898 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2996, allocations: 4 kB / 0.7898 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2998, allocations: 43.91 kB / 0.7898 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3001, allocations: 11.98 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.3007, allocations: 218.2 kB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.301, allocations: 0.6848 MB / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3011, allocations: 15.42 kB / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.3011, allocations: 0 / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.00408/0.3052, allocations: 1.281 MB / 0.792 GB, free: 4.664 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++ -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.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