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.00622/0.006221, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.001284/0.001284, allocations: 193 kB / 16.79 MB, free: 6.258 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9295/0.9295, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.44 kB / 0.5053 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1695, allocations: 80.92 MB / 0.5844 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002406/0.172, allocations: 1.313 MB / 0.5856 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.173, allocations: 0.7245 MB / 0.5863 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1731, allocations: 0 / 0.5863 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.1731, allocations: 3.938 kB / 0.5863 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1733, allocations: 4 kB / 0.5863 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.1735, allocations: 47.92 kB / 0.5864 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.1736, allocations: 31.91 kB / 0.5864 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.1736, allocations: 8 kB / 0.5864 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.1737, allocations: 11.98 kB / 0.5864 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1738, allocations: 11.88 kB / 0.5865 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1739, allocations: 0 / 0.5865 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.1739, allocations: 19.97 kB / 0.5865 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.174, allocations: 3.938 kB / 0.5865 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.174, allocations: 7.938 kB / 0.5865 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.1741, allocations: 15.97 kB / 0.5865 GB, free: 2.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1741, allocations: 0 / 0.5865 GB, free: 2.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1741, allocations: 0 / 0.5865 GB, free: 2.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1741, allocations: 4 kB / 0.5865 GB, free: 2.727 MB / 494.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.0003202/0.1744, allocations: 331.7 kB / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1745, allocations: 12.03 kB / 0.5868 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.1746, allocations: 76.22 kB / 0.5869 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1747, allocations: 239.7 kB / 0.5871 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.1748, allocations: 158.9 kB / 0.5873 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.1748, allocations: 150.9 kB / 0.5874 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.949e-05/0.1749, allocations: 109.5 kB / 0.5875 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1749, allocations: 79.47 kB / 0.5876 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.175, allocations: 154.5 kB / 0.5878 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.175, allocations: 150.6 kB / 0.5879 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.102e-05/0.1751, allocations: 150.6 kB / 0.588 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1754, allocations: 453.9 kB / 0.5885 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.1755, allocations: 173.1 kB / 0.5886 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.1755, allocations: 80.14 kB / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1755, allocations: 79.28 kB / 0.5888 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.1756, allocations: 109.8 kB / 0.5889 GB, free: 100 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1756, allocations: 0 / 0.5889 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.1757, allocations: 37.55 kB / 0.5889 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.1758, allocations: 134.7 kB / 0.5891 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1759, allocations: 101.9 kB / 0.5892 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1759, allocations: 25.7 kB / 0.5892 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.176, allocations: 84.12 kB / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.176, allocations: 0 / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.176, allocations: 25.72 kB / 0.5893 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1761, allocations: 318.8 kB / 0.5896 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1761, allocations: 3.984 kB / 0.5896 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.1762, allocations: 8 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.1762, allocations: 16.86 kB / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1762, allocations: 0 / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.1763, allocations: 45.67 kB / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1764, allocations: 8.125 kB / 0.5897 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1764, allocations: 7.875 kB / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1764, allocations: 0 / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1764, allocations: 0 / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1764, allocations: 0 / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.843e-05/0.1765, allocations: 11.97 kB / 0.5897 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1765, allocations: 3.938 kB / 0.5897 GB, free: 15.22 MB / 0.4981 GB 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 0.0001054/0.1766, allocations: 185.1 kB / 0.5899 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1767, allocations: 112.9 kB / 0.59 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.1768, allocations: 116.4 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/0.1768, allocations: 180.3 kB / 0.5903 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/0.1769, allocations: 176.3 kB / 0.5904 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.177, allocations: 180.3 kB / 0.5906 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1772, allocations: 409.2 kB / 0.591 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.443e-05/0.1772, allocations: 108.9 kB / 0.5911 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1773, allocations: 101 kB / 0.5912 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.397e-05/0.1773, allocations: 180.3 kB / 0.5914 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.1774, allocations: 188.1 kB / 0.5915 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.495e-05/0.1775, allocations: 180.5 kB / 0.5917 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.526e-05/0.1775, allocations: 184.2 kB / 0.5919 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1777, allocations: 303.8 kB / 0.5922 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.1778, allocations: 190 kB / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.1778, allocations: 184.2 kB / 0.5925 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.1779, allocations: 104.9 kB / 0.5926 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.178, allocations: 184.3 kB / 0.5928 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.178, allocations: 101 kB / 0.5929 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.1781, allocations: 87.27 kB / 0.593 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1781, allocations: 3.938 kB / 0.593 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002191/0.1783, allocations: 4 kB / 0.593 GB, free: 11.6 MB / 0.4981 GB 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.0003263/0.1787, allocations: 201.5 kB / 0.5932 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.826e-05/0.1787, allocations: 4 kB / 0.5932 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1787, allocations: 0 / 0.5932 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.1787, allocations: 0 / 0.5932 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1791, allocations: 0.5263 MB / 0.5937 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.1794, allocations: 192.6 kB / 0.5939 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1796, allocations: 0.6809 MB / 0.5946 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.1797, allocations: 7.438 kB / 0.5946 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1797, allocations: 0 / 0.5946 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.001844/0.1815, allocations: 0.5084 MB / 0.5951 GB, free: 9.422 MB / 0.4981 GB 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