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.001411/0.001411, allocations: 101.7 kB / 15.98 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.001486/0.001486, allocations: 196 kB / 16.91 MB, free: 6.191 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8092/0.8092, allocations: 135.1 MB / 425.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 60.14 kB / 0.5055 GB, free: 8.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4081, allocations: 80.91 MB / 0.5845 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002887/0.411, allocations: 1.335 MB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.4122, allocations: 0.7224 MB / 0.5865 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.4122, allocations: 0 / 0.5865 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.4123, allocations: 0 / 0.5865 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.4126, allocations: 12.67 kB / 0.5865 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.4128, allocations: 50.56 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.4129, allocations: 23.67 kB / 0.5866 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.413, allocations: 2.094 kB / 0.5866 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.413, allocations: 21.78 kB / 0.5866 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.4132, allocations: 4.125 kB / 0.5866 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4132, allocations: 1.281 kB / 0.5866 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.4133, allocations: 11.14 kB / 0.5866 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.4133, allocations: 10.48 kB / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.4134, allocations: 7.844 kB / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.4135, allocations: 14.75 kB / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4135, allocations: 0 / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4135, allocations: 0.5312 kB / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4135, allocations: 8.906 kB / 0.5867 GB, free: 23.29 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.0003251/0.4138, allocations: 329 kB / 0.587 GB, free: 22.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4139, allocations: 11.14 kB / 0.587 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.414, allocations: 81.66 kB / 0.5871 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4141, allocations: 243 kB / 0.5873 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.4141, allocations: 151.4 kB / 0.5875 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.4142, allocations: 153.1 kB / 0.5876 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.058e-05/0.4142, allocations: 103.5 kB / 0.5877 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4143, allocations: 80.89 kB / 0.5878 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4143, allocations: 154.5 kB / 0.5879 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.4143, allocations: 152.5 kB / 0.5881 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.4144, allocations: 155.3 kB / 0.5882 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.4146, allocations: 455.5 kB / 0.5887 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.4147, allocations: 171.3 kB / 0.5888 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.4147, allocations: 81.36 kB / 0.5889 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4147, allocations: 75.94 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4148, allocations: 111.5 kB / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.4148, allocations: 1.719 kB / 0.5891 GB, free: 20.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.643e-05/0.4149, allocations: 30.98 kB / 0.5891 GB, free: 20.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4149, allocations: 128 kB / 0.5892 GB, free: 20.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.415, allocations: 106.7 kB / 0.5893 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.4151, allocations: 27.05 kB / 0.5894 GB, free: 20.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.4151, allocations: 85.27 kB / 0.5894 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.4151, allocations: 0 / 0.5894 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.4151, allocations: 20.58 kB / 0.5895 GB, free: 20.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.4152, allocations: 315.9 kB / 0.5898 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.4153, allocations: 2.719 kB / 0.5898 GB, free: 19.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.4153, allocations: 14.89 kB / 0.5898 GB, free: 19.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.4154, allocations: 18.36 kB / 0.5898 GB, free: 19.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4154, allocations: 0 / 0.5898 GB, free: 19.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.4155, allocations: 40.25 kB / 0.5898 GB, free: 19.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4155, allocations: 5.062 kB / 0.5898 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4155, allocations: 6.438 kB / 0.5899 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4156, allocations: 0 / 0.5899 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.4156, allocations: 1.062 kB / 0.5899 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4156, allocations: 5.062 kB / 0.5899 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4157, allocations: 6.969 kB / 0.5899 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4157, allocations: 1.531 kB / 0.5899 GB, free: 19.91 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 9.305e-05/0.4158, allocations: 191.7 kB / 0.59 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.4159, allocations: 110 kB / 0.5902 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.4159, allocations: 114.3 kB / 0.5903 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.416, allocations: 176.3 kB / 0.5904 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/0.416, allocations: 181.5 kB / 0.5906 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/0.4161, allocations: 181.6 kB / 0.5908 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4162, allocations: 405 kB / 0.5912 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/0.4163, allocations: 111 kB / 0.5913 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.4163, allocations: 102.4 kB / 0.5914 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-05/0.4163, allocations: 185.3 kB / 0.5915 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.4164, allocations: 183 kB / 0.5917 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.333e-05/0.4164, allocations: 181.6 kB / 0.5919 GB, free: 17.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-05/0.4165, allocations: 187.4 kB / 0.5921 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.4166, allocations: 307.4 kB / 0.5924 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4166, allocations: 180.6 kB / 0.5925 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.4167, allocations: 190.3 kB / 0.5927 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.4168, allocations: 104.2 kB / 0.5928 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4168, allocations: 180.2 kB / 0.593 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4169, allocations: 107 kB / 0.5931 GB, free: 16.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.4169, allocations: 84.36 kB / 0.5932 GB, free: 16.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4169, allocations: 1.156 kB / 0.5932 GB, free: 16.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000264/0.4172, allocations: 3.625 kB / 0.5932 GB, free: 16.35 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.0003394/0.4175, allocations: 192.3 kB / 0.5934 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.685e-05/0.4176, allocations: 5.75 kB / 0.5934 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4176, allocations: 7.938 kB / 0.5934 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.4176, allocations: 8.031 kB / 0.5934 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.418, allocations: 453.3 kB / 0.5938 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.4183, allocations: 193.4 kB / 0.594 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4184, allocations: 0.6768 MB / 0.5947 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.4184, allocations: 9.219 kB / 0.5947 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4184, allocations: 0 / 0.5947 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002607/0.4211, allocations: 0.5199 MB / 0.5952 GB, free: 14.57 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++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.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