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.001428/0.001428, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.00171/0.00171, allocations: 189.2 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.84/0.84, allocations: 135.1 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.89 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4025, allocations: 80.91 MB / 0.5845 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002474/0.405, allocations: 1.343 MB / 0.5858 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.406, allocations: 0.7148 MB / 0.5865 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.4061, allocations: 0 / 0.5865 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.4061, allocations: 0.625 kB / 0.5865 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.4063, allocations: 15.39 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.4065, allocations: 44.44 kB / 0.5866 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.4066, allocations: 32.28 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.4067, allocations: 1.25 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.4067, allocations: 7.406 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4069, allocations: 14.94 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4069, allocations: 1.125 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.407, allocations: 5.969 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.407, allocations: 6.531 kB / 0.5867 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.4071, allocations: 16.34 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.4071, allocations: 7.062 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4072, allocations: 1.094 kB / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4072, allocations: 0 / 0.5867 GB, free: 23.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4072, allocations: 1.719 kB / 0.5867 GB, free: 23.45 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.000306/0.4075, allocations: 336.2 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4075, allocations: 10.39 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4076, allocations: 85.41 kB / 0.5871 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.4077, allocations: 244.8 kB / 0.5873 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.4078, allocations: 152.8 kB / 0.5875 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.4078, allocations: 155.4 kB / 0.5876 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.572e-05/0.4078, allocations: 101.5 kB / 0.5877 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4079, allocations: 76.91 kB / 0.5878 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4079, allocations: 154.5 kB / 0.5879 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.4079, allocations: 150.6 kB / 0.5881 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.408, allocations: 161.5 kB / 0.5882 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.4082, allocations: 453.8 kB / 0.5887 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.38e-05/0.4082, allocations: 167.6 kB / 0.5888 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.4083, allocations: 81.45 kB / 0.5889 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4083, allocations: 75.84 kB / 0.589 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4083, allocations: 112.1 kB / 0.5891 GB, free: 20.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4083, allocations: 0.9688 kB / 0.5891 GB, free: 20.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.494e-05/0.4084, allocations: 34.64 kB / 0.5891 GB, free: 20.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.4084, allocations: 129.8 kB / 0.5892 GB, free: 20.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4086, allocations: 110.3 kB / 0.5893 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4086, allocations: 29.7 kB / 0.5894 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.4086, allocations: 85.38 kB / 0.5895 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.4086, allocations: 1.844 kB / 0.5895 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4087, allocations: 15.09 kB / 0.5895 GB, free: 20.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.4087, allocations: 314.8 kB / 0.5898 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.4087, allocations: 3.719 kB / 0.5898 GB, free: 20.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.4088, allocations: 10.66 kB / 0.5898 GB, free: 20.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.4088, allocations: 17.56 kB / 0.5898 GB, free: 20.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4088, allocations: 3.938 kB / 0.5898 GB, free: 20.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.4089, allocations: 38.83 kB / 0.5898 GB, free: 20.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.409, allocations: 3.875 kB / 0.5898 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.409, allocations: 6.188 kB / 0.5899 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.409, allocations: 3.984 kB / 0.5899 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.409, allocations: 0 / 0.5899 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.409, allocations: 2.438 kB / 0.5899 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.4092, allocations: 1.156 kB / 0.5899 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4092, allocations: 5.312 kB / 0.5899 GB, free: 20.05 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 7.92e-05/0.4093, allocations: 184.7 kB / 0.59 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.4093, allocations: 118.9 kB / 0.5902 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.4094, allocations: 111.4 kB / 0.5903 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.4094, allocations: 177.5 kB / 0.5904 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.359e-05/0.4095, allocations: 182.2 kB / 0.5906 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/0.4095, allocations: 182.3 kB / 0.5908 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.4096, allocations: 404.1 kB / 0.5912 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.4097, allocations: 108.7 kB / 0.5913 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.4097, allocations: 114.3 kB / 0.5914 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.099e-05/0.4097, allocations: 181.9 kB / 0.5916 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.4098, allocations: 181.2 kB / 0.5917 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-05/0.4098, allocations: 187.2 kB / 0.5919 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.879e-05/0.4098, allocations: 177.6 kB / 0.5921 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.4099, allocations: 307.5 kB / 0.5924 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.41, allocations: 185.3 kB / 0.5925 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.41, allocations: 186.9 kB / 0.5927 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.4101, allocations: 102.7 kB / 0.5928 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4101, allocations: 184.9 kB / 0.593 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.4101, allocations: 106.3 kB / 0.5931 GB, free: 16.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.4102, allocations: 86.06 kB / 0.5932 GB, free: 16.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4102, allocations: 0 / 0.5932 GB, free: 16.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.4104, allocations: 4.281 kB / 0.5932 GB, free: 16.49 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.0002588/0.4107, allocations: 196.2 kB / 0.5934 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.4108, allocations: 9.094 kB / 0.5934 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4108, allocations: 0 / 0.5934 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.4108, allocations: 0 / 0.5934 GB, free: 16.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4111, allocations: 457.5 kB / 0.5938 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4113, allocations: 196.2 kB / 0.594 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4115, allocations: 0.6726 MB / 0.5947 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4115, allocations: 7.438 kB / 0.5947 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4115, allocations: 0 / 0.5947 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Templates: time 0.002167/0.4137, allocations: 0.518 MB / 0.5952 GB, free: 14.72 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++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-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