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.001177/0.001177, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001196/0.001196, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.454/1.454, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.851/1.851, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.002186/0.002186, allocations: 74.81 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2473, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.0023/0.2496, allocations: 1.228 MB / 0.7852 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2507, allocations: 0.7192 MB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.2507, allocations: 4 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.2508, allocations: 0 / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.251, allocations: 19.91 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.338e-05/0.2511, allocations: 0 / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.705e-05/0.2511, allocations: 4 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.2512, allocations: 4 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.2512, allocations: 3.938 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2514, allocations: 15.92 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2514, allocations: 4 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.2514, allocations: 15.98 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.2515, allocations: 0 / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.2515, allocations: 3.984 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.287e-05/0.2516, allocations: 8 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2516, allocations: 0 / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2516, allocations: 3.938 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2516, allocations: 3.984 kB / 0.786 GB, free: 1.836 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.0002925/0.2519, allocations: 311.9 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2519, allocations: 11.97 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.252, allocations: 84.22 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2522, allocations: 243.6 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.2522, allocations: 150.9 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.2523, allocations: 150.9 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.2523, allocations: 109.5 kB / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.2524, allocations: 79.47 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.2524, allocations: 158.5 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.2525, allocations: 150.6 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.2526, allocations: 150.6 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4854/0.738, allocations: 440.4 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.7381, allocations: 171.6 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.7381, allocations: 84.17 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.7382, allocations: 75.28 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.7382, allocations: 107.3 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.7382, allocations: 2.188 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.627e-05/0.7383, allocations: 39.05 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.7384, allocations: 132 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.7385, allocations: 96.33 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.7385, allocations: 29.84 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.7385, allocations: 82.73 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.7385, allocations: 1.938 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.7386, allocations: 9.719 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.7386, allocations: 311.8 kB / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.7386, allocations: 0 / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.7387, allocations: 2.312 kB / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.7387, allocations: 76.38 kB / 0.7891 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.7387, allocations: 79.91 kB / 0.7892 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.867e-05/0.7388, allocations: 40.84 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.7388, allocations: 84.91 kB / 0.7893 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.7389, allocations: 76.03 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-05/0.7389, allocations: 156.5 kB / 0.7895 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.7389, allocations: 75.28 kB / 0.7896 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.053e-05/0.739, allocations: 161 kB / 0.7898 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.7391, allocations: 81.36 kB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.7391, allocations: 82.53 kB / 0.7899 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 6.043e-05/0.7392, allocations: 261.8 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.7392, allocations: 105 kB / 0.7903 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.7393, allocations: 114.2 kB / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.7393, allocations: 183.2 kB / 0.7906 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.7393, allocations: 186.8 kB / 0.7907 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.7394, allocations: 179 kB / 0.7909 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.7395, allocations: 401.6 kB / 0.7913 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.7395, allocations: 104.2 kB / 0.7914 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.7396, allocations: 108.3 kB / 0.7915 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.012e-05/0.7396, allocations: 187 kB / 0.7917 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.7396, allocations: 178.5 kB / 0.7918 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/0.7397, allocations: 182 kB / 0.792 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-05/0.7397, allocations: 184.1 kB / 0.7922 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.001e-05/0.7398, allocations: 305.6 kB / 0.7925 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.7398, allocations: 184.7 kB / 0.7927 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.7398, allocations: 180.1 kB / 0.7928 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.7399, allocations: 106.2 kB / 0.7929 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.74, allocations: 187.9 kB / 0.7931 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.74, allocations: 104.8 kB / 0.7932 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.595e-05/0.74, allocations: 82.05 kB / 0.7933 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.74, allocations: 0 / 0.7933 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003187/0.7403, allocations: 3.75 kB / 0.7933 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.0003633/0.7407, allocations: 185.7 kB / 0.7935 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.719e-05/0.7408, allocations: 8.391 kB / 0.7935 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7408, allocations: 0 / 0.7935 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.7408, allocations: 2.531 kB / 0.7935 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.0003063/0.7411, allocations: 467.1 kB / 0.7939 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.7414, allocations: 178 kB / 0.7941 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.7415, allocations: 0.6712 MB / 0.7948 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.7415, allocations: 10.28 kB / 0.7948 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7415, allocations: 2.969 kB / 0.7948 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.001927/0.7434, allocations: 476.7 kB / 0.7952 GB, free: 41.67 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