Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001434/0.001434, allocations: 107.7 kB / 16.41 MB, free: 6.441 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.001535/0.001535, allocations: 185.6 kB / 17.34 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.84 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003093/0.1679, allocations: 1.251 MB / 0.6616 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1694, allocations: 0.7273 MB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.1694, allocations: 0 / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.1695, allocations: 4 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1698, allocations: 11.92 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.486e-05/0.1699, allocations: 0 / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.17, allocations: 15.92 kB / 0.6623 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.1701, allocations: 8 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1701, allocations: 0 / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.1707, allocations: 11.98 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1707, allocations: 0 / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.1708, allocations: 11.98 kB / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1708, allocations: 0 / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.1708, allocations: 3.938 kB / 0.6623 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.171, allocations: 15.97 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.171, allocations: 0 / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.859e-06/0.171, allocations: 0 / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.171, allocations: 3.938 kB / 0.6624 GB, free: 8.176 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.0004136/0.1714, allocations: 317.9 kB / 0.6627 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1715, allocations: 12.03 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/0.1716, allocations: 84.2 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1718, allocations: 235.7 kB / 0.663 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.1719, allocations: 150.9 kB / 0.6631 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.172, allocations: 154.9 kB / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.1721, allocations: 101.5 kB / 0.6634 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/0.1722, allocations: 83.47 kB / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.1723, allocations: 154.5 kB / 0.6636 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.1723, allocations: 150.6 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.1724, allocations: 154.5 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.1728, allocations: 445.9 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.173, allocations: 173.1 kB / 0.6645 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.173, allocations: 80.14 kB / 0.6646 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1731, allocations: 79.22 kB / 0.6646 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.1731, allocations: 109.8 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.1731, allocations: 0 / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001308/0.1733, allocations: 33.64 kB / 0.6648 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.1734, allocations: 134.7 kB / 0.6649 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1735, allocations: 97.84 kB / 0.665 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1736, allocations: 25.7 kB / 0.665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1736, allocations: 80.14 kB / 0.6651 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-06/0.1736, allocations: 0 / 0.6651 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1737, allocations: 13.66 kB / 0.6651 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1738, allocations: 323 kB / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-06/0.1739, allocations: 0 / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.1739, allocations: 0 / 0.6654 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.1739, allocations: 75.28 kB / 0.6655 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.329e-05/0.174, allocations: 75.28 kB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.522e-05/0.174, allocations: 37.62 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.1741, allocations: 79.28 kB / 0.6657 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.1741, allocations: 79.22 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.152e-05/0.1742, allocations: 170.6 kB / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.1743, allocations: 75.28 kB / 0.666 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.768e-05/0.1744, allocations: 150.6 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1745, allocations: 87.22 kB / 0.6662 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.1746, allocations: 79.27 kB / 0.6663 GB, free: 3.922 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.0001544/0.1748, allocations: 261.3 kB / 0.6665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1749, allocations: 108.9 kB / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.1749, allocations: 108.2 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.852e-05/0.175, allocations: 184.2 kB / 0.6669 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.93e-05/0.1751, allocations: 184.2 kB / 0.6671 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-05/0.1752, allocations: 180.3 kB / 0.6673 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.1756, allocations: 401.2 kB / 0.6676 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.998e-05/0.1756, allocations: 105 kB / 0.6677 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.1757, allocations: 108.9 kB / 0.6678 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.1758, allocations: 180.3 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/0.1759, allocations: 180.2 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-05/0.176, allocations: 188.2 kB / 0.6684 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.558e-05/0.1761, allocations: 184.3 kB / 0.6685 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1763, allocations: 311.7 kB / 0.6688 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1764, allocations: 178.1 kB / 0.669 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.1765, allocations: 188.1 kB / 0.6692 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1767, allocations: 105 kB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1768, allocations: 184.2 kB / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.1769, allocations: 105 kB / 0.6696 GB, free: 332 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.1769, allocations: 83.22 kB / 0.6696 GB, free: 248 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1769, allocations: 0 / 0.6696 GB, free: 248 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004473/0.1774, allocations: 0 / 0.6696 GB, free: 248 kB / 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.0004169/0.1778, allocations: 200.3 kB / 0.6698 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.1779, allocations: 0 / 0.6698 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1779, allocations: 4 kB / 0.6698 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.1779, allocations: 3.938 kB / 0.6698 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.1785, allocations: 455.7 kB / 0.6703 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1789, allocations: 186.5 kB / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1792, allocations: 0.6729 MB / 0.6711 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.1793, allocations: 11.44 kB / 0.6711 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1793, allocations: 0 / 0.6711 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.002738/0.182, allocations: 475.1 kB / 0.6716 GB, free: 14.19 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1