Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.00136/0.00136, allocations: 103.8 kB / 15.98 MB, free: 5.891 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.001553/0.001553, allocations: 185.5 kB / 16.91 MB, free: 5.746 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.25 kB / 0.5019 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3718, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002305/0.3742, allocations: 1.327 MB / 0.5815 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.375, allocations: 0.7321 MB / 0.5822 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3751, allocations: 0.7812 kB / 0.5822 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.3751, allocations: 3.938 kB / 0.5822 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3753, allocations: 5.297 kB / 0.5822 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3755, allocations: 45.67 kB / 0.5823 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.3756, allocations: 34.36 kB / 0.5823 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.3757, allocations: 2.078 kB / 0.5823 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.3757, allocations: 9.562 kB / 0.5823 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3758, allocations: 15.05 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3759, allocations: 4 kB / 0.5823 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.3759, allocations: 10.84 kB / 0.5824 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.3759, allocations: 7.422 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.376, allocations: 9.078 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.7e-05/0.3761, allocations: 10.09 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3761, allocations: 0.6562 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3761, allocations: 0 / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3761, allocations: 1 kB / 0.5824 GB, free: 3.027 MB / 430.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.0002275/0.3763, allocations: 330.2 kB / 0.5827 GB, free: 2.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3764, allocations: 13.22 kB / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3764, allocations: 81.66 kB / 0.5828 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.3765, allocations: 245.9 kB / 0.583 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3765, allocations: 153 kB / 0.5832 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3765, allocations: 151.8 kB / 0.5833 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.862e-05/0.3766, allocations: 110.5 kB / 0.5834 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3766, allocations: 79.98 kB / 0.5835 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3766, allocations: 155.9 kB / 0.5836 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3767, allocations: 150.6 kB / 0.5838 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.3767, allocations: 152 kB / 0.5839 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3769, allocations: 449.2 kB / 0.5844 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.3769, allocations: 173.9 kB / 0.5845 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.3769, allocations: 80.89 kB / 0.5846 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.377, allocations: 76.19 kB / 0.5847 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.377, allocations: 111.2 kB / 0.5848 GB, free: 448 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.377, allocations: 0 / 0.5848 GB, free: 448 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.3771, allocations: 36.11 kB / 0.5848 GB, free: 408 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3771, allocations: 128.4 kB / 0.5849 GB, free: 268 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.3772, allocations: 109.2 kB / 0.585 GB, free: 160 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3772, allocations: 25.7 kB / 0.5851 GB, free: 128 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.3772, allocations: 85.7 kB / 0.5852 GB, free: 40 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.3773, allocations: 0 / 0.5852 GB, free: 40 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3773, allocations: 17.47 kB / 0.5852 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3774, allocations: 316.8 kB / 0.5855 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.3774, allocations: 7.688 kB / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.3775, allocations: 7.922 kB / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.3775, allocations: 18.83 kB / 0.5855 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3775, allocations: 0 / 0.5855 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.3776, allocations: 38.33 kB / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3777, allocations: 11.41 kB / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3777, allocations: 7.922 kB / 0.5856 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3777, allocations: 5.375 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3777, allocations: 4.125 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3777, allocations: 1.344 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3778, allocations: 3.453 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3778, allocations: 1.641 kB / 0.5856 GB, free: 15.64 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.57e-05/0.3779, allocations: 185.7 kB / 0.5857 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.378, allocations: 111.3 kB / 0.5859 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.3781, allocations: 118.4 kB / 0.586 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/0.3781, allocations: 186.8 kB / 0.5861 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/0.3782, allocations: 178.2 kB / 0.5863 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.3783, allocations: 180.9 kB / 0.5865 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3785, allocations: 404.3 kB / 0.5869 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.3785, allocations: 109.7 kB / 0.587 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.3785, allocations: 103 kB / 0.5871 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.082e-05/0.3786, allocations: 181.7 kB / 0.5873 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.3787, allocations: 186 kB / 0.5874 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/0.3787, allocations: 182.7 kB / 0.5876 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-05/0.3788, allocations: 186.1 kB / 0.5878 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3789, allocations: 301.7 kB / 0.5881 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.379, allocations: 192.3 kB / 0.5883 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.379, allocations: 183.5 kB / 0.5884 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.3791, allocations: 105.5 kB / 0.5885 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.3792, allocations: 178.9 kB / 0.5887 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3792, allocations: 105.6 kB / 0.5888 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.003e-05/0.3793, allocations: 86.55 kB / 0.5889 GB, free: 12.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.3793, allocations: 0.6875 kB / 0.5889 GB, free: 12.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.3795, allocations: 7.891 kB / 0.5889 GB, free: 12.07 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.0002392/0.3797, allocations: 183.3 kB / 0.5891 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.3798, allocations: 6.375 kB / 0.5891 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3798, allocations: 4.062 kB / 0.5891 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.3798, allocations: 0 / 0.5891 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3802, allocations: 461.2 kB / 0.5895 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.3804, allocations: 197.2 kB / 0.5897 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3806, allocations: 0.679 MB / 0.5904 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3807, allocations: 15.31 kB / 0.5904 GB, free: 10.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3807, allocations: 1.094 kB / 0.5904 GB, free: 10.54 MB / 446.1 MB Notification: Performance of Templates: time 0.001889/0.3826, allocations: 0.5158 MB / 0.5909 GB, free: 10.51 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f IDEAS_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/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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1