Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001435/0.001435, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.001423/0.001423, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7899/0.7899, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3339, allocations: 80.92 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002263/0.3362, allocations: 1.258 MB / 0.5863 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.3371, allocations: 0.7401 MB / 0.587 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.3371, allocations: 1.281 kB / 0.587 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3372, allocations: 0.625 kB / 0.587 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.3374, allocations: 14.27 kB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.3375, allocations: 46.56 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.3376, allocations: 28.97 kB / 0.5871 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.3377, allocations: 5.938 kB / 0.5871 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.3377, allocations: 12.89 kB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3379, allocations: 13.67 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3379, allocations: 0 / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.3379, allocations: 5.406 kB / 0.5871 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.338, allocations: 15.3 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.338, allocations: 12.33 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.3381, allocations: 22.02 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3381, allocations: 0 / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3381, allocations: 0.8125 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3381, allocations: 0 / 0.5872 GB, free: 23.59 MB / 446.1 MB 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.0002411/0.3384, allocations: 327.7 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3384, allocations: 9.703 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3385, allocations: 78.88 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.3386, allocations: 249.1 kB / 0.5878 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.3386, allocations: 152.9 kB / 0.588 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.3387, allocations: 153.3 kB / 0.5881 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.12e-05/0.3387, allocations: 107.8 kB / 0.5882 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3387, allocations: 75.47 kB / 0.5883 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3388, allocations: 155.4 kB / 0.5884 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3388, allocations: 152.1 kB / 0.5886 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.3388, allocations: 159.8 kB / 0.5887 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.339, allocations: 454.8 kB / 0.5892 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.92e-05/0.3391, allocations: 171.5 kB / 0.5893 GB, free: 21.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.3391, allocations: 81.86 kB / 0.5894 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3391, allocations: 75.28 kB / 0.5895 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3392, allocations: 107.8 kB / 0.5896 GB, free: 21.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.3392, allocations: 0.7812 kB / 0.5896 GB, free: 21.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.49e-05/0.3393, allocations: 35.02 kB / 0.5896 GB, free: 20.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3393, allocations: 133 kB / 0.5897 GB, free: 20.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.3394, allocations: 114.9 kB / 0.5899 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.3394, allocations: 26.95 kB / 0.5899 GB, free: 20.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.3394, allocations: 81.39 kB / 0.59 GB, free: 20.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3394, allocations: 0 / 0.59 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3395, allocations: 19.05 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.3395, allocations: 313.2 kB / 0.5903 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.3396, allocations: 6.219 kB / 0.5903 GB, free: 20.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.3396, allocations: 12.11 kB / 0.5903 GB, free: 20.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.3396, allocations: 12.33 kB / 0.5903 GB, free: 20.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3396, allocations: 1.812 kB / 0.5903 GB, free: 20.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/0.3397, allocations: 40.91 kB / 0.5903 GB, free: 20.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3398, allocations: 5.406 kB / 0.5904 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3398, allocations: 7.875 kB / 0.5904 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3398, allocations: 0.5625 kB / 0.5904 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.3398, allocations: 0.75 kB / 0.5904 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3398, allocations: 4.859 kB / 0.5904 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.3399, allocations: 6.781 kB / 0.5904 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3399, allocations: 9.016 kB / 0.5904 GB, free: 20.2 MB / 446.1 MB 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.414e-05/0.34, allocations: 184.7 kB / 0.5906 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.34, allocations: 109.4 kB / 0.5907 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3401, allocations: 114 kB / 0.5908 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.3401, allocations: 180.2 kB / 0.5909 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/0.3402, allocations: 185.6 kB / 0.5911 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.3402, allocations: 183 kB / 0.5913 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3403, allocations: 405.4 kB / 0.5917 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.3404, allocations: 109.5 kB / 0.5918 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.3404, allocations: 102.7 kB / 0.5919 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.129e-05/0.3404, allocations: 178.3 kB / 0.5921 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.3405, allocations: 186 kB / 0.5922 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-05/0.3405, allocations: 182.7 kB / 0.5924 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.499e-05/0.3405, allocations: 181.4 kB / 0.5926 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.552e-05/0.3406, allocations: 301.3 kB / 0.5929 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.3406, allocations: 188.3 kB / 0.593 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3407, allocations: 186.9 kB / 0.5932 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.3407, allocations: 110.1 kB / 0.5933 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3408, allocations: 182 kB / 0.5935 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3408, allocations: 102.2 kB / 0.5936 GB, free: 16.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.3408, allocations: 86.11 kB / 0.5937 GB, free: 16.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3408, allocations: 3.938 kB / 0.5937 GB, free: 16.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3411, allocations: 3.969 kB / 0.5937 GB, free: 16.64 MB / 446.1 MB 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.0002398/0.3413, allocations: 184 kB / 0.5939 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.416e-05/0.3414, allocations: 9.5 kB / 0.5939 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3414, allocations: 0 / 0.5939 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3414, allocations: 5.562 kB / 0.5939 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3417, allocations: 467 kB / 0.5943 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.3419, allocations: 190 kB / 0.5945 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.342, allocations: 0.6803 MB / 0.5952 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.342, allocations: 10.22 kB / 0.5952 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3421, allocations: 0 / 0.5952 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Templates: time 0.001923/0.344, allocations: 0.5141 MB / 0.5957 GB, free: 14.86 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1