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.001353/0.001353, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001393/0.001393, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.434/1.434, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.695/1.695, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001373/0.001373, allocations: 71.62 kB / 0.6717 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002418/0.2344, allocations: 1.32 MB / 0.7848 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2355, allocations: 0.719 MB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.2355, allocations: 0 / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.2356, allocations: 4 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.2358, allocations: 15.92 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.236, allocations: 51.86 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.2361, allocations: 19.94 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2362, allocations: 4 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.2362, allocations: 19.91 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2364, allocations: 4 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2364, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.2364, allocations: 7.938 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.2365, allocations: 19.97 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2365, allocations: 7.938 kB / 0.7857 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.633e-05/0.2366, allocations: 11.98 kB / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2366, allocations: 0 / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2366, allocations: 0 / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2366, allocations: 0 / 0.7857 GB, free: 11.69 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004021/0.237, allocations: 331.7 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2371, allocations: 8.031 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.2372, allocations: 80.22 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2374, allocations: 247.6 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.2375, allocations: 150.9 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.2376, allocations: 154.9 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.2376, allocations: 106.5 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.2377, allocations: 75.47 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.2378, allocations: 154.5 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.2379, allocations: 162.5 kB / 0.7871 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.2379, allocations: 150.6 kB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.2383, allocations: 449.9 kB / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.2384, allocations: 169.1 kB / 0.7878 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.2385, allocations: 88.08 kB / 0.7879 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.2385, allocations: 79.28 kB / 0.788 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.2386, allocations: 105.8 kB / 0.7881 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.2386, allocations: 0 / 0.7881 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.459e-05/0.2387, allocations: 37.53 kB / 0.7881 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.2387, allocations: 130.7 kB / 0.7882 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2389, allocations: 113.8 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2389, allocations: 29.7 kB / 0.7884 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.239, allocations: 80.14 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.239, allocations: 3.938 kB / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.239, allocations: 17.7 kB / 0.7885 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2391, allocations: 314.9 kB / 0.7888 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.2392, allocations: 8 kB / 0.7888 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.2392, allocations: 11.98 kB / 0.7888 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.2392, allocations: 16.95 kB / 0.7888 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2392, allocations: 0 / 0.7888 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.2394, allocations: 41.69 kB / 0.7888 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2394, allocations: 8 kB / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2394, allocations: 3.938 kB / 0.7888 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2394, allocations: 0 / 0.7888 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2394, allocations: 0 / 0.7888 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2394, allocations: 3.938 kB / 0.7888 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.2395, allocations: 4.031 kB / 0.7889 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2395, allocations: 7.984 kB / 0.7889 GB, free: 8.18 MB / 0.6075 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 0.000106/0.2397, allocations: 181.8 kB / 0.789 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.2397, allocations: 105 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.2398, allocations: 108.5 kB / 0.7892 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.2399, allocations: 184.2 kB / 0.7894 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001231/0.2401, allocations: 188.3 kB / 0.7896 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/0.2402, allocations: 180.3 kB / 0.7898 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.2405, allocations: 405.2 kB / 0.7902 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/0.2406, allocations: 105 kB / 0.7903 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.2406, allocations: 108.9 kB / 0.7904 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.837e-05/0.2407, allocations: 176.3 kB / 0.7905 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.2409, allocations: 192.1 kB / 0.7907 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-05/0.2409, allocations: 180.2 kB / 0.7909 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-05/0.241, allocations: 180.2 kB / 0.791 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.2412, allocations: 303.7 kB / 0.7913 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.2414, allocations: 190 kB / 0.7915 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.2414, allocations: 188.2 kB / 0.7917 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2416, allocations: 105 kB / 0.7918 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.2416, allocations: 180.2 kB / 0.792 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.2417, allocations: 109.2 kB / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.2417, allocations: 87.27 kB / 0.7922 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2417, allocations: 4 kB / 0.7922 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003014/0.242, allocations: 7.938 kB / 0.7922 GB, free: 4.559 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: 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.0003696/0.2424, allocations: 186.5 kB / 0.7923 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.2425, allocations: 11.92 kB / 0.7924 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2425, allocations: 0 / 0.7924 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2425, allocations: 0 / 0.7924 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2429, allocations: 463.7 kB / 0.7928 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.2432, allocations: 198.5 kB / 0.793 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2435, allocations: 0.6768 MB / 0.7937 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.2435, allocations: 7.438 kB / 0.7937 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.2435, allocations: 4 kB / 0.7937 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of Templates: time 0.001761/0.2453, allocations: 0.5206 MB / 0.7942 GB, free: 2.438 MB / 0.6075 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++14 -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