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.001565/0.001565, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001433/0.001433, allocations: 183 kB / 17.34 MB, free: 5.766 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.833/0.833, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1724, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00354/0.176, allocations: 1.275 MB / 0.6666 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1778, allocations: 0.7392 MB / 0.6673 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.1779, allocations: 0 / 0.6673 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.178, allocations: 4 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1784, allocations: 3.938 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1787, allocations: 62.97 kB / 0.6674 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1788, allocations: 23.92 kB / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.1789, allocations: 0 / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.1789, allocations: 15.92 kB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1791, allocations: 15.92 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1791, allocations: 0 / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.1792, allocations: 8 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1793, allocations: 7.969 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1793, allocations: 11.94 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1794, allocations: 15.98 kB / 0.6675 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1794, allocations: 0 / 0.6675 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1794, allocations: 0 / 0.6675 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1794, allocations: 0 / 0.6675 GB, free: 3.629 MB / 0.4981 GB 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.0003712/0.1798, allocations: 335.4 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1799, allocations: 13.11 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.18, allocations: 88.06 kB / 0.6679 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1801, allocations: 243.6 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.1802, allocations: 150.9 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1803, allocations: 154.9 kB / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.898e-05/0.1803, allocations: 101.5 kB / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1804, allocations: 79.47 kB / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.1805, allocations: 154.5 kB / 0.6687 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.1805, allocations: 158.5 kB / 0.6689 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.1806, allocations: 154.5 kB / 0.669 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1809, allocations: 449.9 kB / 0.6694 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.181, allocations: 169.1 kB / 0.6696 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.181, allocations: 84.14 kB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1811, allocations: 75.28 kB / 0.6698 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.1811, allocations: 105.8 kB / 0.6699 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.1811, allocations: 0 / 0.6699 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.99e-05/0.1812, allocations: 37.58 kB / 0.6699 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.1813, allocations: 134.7 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1814, allocations: 105.8 kB / 0.6701 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1814, allocations: 25.7 kB / 0.6701 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.1815, allocations: 84.12 kB / 0.6702 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.1815, allocations: 0 / 0.6702 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.1816, allocations: 17.72 kB / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1817, allocations: 314.8 kB / 0.6705 GB, free: 240 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.1817, allocations: 8 kB / 0.6706 GB, free: 232 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.1817, allocations: 11.98 kB / 0.6706 GB, free: 220 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.1818, allocations: 12.86 kB / 0.6706 GB, free: 204 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1818, allocations: 0 / 0.6706 GB, free: 204 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.1819, allocations: 49.53 kB / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1819, allocations: 8 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.182, allocations: 3.938 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.182, allocations: 3.938 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.182, allocations: 4.125 kB / 0.6706 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.182, allocations: 0 / 0.6706 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1822, allocations: 7.938 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1822, allocations: 3.984 kB / 0.6707 GB, free: 116 kB / 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.0001226/0.1823, allocations: 181.1 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.1824, allocations: 112.9 kB / 0.6709 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1824, allocations: 108.5 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/0.1825, allocations: 184.2 kB / 0.6712 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-05/0.1826, allocations: 188.5 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/0.1827, allocations: 176.3 kB / 0.6716 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1829, allocations: 413.2 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/0.183, allocations: 101 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.183, allocations: 101.1 kB / 0.6721 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-05/0.1831, allocations: 188.2 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.1831, allocations: 184.2 kB / 0.6725 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.664e-05/0.1832, allocations: 184.2 kB / 0.6727 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.95e-05/0.1833, allocations: 176.3 kB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1834, allocations: 307.8 kB / 0.6731 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.1835, allocations: 186.1 kB / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.1836, allocations: 188.1 kB / 0.6735 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1837, allocations: 105 kB / 0.6736 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1838, allocations: 176.3 kB / 0.6738 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.1838, allocations: 112.9 kB / 0.6739 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.1839, allocations: 83.27 kB / 0.674 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1839, allocations: 0 / 0.674 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002402/0.1841, allocations: 4 kB / 0.674 GB, free: 12.5 MB / 0.5137 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.0002673/0.1844, allocations: 191.8 kB / 0.6741 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.1845, allocations: 8 kB / 0.6741 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1845, allocations: 4.062 kB / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.1845, allocations: 4 kB / 0.6742 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1849, allocations: 461.3 kB / 0.6746 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1852, allocations: 198.4 kB / 0.6748 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1854, allocations: 0.6729 MB / 0.6754 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.1854, allocations: 15.44 kB / 0.6755 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1854, allocations: 0 / 0.6755 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002201/0.1876, allocations: 0.5248 MB / 0.676 GB, free: 10.38 MB / 0.5137 GB 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++17 -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