Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 181.1 kB / 16.92 MB, free: 6.918 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.273/1.273, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9458/0.9458, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 12.28 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001328/0.1603, allocations: 0.9666 MB / 0.5896 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1614, allocations: 0.6973 MB / 0.5902 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.1614, allocations: 0 / 0.5902 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1615, allocations: 3.938 kB / 0.5902 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1617, allocations: 11.98 kB / 0.5903 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.171e-05/0.1618, allocations: 8 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.1618, allocations: 19.98 kB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.1619, allocations: 0 / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.1619, allocations: 15.86 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.1625, allocations: 7.984 kB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1625, allocations: 0 / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.1626, allocations: 4 kB / 0.5903 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1626, allocations: 11.97 kB / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1626, allocations: 29.7 kB / 0.5904 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.04e-05/0.1627, allocations: 4 kB / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1627, allocations: 0 / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1627, allocations: 0 / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1627, allocations: 4 kB / 0.5904 GB, free: 0.8086 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.0002819/0.163, allocations: 311.6 kB / 0.5907 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1631, allocations: 8.031 kB / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.1631, allocations: 80.22 kB / 0.5907 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1633, allocations: 239.6 kB / 0.591 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.1634, allocations: 158.9 kB / 0.5911 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.1635, allocations: 154.9 kB / 0.5913 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.348e-05/0.1635, allocations: 109.5 kB / 0.5914 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.1636, allocations: 83.39 kB / 0.5915 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.1636, allocations: 154.5 kB / 0.5916 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.1637, allocations: 150.6 kB / 0.5917 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.1637, allocations: 150.6 kB / 0.5919 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.164, allocations: 449.9 kB / 0.5923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.1641, allocations: 169.1 kB / 0.5925 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.1642, allocations: 80.14 kB / 0.5926 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1642, allocations: 75.28 kB / 0.5926 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1642, allocations: 109.8 kB / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1642, allocations: 0 / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.957e-05/0.1643, allocations: 45.56 kB / 0.5928 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1644, allocations: 126.7 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.1645, allocations: 93.86 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1645, allocations: 25.7 kB / 0.593 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1646, allocations: 80.14 kB / 0.5931 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.1646, allocations: 4.125 kB / 0.5931 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.1646, allocations: 9.719 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1647, allocations: 314.8 kB / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.1647, allocations: 0 / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.1647, allocations: 7.984 kB / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.1648, allocations: 75.28 kB / 0.5935 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/0.1648, allocations: 75.28 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.57e-05/0.1649, allocations: 33.64 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.1649, allocations: 83.31 kB / 0.5937 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.1649, allocations: 79.22 kB / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-05/0.165, allocations: 154.6 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.509e-05/0.165, allocations: 83.22 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-05/0.1651, allocations: 154.5 kB / 0.5941 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1652, allocations: 83.36 kB / 0.5942 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1652, allocations: 87.3 kB / 0.5943 GB, free: 12.55 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 (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 prepare postOptimizeDAE: time 0.0001008/0.1653, allocations: 256.7 kB / 0.5945 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.1654, allocations: 101 kB / 0.5946 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1655, allocations: 120 kB / 0.5947 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/0.1655, allocations: 176.3 kB / 0.5949 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.03e-05/0.1656, allocations: 188.2 kB / 0.5951 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/0.1656, allocations: 176.3 kB / 0.5952 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1658, allocations: 409.2 kB / 0.5956 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.1659, allocations: 104.9 kB / 0.5957 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1659, allocations: 101 kB / 0.5958 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-05/0.166, allocations: 192.2 kB / 0.596 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.166, allocations: 184.2 kB / 0.5962 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-05/0.1661, allocations: 184.2 kB / 0.5964 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.706e-05/0.1662, allocations: 184.2 kB / 0.5965 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.1663, allocations: 303.8 kB / 0.5968 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.1664, allocations: 186.1 kB / 0.597 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.1664, allocations: 184.2 kB / 0.5972 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1665, allocations: 104.9 kB / 0.5973 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1666, allocations: 176.3 kB / 0.5975 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.1666, allocations: 112.9 kB / 0.5976 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.1666, allocations: 79.27 kB / 0.5976 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1666, allocations: 4.094 kB / 0.5976 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.1669, allocations: 4 kB / 0.5976 GB, free: 8.875 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.0002639/0.1672, allocations: 192.3 kB / 0.5978 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.011e-05/0.1672, allocations: 0 / 0.5978 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1672, allocations: 0 / 0.5978 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1672, allocations: 0 / 0.5978 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1676, allocations: 0.532 MB / 0.5983 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.1678, allocations: 182 kB / 0.5985 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.168, allocations: 0.6731 MB / 0.5992 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.1681, allocations: 11.44 kB / 0.5992 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.1681, allocations: 0 / 0.5992 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.001591/0.1697, allocations: 479 kB / 0.5996 GB, free: 6.758 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1