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.00144/0.00144, allocations: 108.2 kB / 15.99 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.001416/0.001416, allocations: 195.9 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9155/0.9155, allocations: 135.2 MB / 425.9 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 64.88 kB / 0.5055 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 80.94 MB / 0.5846 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002449/0.1547, allocations: 1.301 MB / 0.5859 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.1557, allocations: 0.709 MB / 0.5866 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.1557, allocations: 0 / 0.5866 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.1557, allocations: 0 / 0.5866 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1559, allocations: 7.984 kB / 0.5866 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.725e-05/0.156, allocations: 12 kB / 0.5866 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.1561, allocations: 11.92 kB / 0.5866 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1561, allocations: 4 kB / 0.5866 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.1561, allocations: 11.92 kB / 0.5866 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1563, allocations: 7.984 kB / 0.5866 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1563, allocations: 0 / 0.5866 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.1564, allocations: 4 kB / 0.5866 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.1564, allocations: 4 kB / 0.5866 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.1564, allocations: 0 / 0.5866 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.987e-05/0.1565, allocations: 11.98 kB / 0.5866 GB, free: 2.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1565, allocations: 0 / 0.5866 GB, free: 2.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1565, allocations: 0 / 0.5866 GB, free: 2.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1565, allocations: 0 / 0.5866 GB, free: 2.746 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.0003209/0.1568, allocations: 319.5 kB / 0.5869 GB, free: 2.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1569, allocations: 12.03 kB / 0.5869 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.157, allocations: 76.22 kB / 0.587 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1571, allocations: 243.6 kB / 0.5872 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.1572, allocations: 158.9 kB / 0.5874 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.1573, allocations: 154.9 kB / 0.5875 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.351e-05/0.1574, allocations: 105.5 kB / 0.5876 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.1574, allocations: 75.47 kB / 0.5877 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.1575, allocations: 154.5 kB / 0.5879 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.1576, allocations: 150.6 kB / 0.588 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.1576, allocations: 154.5 kB / 0.5882 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.158, allocations: 453.9 kB / 0.5886 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.1581, allocations: 165.1 kB / 0.5887 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.1581, allocations: 80.14 kB / 0.5888 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1582, allocations: 79.22 kB / 0.5889 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.1582, allocations: 109.8 kB / 0.589 GB, free: 136 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.806e-06/0.1582, allocations: 7.922 kB / 0.589 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.047e-05/0.1583, allocations: 37.64 kB / 0.589 GB, free: 84 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.1584, allocations: 130.7 kB / 0.5892 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1585, allocations: 93.86 kB / 0.5893 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1585, allocations: 25.7 kB / 0.5893 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1586, allocations: 80.14 kB / 0.5894 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1586, allocations: 4.125 kB / 0.5894 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1586, allocations: 13.72 kB / 0.5894 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1588, allocations: 314.8 kB / 0.5897 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.1588, allocations: 0 / 0.5897 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.1588, allocations: 0 / 0.5897 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.1588, allocations: 83.27 kB / 0.5898 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/0.1589, allocations: 75.28 kB / 0.5898 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.027e-05/0.1589, allocations: 29.64 kB / 0.5899 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.159, allocations: 87.31 kB / 0.5899 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.159, allocations: 83.27 kB / 0.59 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-05/0.1591, allocations: 154.5 kB / 0.5902 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.038e-05/0.1591, allocations: 75.28 kB / 0.5902 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.916e-05/0.1592, allocations: 158.7 kB / 0.5904 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1593, allocations: 91.22 kB / 0.5905 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.1594, allocations: 79.28 kB / 0.5906 GB, free: 14.48 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.0001351/0.1595, allocations: 260.7 kB / 0.5908 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.1596, allocations: 104.9 kB / 0.5909 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.1597, allocations: 108 kB / 0.591 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-05/0.1597, allocations: 188.2 kB / 0.5912 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.489e-05/0.1598, allocations: 188.2 kB / 0.5914 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/0.1599, allocations: 176.3 kB / 0.5915 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1602, allocations: 401.2 kB / 0.5919 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/0.1602, allocations: 105 kB / 0.592 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1603, allocations: 105 kB / 0.5921 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.06e-05/0.1604, allocations: 180.2 kB / 0.5923 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.1604, allocations: 184.2 kB / 0.5925 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.309e-05/0.1605, allocations: 192.2 kB / 0.5926 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.938e-05/0.1606, allocations: 180.2 kB / 0.5928 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.1608, allocations: 303.8 kB / 0.5931 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.1609, allocations: 182.1 kB / 0.5933 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.161, allocations: 188.1 kB / 0.5935 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1611, allocations: 105 kB / 0.5936 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.1612, allocations: 184.2 kB / 0.5937 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.1612, allocations: 101 kB / 0.5938 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.1613, allocations: 83.22 kB / 0.5939 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 4.094 kB / 0.5939 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002659/0.1615, allocations: 0 / 0.5939 GB, free: 10.8 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.0003081/0.1619, allocations: 201.4 kB / 0.5941 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.991e-05/0.1619, allocations: 0 / 0.5941 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1619, allocations: 0 / 0.5941 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.1619, allocations: 3.938 kB / 0.5941 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1623, allocations: 463.7 kB / 0.5946 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.1626, allocations: 182.5 kB / 0.5947 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1629, allocations: 0.6729 MB / 0.5954 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.1629, allocations: 7.438 kB / 0.5954 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1629, allocations: 0 / 0.5954 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.001991/0.1649, allocations: 480.2 kB / 0.5958 GB, free: 8.754 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