Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, 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.001145/0.001145, 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8275/0.8275, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 64.09 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3227, allocations: 80.92 MB / 0.585 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002159/0.3249, allocations: 1.269 MB / 0.5863 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008713/0.3258, allocations: 0.7324 MB / 0.587 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3258, allocations: 0.8125 kB / 0.587 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.3258, allocations: 0 / 0.587 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.3261, allocations: 15.89 kB / 0.587 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.3262, allocations: 55.52 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.3263, allocations: 23.7 kB / 0.5871 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.3264, allocations: 5.281 kB / 0.5871 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.3264, allocations: 12.39 kB / 0.5871 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3265, allocations: 9.297 kB / 0.5871 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3266, allocations: 0.6562 kB / 0.5871 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.3266, allocations: 9.578 kB / 0.5871 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.3267, allocations: 6.875 kB / 0.5871 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3267, allocations: 7.312 kB / 0.5871 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.3268, allocations: 27.38 kB / 0.5871 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3268, allocations: 3.984 kB / 0.5871 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3268, allocations: 0.6562 kB / 0.5871 GB, free: 23.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3268, allocations: 1.406 kB / 0.5871 GB, free: 23.81 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.0002418/0.3271, allocations: 326.9 kB / 0.5875 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3271, allocations: 13.86 kB / 0.5875 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.3271, allocations: 78.28 kB / 0.5875 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.3272, allocations: 243.1 kB / 0.5878 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3273, allocations: 150.9 kB / 0.5879 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.3273, allocations: 153 kB / 0.5881 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.092e-05/0.3273, allocations: 103.5 kB / 0.5882 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3274, allocations: 76.44 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3274, allocations: 156.2 kB / 0.5884 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3274, allocations: 151.8 kB / 0.5885 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.3274, allocations: 158.5 kB / 0.5887 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.3276, allocations: 455.9 kB / 0.5891 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.3277, allocations: 171.9 kB / 0.5893 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.3277, allocations: 80.14 kB / 0.5894 GB, free: 21.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3277, allocations: 76.72 kB / 0.5894 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3277, allocations: 107.9 kB / 0.5895 GB, free: 21.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.3277, allocations: 2.375 kB / 0.5895 GB, free: 21.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.859e-05/0.3278, allocations: 34.77 kB / 0.5896 GB, free: 21.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3279, allocations: 127.8 kB / 0.5897 GB, free: 21.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.328, allocations: 113.5 kB / 0.5898 GB, free: 20.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.328, allocations: 30.64 kB / 0.5898 GB, free: 20.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.328, allocations: 82.42 kB / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.328, allocations: 0 / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3281, allocations: 19.36 kB / 0.5899 GB, free: 20.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.3281, allocations: 312.2 kB / 0.5902 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.3281, allocations: 4.156 kB / 0.5902 GB, free: 20.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.3282, allocations: 14.02 kB / 0.5902 GB, free: 20.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.3282, allocations: 16.83 kB / 0.5903 GB, free: 20.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3282, allocations: 0.7812 kB / 0.5903 GB, free: 20.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.992e-05/0.3283, allocations: 48.92 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3283, allocations: 5.719 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3283, allocations: 4.5 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3284, allocations: 5.719 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3284, allocations: 0 / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3284, allocations: 1.406 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3285, allocations: 2.875 kB / 0.5903 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3285, allocations: 5.406 kB / 0.5903 GB, free: 20.42 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 5.497e-05/0.3286, allocations: 188.3 kB / 0.5905 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.3286, allocations: 110.3 kB / 0.5906 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.3287, allocations: 110.4 kB / 0.5907 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.3287, allocations: 178 kB / 0.5909 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.3287, allocations: 190.5 kB / 0.5911 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.3287, allocations: 183.3 kB / 0.5912 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3289, allocations: 399.8 kB / 0.5916 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.3289, allocations: 106.7 kB / 0.5917 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.3289, allocations: 108.2 kB / 0.5918 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.59e-05/0.329, allocations: 181.5 kB / 0.592 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.329, allocations: 180.2 kB / 0.5922 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/0.329, allocations: 184.3 kB / 0.5924 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/0.329, allocations: 177.6 kB / 0.5925 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.3291, allocations: 308.6 kB / 0.5928 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3292, allocations: 187.7 kB / 0.593 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.3292, allocations: 187.7 kB / 0.5932 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.3293, allocations: 106.1 kB / 0.5933 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3293, allocations: 185.4 kB / 0.5935 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.3293, allocations: 102.7 kB / 0.5936 GB, free: 16.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.3294, allocations: 86.53 kB / 0.5936 GB, free: 16.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3294, allocations: 0 / 0.5936 GB, free: 16.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3296, allocations: 8.359 kB / 0.5936 GB, free: 16.86 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.0001976/0.3298, allocations: 184.2 kB / 0.5938 GB, free: 16.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.197e-05/0.3299, allocations: 13.12 kB / 0.5938 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3299, allocations: 1.781 kB / 0.5938 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.3299, allocations: 3.938 kB / 0.5938 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3302, allocations: 457.5 kB / 0.5943 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.3304, allocations: 190.9 kB / 0.5945 GB, free: 16.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.3305, allocations: 0.6794 MB / 0.5951 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.3305, allocations: 9.25 kB / 0.5951 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3305, allocations: 0 / 0.5951 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Templates: time 0.001716/0.3322, allocations: 0.5177 MB / 0.5956 GB, free: 15.09 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1