Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001467/0.001467, allocations: 110.5 kB / 15.99 MB, free: 6.359 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.00155/0.00155, allocations: 189.6 kB / 16.91 MB, free: 6.195 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.291/1.291, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7482/0.7482, allocations: 132.2 MB / 422.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.89 kB / 0.5019 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.341, allocations: 80.19 MB / 0.5802 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002215/0.3433, allocations: 1.328 MB / 0.5815 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.3442, allocations: 0.7195 MB / 0.5822 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3442, allocations: 0 / 0.5822 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.3443, allocations: 0 / 0.5822 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.3445, allocations: 16.06 kB / 0.5822 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.3447, allocations: 49.53 kB / 0.5823 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.3448, allocations: 20.39 kB / 0.5823 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.3448, allocations: 14.09 kB / 0.5823 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.3449, allocations: 11.64 kB / 0.5823 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.345, allocations: 9.172 kB / 0.5823 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.345, allocations: 3.125 kB / 0.5823 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.3451, allocations: 9.016 kB / 0.5823 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.3451, allocations: 6.625 kB / 0.5824 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3452, allocations: 11.86 kB / 0.5824 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.365e-05/0.3452, allocations: 11.55 kB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.3453, allocations: 1.469 kB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3453, allocations: 0 / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3453, allocations: 0 / 0.5824 GB, free: 25.66 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.0002514/0.3455, allocations: 334.8 kB / 0.5827 GB, free: 25.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3456, allocations: 9.594 kB / 0.5827 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3456, allocations: 86.53 kB / 0.5828 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.3457, allocations: 250.3 kB / 0.583 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3457, allocations: 156 kB / 0.5832 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3458, allocations: 153.3 kB / 0.5833 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.15e-05/0.3458, allocations: 102.6 kB / 0.5834 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3459, allocations: 76.25 kB / 0.5835 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3459, allocations: 156.7 kB / 0.5836 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3459, allocations: 150.6 kB / 0.5838 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.3459, allocations: 156.4 kB / 0.5839 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3461, allocations: 450.8 kB / 0.5844 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.3462, allocations: 171.3 kB / 0.5845 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.3462, allocations: 82.17 kB / 0.5846 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3462, allocations: 75.28 kB / 0.5847 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3462, allocations: 111.6 kB / 0.5848 GB, free: 23.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3462, allocations: 5.031 kB / 0.5848 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.604e-05/0.3463, allocations: 30.7 kB / 0.5848 GB, free: 23.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.3464, allocations: 130.2 kB / 0.5849 GB, free: 22.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.3464, allocations: 105.9 kB / 0.585 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3465, allocations: 25.7 kB / 0.5851 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.3465, allocations: 85.05 kB / 0.5851 GB, free: 22.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.3465, allocations: 2.562 kB / 0.5852 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.3465, allocations: 13.84 kB / 0.5852 GB, free: 22.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.3466, allocations: 318.6 kB / 0.5855 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.3466, allocations: 3.781 kB / 0.5855 GB, free: 22.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.3466, allocations: 9.156 kB / 0.5855 GB, free: 22.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.3466, allocations: 20.88 kB / 0.5855 GB, free: 22.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3467, allocations: 0 / 0.5855 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.3468, allocations: 36.52 kB / 0.5855 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3468, allocations: 10.56 kB / 0.5855 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3468, allocations: 3.938 kB / 0.5855 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3468, allocations: 6.078 kB / 0.5856 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3468, allocations: 0 / 0.5856 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3468, allocations: 0 / 0.5856 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.3469, allocations: 7.312 kB / 0.5856 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.347, allocations: 1.594 kB / 0.5856 GB, free: 22.27 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.005e-05/0.347, allocations: 188.8 kB / 0.5857 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.3471, allocations: 114.7 kB / 0.5859 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3471, allocations: 111 kB / 0.586 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.3471, allocations: 177.6 kB / 0.5861 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/0.3472, allocations: 180.8 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.3472, allocations: 179 kB / 0.5865 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3473, allocations: 407.9 kB / 0.5869 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.3473, allocations: 108.4 kB / 0.587 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.3474, allocations: 102.6 kB / 0.5871 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/0.3474, allocations: 189.5 kB / 0.5872 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.3474, allocations: 187.2 kB / 0.5874 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/0.3474, allocations: 180.2 kB / 0.5876 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-05/0.3475, allocations: 182.1 kB / 0.5878 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.047e-05/0.3475, allocations: 311.9 kB / 0.5881 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.3476, allocations: 179.5 kB / 0.5882 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3476, allocations: 185.6 kB / 0.5884 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.3477, allocations: 101 kB / 0.5885 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3477, allocations: 186.4 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3477, allocations: 106.9 kB / 0.5888 GB, free: 18.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.476e-05/0.3478, allocations: 80.97 kB / 0.5889 GB, free: 18.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3478, allocations: 0.5625 kB / 0.5889 GB, free: 18.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.348, allocations: 8.203 kB / 0.5889 GB, free: 18.7 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.0002717/0.3483, allocations: 192.2 kB / 0.5891 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.04e-05/0.3484, allocations: 8.344 kB / 0.5891 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3484, allocations: 2.188 kB / 0.5891 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.3484, allocations: 3.938 kB / 0.5891 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3486, allocations: 460.5 kB / 0.5895 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.3489, allocations: 194.5 kB / 0.5897 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.349, allocations: 0.6728 MB / 0.5904 GB, free: 17.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.349, allocations: 12.5 kB / 0.5904 GB, free: 17.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.349, allocations: 1.375 kB / 0.5904 GB, free: 17.16 MB / 446.1 MB Notification: Performance of Templates: time 0.001716/0.3507, allocations: 0.519 MB / 0.5909 GB, free: 16.92 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile clang++ -std=c++14 -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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1