Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 110.4 kB / 16.41 MB, free: 6.504 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.001827/0.001827, allocations: 183 kB / 17.34 MB, free: 5.762 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8532/0.8532, allocations: 135.2 MB / 426.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 62.7 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1922, allocations: 80.94 MB / 0.6654 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006731/0.1989, allocations: 4.021 MB / 0.6693 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.629/0.8279, allocations: 150.9 MB / 0.8166 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.8288, allocations: 19.34 kB / 0.8167 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.8294, allocations: 159.5 kB / 0.8168 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.831, allocations: 462.5 kB / 0.8172 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.8327, allocations: 0.7168 MB / 0.8179 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.8339, allocations: 1.074 MB / 0.819 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006326/0.8345, allocations: 368.2 kB / 0.8193 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.835, allocations: 361.1 kB / 0.8197 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.8355, allocations: 369.9 kB / 0.82 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.8356, allocations: 87.75 kB / 0.8201 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.8364, allocations: 390 kB / 0.8205 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.8366, allocations: 232.3 kB / 0.8207 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.837, allocations: 427.3 kB / 0.8211 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.8387, allocations: 1.275 MB / 0.8224 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8387, allocations: 0 / 0.8224 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8387, allocations: 2.062 kB / 0.8224 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.8387, allocations: 0 / 0.8224 GB, free: 5.941 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001975/0.8407, allocations: 1.21 MB / 0.8236 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8407, allocations: 11.58 kB / 0.8236 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.8411, allocations: 113.1 kB / 0.8237 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.8422, allocations: 0.6817 MB / 0.8243 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.8423, allocations: 46.69 kB / 0.8244 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.8423, allocations: 59.56 kB / 0.8244 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.8435, allocations: 0.7059 MB / 0.8251 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.8435, allocations: 0 / 0.8251 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.8435, allocations: 30.25 kB / 0.8252 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.8436, allocations: 15.12 kB / 0.8252 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.8448, allocations: 0.9212 MB / 0.8261 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.8482, allocations: 2.322 MB / 0.8283 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.8491, allocations: 0.568 MB / 0.8289 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.8494, allocations: 203.2 kB / 0.8291 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/0.8495, allocations: 33.69 kB / 0.8291 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006445/0.8501, allocations: 350.2 kB / 0.8295 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.803e-06/0.8501, allocations: 0 / 0.8295 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001319/0.8514, allocations: 0.7126 MB / 0.8302 GB, free: 388 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.8516, allocations: 237.9 kB / 0.8304 GB, free: 100 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.8524, allocations: 0.5981 MB / 0.831 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.8525, allocations: 35.64 kB / 0.831 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.8528, allocations: 335.6 kB / 0.8313 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.853, allocations: 217.7 kB / 0.8315 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8532, allocations: 136.5 kB / 0.8317 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.8535, allocations: 374.2 kB / 0.832 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.8538, allocations: 193.7 kB / 0.8322 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.8542, allocations: 294.6 kB / 0.8325 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.855, allocations: 476.5 kB / 0.8329 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.855, allocations: 0 / 0.8329 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009807/0.856, allocations: 0.6044 MB / 0.8335 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.856, allocations: 5.188 kB / 0.8335 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.856, allocations: 2.469 kB / 0.8335 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.856, allocations: 5.375 kB / 0.8335 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.8565, allocations: 124.4 kB / 0.8337 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8565, allocations: 9.047 kB / 0.8337 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.857, allocations: 81.81 kB / 0.8337 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.857, allocations: 26.3 kB / 0.8338 GB, free: 13.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003563/0.8574, allocations: 246.4 kB / 0.834 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.8575, allocations: 75.53 kB / 0.8341 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.8589, allocations: 0.7491 MB / 0.8348 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8589, allocations: 7.531 kB / 0.8348 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8589, allocations: 0 / 0.8348 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.859, allocations: 6.062 kB / 0.8348 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.86, allocations: 0.8952 MB / 0.8357 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.86, allocations: 6.734 kB / 0.8357 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.8604, allocations: 115.6 kB / 0.8358 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8604, allocations: 1.906 kB / 0.8358 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.8605, allocations: 19.89 kB / 0.8358 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8605, allocations: 4.422 kB / 0.8358 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8605, allocations: 0 / 0.8358 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.8615, allocations: 0.6492 MB / 0.8365 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.8619, allocations: 240.7 kB / 0.8367 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.862, allocations: 17.25 kB / 0.8367 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.8624, allocations: 43.05 kB / 0.8368 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.8625, allocations: 53.73 kB / 0.8368 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.8625, allocations: 40.64 kB / 0.8368 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005036/0.863, allocations: 429.7 kB / 0.8373 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.863, allocations: 0 / 0.8373 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007024/0.8637, allocations: 238.6 kB / 0.8375 GB, free: 11.42 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00191/0.8657, allocations: 0.5902 MB / 0.8381 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008343/0.8665, allocations: 494.8 kB / 0.8385 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8665, allocations: 4.062 kB / 0.8385 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.8669, allocations: 256.1 kB / 0.8388 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.8679, allocations: 260.1 kB / 0.839 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.8702, allocations: 1.359 MB / 0.8404 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.8709, allocations: 0.9535 MB / 0.8413 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.8711, allocations: 107.5 kB / 0.8414 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.8711, allocations: 0 / 0.8414 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.0205/0.8916, allocations: 12.41 MB / 0.8535 GB, free: 14.36 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-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.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.cpp:7: /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.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1