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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 MB, free: 10.86 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.0009468/0.000947, allocations: 178.4 kB / 327.6 MB, free: 2.094 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.553/1.553, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008253/0.000825, allocations: 91.78 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 12.06 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001274/0.18, allocations: 0.9816 MB / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.181, allocations: 0.7202 MB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.181, allocations: 0 / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.1811, allocations: 0 / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1813, allocations: 19.91 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1815, allocations: 42.94 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.508e-05/0.1815, allocations: 27.92 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.1816, allocations: 0 / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.1816, allocations: 15.98 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1818, allocations: 17.81 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1818, allocations: 0 / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.1819, allocations: 15.92 kB / 0.9033 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1819, allocations: 7.984 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.182, allocations: 33.64 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.693e-05/0.182, allocations: 15.98 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1821, allocations: 0 / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1821, allocations: 0 / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.1821, allocations: 0 / 0.9033 GB, free: 61.57 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.000239/0.1823, allocations: 319.5 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1824, allocations: 12.03 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.1824, allocations: 84.16 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.1825, allocations: 247.8 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1825, allocations: 150.9 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1826, allocations: 154.9 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.47e-05/0.1826, allocations: 101.5 kB / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1827, allocations: 83.47 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.1827, allocations: 158.4 kB / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1827, allocations: 150.6 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1827, allocations: 154.6 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1829, allocations: 449.9 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.183, allocations: 173.1 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.183, allocations: 80.14 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.183, allocations: 79.22 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1831, allocations: 109.8 kB / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1831, allocations: 0 / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.626e-05/0.1832, allocations: 33.64 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1832, allocations: 126.7 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.1833, allocations: 105.8 kB / 0.906 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1833, allocations: 29.69 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1833, allocations: 88.14 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.1834, allocations: 3.938 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-06/0.1834, allocations: 0 / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.1834, allocations: 314.8 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.1834, allocations: 8 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.1835, allocations: 7.938 kB / 0.9064 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.1835, allocations: 20.84 kB / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1835, allocations: 0 / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.53e-05/0.1836, allocations: 37.7 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1836, allocations: 4 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1836, allocations: 3.938 kB / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1837, allocations: 0 / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.1837, allocations: 8.109 kB / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1837, allocations: 4 kB / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.1838, allocations: 0 / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1838, allocations: 0 / 0.9065 GB, free: 58.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.1839, allocations: 185.1 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1839, allocations: 108.8 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.184, allocations: 120.4 kB / 0.9069 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.184, allocations: 188.2 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/0.184, allocations: 176.3 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.184, allocations: 176.3 kB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1842, allocations: 409.2 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.1842, allocations: 104.9 kB / 0.9079 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.1842, allocations: 109.1 kB / 0.908 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/0.1843, allocations: 188.3 kB / 0.9081 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.1843, allocations: 180.2 kB / 0.9083 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.203e-05/0.1843, allocations: 184.2 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-05/0.1843, allocations: 180.3 kB / 0.9087 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.61e-05/0.1844, allocations: 307.8 kB / 0.909 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.1845, allocations: 186 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.1845, allocations: 180.2 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.1846, allocations: 105 kB / 0.9094 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1846, allocations: 184.4 kB / 0.9096 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1846, allocations: 105 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.1847, allocations: 91.28 kB / 0.9098 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.31e-07/0.1847, allocations: 0 / 0.9098 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002171/0.1849, allocations: 11.94 kB / 0.9098 GB, free: 54.47 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 (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.0002656/0.1852, allocations: 186.5 kB / 0.91 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.1853, allocations: 15.92 kB / 0.91 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1853, allocations: 4.062 kB / 0.91 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1853, allocations: 0 / 0.91 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1855, allocations: 0.5219 MB / 0.9105 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.1858, allocations: 193.7 kB / 0.9107 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1859, allocations: 0.6809 MB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.1859, allocations: 7.438 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.1859, allocations: 0 / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.001701/0.1876, allocations: 0.5047 MB / 0.9118 GB, free: 52.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile clang++ -std=c++14 -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 7.0.3-maint.7.0.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 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.GetTimeSpanTMY3CalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.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.GetTimeSpanTMY3CalcHelperMain.o] Error 1