Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 177.8 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.5783 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008275/0.0008274, allocations: 98.28 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 12.84 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2301, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00138/0.2316, allocations: 0.9816 MB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.2325, allocations: 0.7045 MB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.2325, allocations: 0 / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.2325, allocations: 0 / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.2327, allocations: 8 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.2329, allocations: 54.19 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.233, allocations: 19.97 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.233, allocations: 3.984 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.2331, allocations: 11.94 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2332, allocations: 15.98 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.2332, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.2333, allocations: 7.938 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.2333, allocations: 7.984 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.2334, allocations: 25.7 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.982e-05/0.2334, allocations: 15.92 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2335, allocations: 0 / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2335, allocations: 0 / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2335, allocations: 0 / 0.9026 GB, free: 62.01 MB / 0.6042 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.0002816/0.2338, allocations: 323.3 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2338, allocations: 12.03 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.2339, allocations: 79.27 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.234, allocations: 246.5 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.234, allocations: 150.6 kB / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2341, allocations: 150.6 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.045e-05/0.2341, allocations: 104.9 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2342, allocations: 83.28 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.2342, allocations: 150.6 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.2342, allocations: 150.6 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.2343, allocations: 150.6 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.2346, allocations: 465.8 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.2347, allocations: 177 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.2347, allocations: 84.14 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2347, allocations: 75.28 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2348, allocations: 105.8 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2348, allocations: 4 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.318e-05/0.2348, allocations: 33.69 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2349, allocations: 130.6 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.235, allocations: 105.8 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.235, allocations: 25.7 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.235, allocations: 84.14 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.235, allocations: 4 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.235, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.2351, allocations: 310.8 kB / 0.9057 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2351, allocations: 8 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.2351, allocations: 7.984 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.2352, allocations: 11.95 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2352, allocations: 0 / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.2353, allocations: 41.69 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2353, allocations: 4 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2353, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2353, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2353, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2354, allocations: 4.125 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2355, allocations: 7.938 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2355, allocations: 0 / 0.9058 GB, free: 58.56 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.2356, allocations: 193.1 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.2357, allocations: 108.8 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.2357, allocations: 112.5 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.2357, allocations: 184.2 kB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.833e-05/0.2357, allocations: 180.3 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.2358, allocations: 184.2 kB / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.2359, allocations: 401.2 kB / 0.9071 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.236, allocations: 104.9 kB / 0.9072 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.236, allocations: 113 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.45e-05/0.236, allocations: 180.3 kB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.2361, allocations: 184.2 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.947e-05/0.2361, allocations: 180.2 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/0.2361, allocations: 184.3 kB / 0.908 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.384e-05/0.2362, allocations: 307.8 kB / 0.9083 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.2363, allocations: 194 kB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.2363, allocations: 176.3 kB / 0.9086 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.2364, allocations: 109 kB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2364, allocations: 180.2 kB / 0.9089 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2364, allocations: 105 kB / 0.909 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.2365, allocations: 91.53 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2365, allocations: 0 / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002456/0.2367, allocations: 7.984 kB / 0.9091 GB, free: 54.93 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.2369, allocations: 180.9 kB / 0.9093 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.237, allocations: 7.938 kB / 0.9093 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.237, allocations: 0 / 0.9093 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.237, allocations: 0 / 0.9093 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2373, allocations: 0.5243 MB / 0.9098 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.2375, allocations: 197.7 kB / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2376, allocations: 0.677 MB / 0.9106 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.2377, allocations: 7.438 kB / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2377, allocations: 4 kB / 0.9107 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001704/0.2394, allocations: 0.4942 MB / 0.9111 GB, free: 52.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile clang++ -Winvalid-pch -O0 -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 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23: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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1