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.001176/0.001176, allocations: 105.3 kB / 16.41 MB, free: 6.461 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.001233/0.001233, allocations: 189.7 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7083/0.7083, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.19 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001937/0.1226, allocations: 1.241 MB / 0.6665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.1235, allocations: 0.7197 MB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.1235, allocations: 0 / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.1236, allocations: 7.938 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1238, allocations: 15.91 kB / 0.6672 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.427e-05/0.1239, allocations: 8 kB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.1239, allocations: 4 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.124, allocations: 11.98 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.124, allocations: 3.938 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1241, allocations: 5.875 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1241, allocations: 0 / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.1242, allocations: 15.97 kB / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.1242, allocations: 0 / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.1242, allocations: 0 / 0.6673 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.215e-05/0.1243, allocations: 15.94 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1243, allocations: 4 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1243, allocations: 0 / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1243, allocations: 3.984 kB / 0.6673 GB, free: 3.719 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.0002731/0.1246, allocations: 315.4 kB / 0.6676 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1247, allocations: 13.05 kB / 0.6676 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.1247, allocations: 80.22 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1249, allocations: 239.7 kB / 0.6679 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.1249, allocations: 162.9 kB / 0.6681 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.125, allocations: 154.9 kB / 0.6682 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.521e-05/0.125, allocations: 101.5 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.125, allocations: 79.47 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.1251, allocations: 154.5 kB / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.1251, allocations: 150.6 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.1252, allocations: 154.6 kB / 0.6688 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1254, allocations: 449.9 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.1255, allocations: 169.1 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.1255, allocations: 80.14 kB / 0.6695 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1255, allocations: 79.28 kB / 0.6696 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1256, allocations: 105.8 kB / 0.6697 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1256, allocations: 0 / 0.6697 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.462e-05/0.1256, allocations: 37.58 kB / 0.6697 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1257, allocations: 130.7 kB / 0.6699 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.1258, allocations: 97.84 kB / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1258, allocations: 29.83 kB / 0.67 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.1258, allocations: 80.14 kB / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.1258, allocations: 0 / 0.67 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1259, allocations: 9.719 kB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.126, allocations: 318.8 kB / 0.6704 GB, free: 376 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.126, allocations: 3.938 kB / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.126, allocations: 0 / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.126, allocations: 75.28 kB / 0.6704 GB, free: 296 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.126, allocations: 79.31 kB / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.984e-05/0.1261, allocations: 33.64 kB / 0.6705 GB, free: 176 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1261, allocations: 83.27 kB / 0.6706 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.1262, allocations: 79.22 kB / 0.6707 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.209e-05/0.1262, allocations: 158.6 kB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.1263, allocations: 79.22 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.009e-05/0.1263, allocations: 158.5 kB / 0.6711 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1264, allocations: 91.22 kB / 0.6712 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.1264, allocations: 75.28 kB / 0.6712 GB, free: 15.46 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 8.977e-05/0.1265, allocations: 260.4 kB / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1266, allocations: 105 kB / 0.6716 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.1266, allocations: 112.2 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/0.1267, allocations: 188.3 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-05/0.1267, allocations: 180.2 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/0.1268, allocations: 184.2 kB / 0.6722 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.127, allocations: 397.2 kB / 0.6726 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.127, allocations: 108.9 kB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.127, allocations: 109 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.947e-05/0.1271, allocations: 184.2 kB / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.1271, allocations: 180.2 kB / 0.6732 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.976e-05/0.1272, allocations: 176.3 kB / 0.6733 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-05/0.1272, allocations: 188.2 kB / 0.6735 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1274, allocations: 311.8 kB / 0.6738 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1274, allocations: 178.1 kB / 0.674 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.1275, allocations: 180.2 kB / 0.6741 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1275, allocations: 104.9 kB / 0.6742 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.1276, allocations: 188.2 kB / 0.6744 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.1276, allocations: 104.9 kB / 0.6745 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.1277, allocations: 83.28 kB / 0.6746 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1277, allocations: 0 / 0.6746 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002343/0.1279, allocations: 0 / 0.6746 GB, free: 11.78 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.0002357/0.1282, allocations: 191.8 kB / 0.6748 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.738e-05/0.1282, allocations: 7.938 kB / 0.6748 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1282, allocations: 4.094 kB / 0.6748 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1282, allocations: 0 / 0.6748 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1285, allocations: 465.5 kB / 0.6752 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.1287, allocations: 182.4 kB / 0.6754 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1289, allocations: 0.6768 MB / 0.6761 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.129, allocations: 11.44 kB / 0.6761 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.129, allocations: 0 / 0.6761 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.001497/0.1305, allocations: 486.5 kB / 0.6765 GB, free: 9.723 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