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.001097/0.001097, allocations: 112.2 kB / 16.37 MB, free: 6 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.001173/0.001174, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.7 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.001416/0.001416, allocations: 68.12 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002476/0.2257, allocations: 1.267 MB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2268, allocations: 0.7348 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.2268, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.2268, allocations: 3.938 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.2271, allocations: 15.92 kB / 0.7868 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2272, allocations: 43.92 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2273, allocations: 23.92 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.2274, allocations: 4 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.2274, allocations: 11.98 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2276, allocations: 11.92 kB / 0.7869 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2276, allocations: 4 kB / 0.7869 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.2276, allocations: 11.92 kB / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.2277, allocations: 11.98 kB / 0.7869 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.2277, allocations: 3.938 kB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.2278, allocations: 19.98 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2278, allocations: 0 / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2278, allocations: 0 / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2278, allocations: 0 / 0.7869 GB, free: 1.031 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.0003198/0.2282, allocations: 339.4 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2282, allocations: 12.03 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.2283, allocations: 80.2 kB / 0.7873 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2284, allocations: 235.7 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.2285, allocations: 154.9 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3773/0.6058, allocations: 154.9 kB / 0.7878 GB, free: 49.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.606, allocations: 102.8 kB / 0.7879 GB, free: 49.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.606, allocations: 77.91 kB / 0.788 GB, free: 49.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.606, allocations: 155.3 kB / 0.7882 GB, free: 49.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.606, allocations: 157.2 kB / 0.7883 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.6061, allocations: 152.4 kB / 0.7884 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.6063, allocations: 454.7 kB / 0.7889 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.6064, allocations: 175 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.6064, allocations: 81.14 kB / 0.7891 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.6065, allocations: 76.06 kB / 0.7892 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6065, allocations: 112.7 kB / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.6065, allocations: 0 / 0.7893 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.916e-05/0.6066, allocations: 29.83 kB / 0.7893 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6066, allocations: 131.2 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6068, allocations: 108 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.6068, allocations: 28.05 kB / 0.7896 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.6068, allocations: 81.95 kB / 0.7897 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.6069, allocations: 0 / 0.7897 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.6069, allocations: 21.06 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.607, allocations: 316.5 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.607, allocations: 4.328 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.6071, allocations: 8.25 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.6071, allocations: 21.39 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6071, allocations: 0 / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.6072, allocations: 44.88 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6073, allocations: 5.25 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6073, allocations: 0 / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6073, allocations: 2.625 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.6073, allocations: 0.9844 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6073, allocations: 7.516 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6074, allocations: 4.344 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.6074, allocations: 0 / 0.7901 GB, free: 47.34 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 7.322e-05/0.6075, allocations: 191 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.6076, allocations: 112.2 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.6076, allocations: 114.2 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.6077, allocations: 178.1 kB / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.6077, allocations: 180.2 kB / 0.7908 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.6077, allocations: 186.3 kB / 0.791 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.6079, allocations: 402.7 kB / 0.7914 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.6079, allocations: 108.9 kB / 0.7915 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.6079, allocations: 106.6 kB / 0.7916 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.168e-05/0.608, allocations: 184 kB / 0.7918 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.608, allocations: 176.9 kB / 0.7919 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-05/0.608, allocations: 178.2 kB / 0.7921 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-05/0.6081, allocations: 186.3 kB / 0.7923 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.065e-05/0.6081, allocations: 308.6 kB / 0.7926 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.6082, allocations: 190.2 kB / 0.7928 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.6082, allocations: 178.6 kB / 0.7929 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.6083, allocations: 108.1 kB / 0.793 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.6084, allocations: 183 kB / 0.7932 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.6084, allocations: 106.6 kB / 0.7933 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.6084, allocations: 80.53 kB / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6084, allocations: 3.562 kB / 0.7934 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002748/0.6087, allocations: 6.422 kB / 0.7934 GB, free: 43.87 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.0003029/0.609, allocations: 189 kB / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.6091, allocations: 13.44 kB / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6091, allocations: 0 / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.6091, allocations: 3.5 kB / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.6094, allocations: 458.1 kB / 0.794 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.6097, allocations: 190.9 kB / 0.7942 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.6098, allocations: 0.6775 MB / 0.7949 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.6098, allocations: 10.97 kB / 0.7949 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6099, allocations: 0 / 0.7949 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.001812/0.6117, allocations: 0.5199 MB / 0.7954 GB, free: 42.36 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