Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 98.84 kB / 16.26 MB, free: 6.418 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.002018/0.002018, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.00156/0.00156, allocations: 72.47 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2346, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00297/0.2376, allocations: 1.249 MB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.239, allocations: 0.731 MB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.2391, allocations: 0 / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.2391, allocations: 3.938 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.2394, allocations: 11.97 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2396, allocations: 50.5 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.2397, allocations: 23.92 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.2398, allocations: 8 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.2399, allocations: 15.92 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.24, allocations: 7.984 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.24, allocations: 0 / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.2401, allocations: 4 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.2402, allocations: 11.97 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2402, allocations: 15.88 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.2403, allocations: 19.86 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2403, allocations: 0 / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2403, allocations: 4 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2403, allocations: 0 / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000385/0.2407, allocations: 339.7 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2408, allocations: 8.031 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.2409, allocations: 76.22 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2411, allocations: 247.6 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.2411, allocations: 150.9 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.989e-05/0.2412, allocations: 154.9 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.973e-05/0.2413, allocations: 101.5 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.2413, allocations: 75.47 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.2414, allocations: 158.5 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.2415, allocations: 154.5 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.2416, allocations: 154.6 kB / 0.7877 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4308/0.6724, allocations: 450.1 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.469e-05/0.6725, allocations: 170.8 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.6725, allocations: 80.14 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.6725, allocations: 75.28 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.6726, allocations: 108.9 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.6726, allocations: 2.219 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.726e-05/0.6727, allocations: 42.31 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.6727, allocations: 127.2 kB / 0.7887 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6728, allocations: 106.3 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.6728, allocations: 26.42 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.6729, allocations: 84.3 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.6729, allocations: 0 / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.6729, allocations: 18.56 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.673, allocations: 313.4 kB / 0.7892 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.673, allocations: 3.406 kB / 0.7892 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.673, allocations: 11.31 kB / 0.7892 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.6731, allocations: 18.16 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6731, allocations: 0.5 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.6732, allocations: 48.2 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6732, allocations: 6.938 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6732, allocations: 0.5938 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6733, allocations: 1.219 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.6733, allocations: 6.312 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6733, allocations: 3.938 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.735e-05/0.6734, allocations: 6.25 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.6734, allocations: 0 / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 5.847e-05/0.6735, allocations: 186.1 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.6735, allocations: 109.2 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.6735, allocations: 114.6 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.6736, allocations: 185.4 kB / 0.7899 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.6736, allocations: 189.2 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.6736, allocations: 176.3 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.6738, allocations: 403.4 kB / 0.7906 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.6738, allocations: 105.6 kB / 0.7907 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.6738, allocations: 107.2 kB / 0.7908 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.6739, allocations: 179.8 kB / 0.791 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.6739, allocations: 181.7 kB / 0.7912 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-05/0.6739, allocations: 183.8 kB / 0.7913 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.266e-05/0.6739, allocations: 183.3 kB / 0.7915 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.284e-05/0.674, allocations: 307 kB / 0.7918 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.6741, allocations: 189.8 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.6741, allocations: 181.5 kB / 0.7922 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.6742, allocations: 101.6 kB / 0.7923 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.6742, allocations: 187.8 kB / 0.7924 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6742, allocations: 105.4 kB / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.6743, allocations: 86.03 kB / 0.7926 GB, free: 44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6743, allocations: 0 / 0.7926 GB, free: 44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.6745, allocations: 13.16 kB / 0.7926 GB, free: 44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002646/0.6748, allocations: 185.2 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.924e-05/0.6749, allocations: 3.844 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6749, allocations: 1 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.6749, allocations: 2.75 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6751, allocations: 460 kB / 0.7933 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.6754, allocations: 196.7 kB / 0.7934 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.6755, allocations: 0.6763 MB / 0.7941 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.6755, allocations: 8.469 kB / 0.7941 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6755, allocations: 0 / 0.7941 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.001783/0.6773, allocations: 0.5288 MB / 0.7946 GB, free: 42.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile clang++ -std=c++17 -fopenmp=libomp -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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1