Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 114 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.00125/0.00125, 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.451/1.451, 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001442/0.001442, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2213, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002202/0.2235, allocations: 1.236 MB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.2245, allocations: 0.7232 MB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.2245, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2246, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2248, allocations: 19.92 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.96e-05/0.2249, allocations: 4 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2249, allocations: 11.92 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.225, allocations: 0 / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.225, allocations: 7.938 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2252, allocations: 8 kB / 0.7868 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2252, allocations: 0 / 0.7868 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.295e-05/0.2252, allocations: 15.97 kB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.2253, allocations: 4 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.2253, allocations: 3.938 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.2254, allocations: 4 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2254, allocations: 0 / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.04e-06/0.2254, allocations: 3.984 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2254, allocations: 7.938 kB / 0.7868 GB, free: 1.113 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.0002969/0.2257, allocations: 315.6 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2257, allocations: 12.03 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.2258, allocations: 80.16 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.226, allocations: 247.6 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.226, allocations: 150.9 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.2261, allocations: 150.9 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3747/0.6008, allocations: 101.5 kB / 0.7878 GB, free: 49.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6009, allocations: 79.53 kB / 0.7879 GB, free: 49.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.6009, allocations: 150.6 kB / 0.788 GB, free: 49.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.6009, allocations: 151.2 kB / 0.7882 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.601, allocations: 160 kB / 0.7883 GB, free: 49.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.6012, allocations: 446.9 kB / 0.7887 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.6013, allocations: 170.1 kB / 0.7889 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.6013, allocations: 81.11 kB / 0.789 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.6013, allocations: 78.03 kB / 0.7891 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.6013, allocations: 108.3 kB / 0.7892 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.6013, allocations: 0 / 0.7892 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.271e-05/0.6014, allocations: 31.27 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6015, allocations: 135.8 kB / 0.7893 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.6015, allocations: 96.25 kB / 0.7894 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.6016, allocations: 26.7 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.6016, allocations: 82.39 kB / 0.7895 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.6016, allocations: 0 / 0.7895 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.6016, allocations: 14.53 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.6017, allocations: 312 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.6017, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.6017, allocations: 4.609 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.6018, allocations: 77.03 kB / 0.7899 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.6018, allocations: 75.28 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.17e-05/0.6018, allocations: 45.98 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.6019, allocations: 81.53 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6019, allocations: 77.34 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.6019, allocations: 158.8 kB / 0.7903 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-05/0.602, allocations: 78.56 kB / 0.7904 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.602, allocations: 157.9 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6021, allocations: 77.56 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6021, allocations: 80.16 kB / 0.7907 GB, free: 46.73 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 (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 prepare postOptimizeDAE: time 5.879e-05/0.6022, allocations: 268.3 kB / 0.791 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.6023, allocations: 107.1 kB / 0.7911 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.6023, allocations: 106.6 kB / 0.7912 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/0.6024, allocations: 183 kB / 0.7913 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/0.6024, allocations: 180.5 kB / 0.7915 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.6024, allocations: 183.8 kB / 0.7917 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.6026, allocations: 404.1 kB / 0.7921 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.6026, allocations: 105.1 kB / 0.7922 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.6026, allocations: 107.5 kB / 0.7923 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/0.6027, allocations: 182 kB / 0.7924 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.6027, allocations: 183 kB / 0.7926 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/0.6027, allocations: 180 kB / 0.7928 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-05/0.6028, allocations: 178 kB / 0.793 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.331e-05/0.6028, allocations: 314.6 kB / 0.7933 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.6029, allocations: 181.1 kB / 0.7934 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.6029, allocations: 182.3 kB / 0.7936 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.603, allocations: 103.6 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.603, allocations: 180.8 kB / 0.7939 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.603, allocations: 110.9 kB / 0.794 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.6031, allocations: 82.62 kB / 0.7941 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.303e-06/0.6031, allocations: 1.75 kB / 0.7941 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002613/0.6033, allocations: 6.688 kB / 0.7941 GB, free: 43.18 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.0002753/0.6036, allocations: 188.9 kB / 0.7943 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.597e-05/0.6037, allocations: 3.094 kB / 0.7943 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6037, allocations: 0.5625 kB / 0.7943 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.6037, allocations: 5.25 kB / 0.7943 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6039, allocations: 460.3 kB / 0.7947 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.6041, allocations: 185.7 kB / 0.7949 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.6042, allocations: 0.6754 MB / 0.7955 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.6043, allocations: 7.438 kB / 0.7955 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6043, allocations: 0 / 0.7955 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.001804/0.6061, allocations: 478.2 kB / 0.796 GB, free: 41.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1