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.001689/0.001689, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001957/0.001957, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8289/0.8289, allocations: 135.1 MB / 426.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3353, allocations: 80.9 MB / 0.585 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002035/0.3374, allocations: 1.243 MB / 0.5862 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.3383, allocations: 0.7207 MB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.3383, allocations: 0.5 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.3383, allocations: 0.9062 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3386, allocations: 24.81 kB / 0.587 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.379e-05/0.3387, allocations: 10.66 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.3387, allocations: 5.062 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.3388, allocations: 5.328 kB / 0.587 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.145e-05/0.3388, allocations: 7.031 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.339, allocations: 7.703 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.339, allocations: 0.7188 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.3391, allocations: 4.75 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.3391, allocations: 7.531 kB / 0.587 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3391, allocations: 4.703 kB / 0.587 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.3392, allocations: 13.89 kB / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3392, allocations: 0.7188 kB / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3392, allocations: 0 / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3393, allocations: 1.75 kB / 0.587 GB, free: 23.84 MB / 446.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.0002301/0.3395, allocations: 316.8 kB / 0.5873 GB, free: 23.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3395, allocations: 14.02 kB / 0.5873 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.3396, allocations: 87.44 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3397, allocations: 236.9 kB / 0.5876 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3397, allocations: 150.9 kB / 0.5878 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3398, allocations: 153.1 kB / 0.5879 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.797e-05/0.3398, allocations: 103.5 kB / 0.588 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3398, allocations: 75.97 kB / 0.5881 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.3399, allocations: 156.1 kB / 0.5883 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3399, allocations: 152.1 kB / 0.5884 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.3399, allocations: 155.5 kB / 0.5885 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.3401, allocations: 449.7 kB / 0.589 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.3401, allocations: 166.5 kB / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.3402, allocations: 85.55 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3402, allocations: 76.56 kB / 0.5893 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3402, allocations: 110.7 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3402, allocations: 1.531 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.582e-05/0.3403, allocations: 35.34 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3403, allocations: 132.1 kB / 0.5896 GB, free: 21.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.3404, allocations: 93.86 kB / 0.5896 GB, free: 20.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.3404, allocations: 26.83 kB / 0.5897 GB, free: 20.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.3404, allocations: 85.42 kB / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.3405, allocations: 0.625 kB / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.3405, allocations: 11.56 kB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.3405, allocations: 313.2 kB / 0.5901 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.3405, allocations: 0 / 0.5901 GB, free: 20.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.3406, allocations: 5.203 kB / 0.5901 GB, free: 20.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.342e-05/0.3406, allocations: 77.5 kB / 0.5901 GB, free: 20.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3406, allocations: 79.75 kB / 0.5902 GB, free: 20.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.776e-05/0.3406, allocations: 32.77 kB / 0.5902 GB, free: 20.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3407, allocations: 83.38 kB / 0.5903 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3407, allocations: 80.59 kB / 0.5904 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.3407, allocations: 161.2 kB / 0.5906 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.165e-05/0.3407, allocations: 75.28 kB / 0.5906 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.3408, allocations: 156.6 kB / 0.5908 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3409, allocations: 82.17 kB / 0.5909 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3409, allocations: 80.61 kB / 0.5909 GB, free: 19.66 MB / 446.1 MB 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 5.977e-05/0.341, allocations: 265.3 kB / 0.5912 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.341, allocations: 112.3 kB / 0.5913 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.3411, allocations: 109.3 kB / 0.5914 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.3411, allocations: 185.2 kB / 0.5916 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/0.3411, allocations: 178.5 kB / 0.5917 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.3411, allocations: 177.6 kB / 0.5919 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.3413, allocations: 408 kB / 0.5923 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.3413, allocations: 102.4 kB / 0.5924 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.3413, allocations: 107.5 kB / 0.5925 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.213e-05/0.3413, allocations: 177.4 kB / 0.5927 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3414, allocations: 186.2 kB / 0.5929 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.528e-05/0.3414, allocations: 185.5 kB / 0.593 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.169e-05/0.3414, allocations: 185.9 kB / 0.5932 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.561e-05/0.3415, allocations: 303.7 kB / 0.5935 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.3415, allocations: 179.5 kB / 0.5937 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3415, allocations: 197.4 kB / 0.5939 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/0.3416, allocations: 102.5 kB / 0.594 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.3416, allocations: 180.2 kB / 0.5941 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3417, allocations: 103.1 kB / 0.5942 GB, free: 16.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.3417, allocations: 78.09 kB / 0.5943 GB, free: 16.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3417, allocations: 1.281 kB / 0.5943 GB, free: 16.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.342, allocations: 2.562 kB / 0.5943 GB, free: 16.04 MB / 446.1 MB 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.0002274/0.3422, allocations: 193.2 kB / 0.5945 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.734e-05/0.3423, allocations: 9.406 kB / 0.5945 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3423, allocations: 0 / 0.5945 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3423, allocations: 1.375 kB / 0.5945 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3425, allocations: 456.2 kB / 0.5949 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.3428, allocations: 174.7 kB / 0.5951 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.3429, allocations: 0.6778 MB / 0.5958 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.3429, allocations: 13.38 kB / 0.5958 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3429, allocations: 0.9375 kB / 0.5958 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Templates: time 0.001641/0.3445, allocations: 481.9 kB / 0.5962 GB, free: 14.3 MB / 446.1 MB 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