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.001161/0.001161, allocations: 101.3 kB / 16.4 MB, free: 6.453 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.001149/0.001149, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7176/0.7176, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.34 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1296, allocations: 80.92 MB / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001841/0.1314, allocations: 1.231 MB / 0.6665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.1323, allocations: 0.7274 MB / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.1324, allocations: 0 / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.1324, allocations: 3.938 kB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1326, allocations: 19.92 kB / 0.6673 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.76e-05/0.1327, allocations: 4 kB / 0.6673 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.1327, allocations: 7.984 kB / 0.6673 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.1328, allocations: 0 / 0.6673 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.1328, allocations: 4 kB / 0.6673 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.1335, allocations: 11.97 kB / 0.6673 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1335, allocations: 0 / 0.6673 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.1335, allocations: 19.88 kB / 0.6673 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1336, allocations: 0 / 0.6673 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.1336, allocations: 4 kB / 0.6673 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.234e-05/0.1337, allocations: 15.91 kB / 0.6673 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1337, allocations: 4 kB / 0.6673 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1337, allocations: 0 / 0.6673 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1337, allocations: 0 / 0.6673 GB, free: 3.824 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.0002653/0.134, allocations: 319.4 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.134, allocations: 13.11 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.1341, allocations: 76.22 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1342, allocations: 239.7 kB / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.1343, allocations: 154.9 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1343, allocations: 154.9 kB / 0.6682 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.141e-05/0.1344, allocations: 105.5 kB / 0.6683 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.1344, allocations: 79.45 kB / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.1344, allocations: 154.5 kB / 0.6686 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.1345, allocations: 150.6 kB / 0.6687 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.1345, allocations: 158.6 kB / 0.6689 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1348, allocations: 445.9 kB / 0.6693 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.1348, allocations: 173.1 kB / 0.6694 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.1349, allocations: 80.14 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1349, allocations: 79.28 kB / 0.6696 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1349, allocations: 109.8 kB / 0.6697 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1349, allocations: 0 / 0.6697 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.277e-05/0.135, allocations: 33.64 kB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1351, allocations: 126.7 kB / 0.6699 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.1352, allocations: 101.8 kB / 0.6699 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1352, allocations: 33.77 kB / 0.67 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1352, allocations: 80.14 kB / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.1352, allocations: 0 / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.1352, allocations: 13.72 kB / 0.6701 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.1353, allocations: 310.8 kB / 0.6704 GB, free: 484 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.1353, allocations: 3.938 kB / 0.6704 GB, free: 480 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.1354, allocations: 0 / 0.6704 GB, free: 480 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.1354, allocations: 75.28 kB / 0.6704 GB, free: 404 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.1354, allocations: 83.31 kB / 0.6705 GB, free: 320 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.881e-05/0.1355, allocations: 29.69 kB / 0.6706 GB, free: 284 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.1355, allocations: 85.31 kB / 0.6706 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.1355, allocations: 87.16 kB / 0.6707 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.26e-05/0.1356, allocations: 154.6 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.1356, allocations: 75.28 kB / 0.6709 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.292e-05/0.1357, allocations: 154.5 kB / 0.6711 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1358, allocations: 87.22 kB / 0.6712 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1358, allocations: 79.22 kB / 0.6712 GB, free: 15.57 MB / 0.5137 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 9.431e-05/0.1359, allocations: 268.4 kB / 0.6715 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.136, allocations: 101 kB / 0.6716 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.136, allocations: 112.2 kB / 0.6717 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.1361, allocations: 184.3 kB / 0.6719 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-05/0.1361, allocations: 180.3 kB / 0.672 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/0.1362, allocations: 184.2 kB / 0.6722 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1364, allocations: 397.2 kB / 0.6726 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.1364, allocations: 108.9 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1364, allocations: 105 kB / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.554e-05/0.1365, allocations: 180.3 kB / 0.673 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.1365, allocations: 184.1 kB / 0.6732 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-05/0.1366, allocations: 184.3 kB / 0.6733 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.074e-05/0.1366, allocations: 184.2 kB / 0.6735 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/0.1368, allocations: 303.8 kB / 0.6738 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.1368, allocations: 186 kB / 0.674 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.1369, allocations: 180.2 kB / 0.6741 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.1369, allocations: 112.9 kB / 0.6743 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.137, allocations: 176.3 kB / 0.6744 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.137, allocations: 101 kB / 0.6745 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.1371, allocations: 83.28 kB / 0.6746 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.473e-06/0.1371, allocations: 0 / 0.6746 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002332/0.1373, allocations: 3.938 kB / 0.6746 GB, free: 11.89 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.0002405/0.1376, allocations: 195.8 kB / 0.6748 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.902e-05/0.1376, allocations: 3.938 kB / 0.6748 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1376, allocations: 4.094 kB / 0.6748 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.1376, allocations: 0 / 0.6748 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1379, allocations: 459.7 kB / 0.6752 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.1381, allocations: 186.4 kB / 0.6754 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.1383, allocations: 0.6729 MB / 0.6761 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.1383, allocations: 15.38 kB / 0.6761 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1383, allocations: 0 / 0.6761 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.001486/0.1398, allocations: 493.4 kB / 0.6766 GB, free: 9.828 MB / 0.5137 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++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.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