Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.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.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 96.14 kB / 15.87 MB, free: 16 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.001381/0.001381, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.84/1.84, allocations: 205.1 MB / 222.6 MB, free: 4.707 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.901/1.901, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001619/0.001619, allocations: 60.88 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3075, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003597/0.3111, allocations: 1.926 MB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3125, allocations: 0.6704 MB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.3126, allocations: 0 / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3128, allocations: 27.8 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.3132, allocations: 91.64 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.3136, allocations: 151.7 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.3139, allocations: 223.4 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.314, allocations: 37.66 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3142, allocations: 103.6 kB / 0.7865 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.3266, allocations: 0.955 MB / 0.7874 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3267, allocations: 12 kB / 0.7874 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3269, allocations: 32 kB / 0.7874 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.327, allocations: 39.83 kB / 0.7875 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3272, allocations: 91.44 kB / 0.7876 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.3275, allocations: 147.7 kB / 0.7877 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3276, allocations: 0 / 0.7877 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3276, allocations: 0 / 0.7877 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3276, allocations: 0 / 0.7877 GB, free: 9.715 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001015/0.3286, allocations: 0.5605 MB / 0.7882 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.3287, allocations: 8.031 kB / 0.7883 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3288, allocations: 24.73 kB / 0.7883 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.3292, allocations: 244.1 kB / 0.7885 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3292, allocations: 16.31 kB / 0.7885 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3293, allocations: 16.12 kB / 0.7885 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3295, allocations: 112.3 kB / 0.7886 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3295, allocations: 3.938 kB / 0.7887 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3296, allocations: 4 kB / 0.7887 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3296, allocations: 4 kB / 0.7887 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3297, allocations: 63.95 kB / 0.7887 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.3307, allocations: 484.2 kB / 0.7892 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.331, allocations: 106.7 kB / 0.7893 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3311, allocations: 40.89 kB / 0.7893 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3311, allocations: 3.984 kB / 0.7893 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3313, allocations: 107.2 kB / 0.7894 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.3313, allocations: 4 kB / 0.7894 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004389/0.3318, allocations: 168.6 kB / 0.7896 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3318, allocations: 59.39 kB / 0.7896 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3321, allocations: 207.7 kB / 0.7898 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.3321, allocations: 37.69 kB / 0.7899 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3323, allocations: 124.4 kB / 0.79 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.3323, allocations: 39.53 kB / 0.79 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3324, allocations: 53.69 kB / 0.7901 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3326, allocations: 338.8 kB / 0.7904 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3328, allocations: 59.95 kB / 0.7905 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3331, allocations: 135.6 kB / 0.7906 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3334, allocations: 213.3 kB / 0.7908 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3334, allocations: 4 kB / 0.7908 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000649/0.3341, allocations: 336.1 kB / 0.7911 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.3342, allocations: 67.55 kB / 0.7912 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.3342, allocations: 7.938 kB / 0.7912 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3342, allocations: 0 / 0.7912 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.3343, allocations: 23.92 kB / 0.7912 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3343, allocations: 4 kB / 0.7912 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.3345, allocations: 23.83 kB / 0.7912 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.3346, allocations: 19.98 kB / 0.7913 GB, free: 5.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001581/0.3348, allocations: 132.7 kB / 0.7914 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.3348, allocations: 27.7 kB / 0.7914 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.3351, allocations: 155.4 kB / 0.7916 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3351, allocations: 0 / 0.7916 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3351, allocations: 0 / 0.7916 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3351, allocations: 0 / 0.7916 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.3358, allocations: 490.1 kB / 0.792 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3358, allocations: 0 / 0.792 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3358, allocations: 11.98 kB / 0.792 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3359, allocations: 4 kB / 0.7921 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3359, allocations: 4 kB / 0.7921 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3359, allocations: 0 / 0.7921 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3359, allocations: 0 / 0.7921 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3362, allocations: 246.6 kB / 0.7923 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.3363, allocations: 96.86 kB / 0.7924 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.3363, allocations: 0 / 0.7924 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3364, allocations: 11.98 kB / 0.7924 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.3365, allocations: 15.98 kB / 0.7924 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3365, allocations: 11.98 kB / 0.7924 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001516/0.3367, allocations: 145.5 kB / 0.7926 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3367, allocations: 0 / 0.7926 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003338/0.337, allocations: 43.91 kB / 0.7926 GB, free: 4.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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003962/0.3374, allocations: 173.3 kB / 0.7928 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3379, allocations: 254.6 kB / 0.793 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3379, allocations: 320 / 0.793 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.338, allocations: 55.92 kB / 0.7931 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.3385, allocations: 69.84 kB / 0.7931 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.3393, allocations: 390.9 kB / 0.7935 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3396, allocations: 0.7247 MB / 0.7942 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.3397, allocations: 27.42 kB / 0.7942 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3397, allocations: 0 / 0.7942 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.006972/0.3467, allocations: 3.257 MB / 0.7974 GB, free: 15.29 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesCalcHelperMain.o] Error 1