Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001126/0.001126, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.00115/0.00115, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.496/1.496, 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.8671/0.8671, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.45 kB / 0.582 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1725, allocations: 80.21 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006826/0.1794, allocations: 4.028 MB / 0.6642 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5335/0.713, allocations: 150.4 MB / 0.8112 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.7137, allocations: 18.06 kB / 0.8112 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.7144, allocations: 157.6 kB / 0.8113 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.7159, allocations: 453.2 kB / 0.8118 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.7177, allocations: 0.7146 MB / 0.8125 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.7189, allocations: 1.083 MB / 0.8135 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.7196, allocations: 0.5018 MB / 0.814 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.7202, allocations: 365.7 kB / 0.8143 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.7207, allocations: 367 kB / 0.8147 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.7209, allocations: 82.97 kB / 0.8148 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.7216, allocations: 388.7 kB / 0.8151 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.7218, allocations: 236.1 kB / 0.8154 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.7222, allocations: 430.6 kB / 0.8158 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.7236, allocations: 1.271 MB / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7237, allocations: 0 / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7237, allocations: 0 / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.7237, allocations: 0 / 0.817 GB, free: 10.37 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.002015/0.7257, allocations: 1.174 MB / 0.8182 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7258, allocations: 14.81 kB / 0.8182 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.7261, allocations: 101.3 kB / 0.8183 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.727, allocations: 0.673 MB / 0.8189 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.7271, allocations: 47.75 kB / 0.819 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.7271, allocations: 59.84 kB / 0.819 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.7281, allocations: 0.7012 MB / 0.8197 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.7281, allocations: 3.984 kB / 0.8197 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.7282, allocations: 31.61 kB / 0.8198 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.7282, allocations: 15.5 kB / 0.8198 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.7293, allocations: 0.927 MB / 0.8207 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.7321, allocations: 2.314 MB / 0.8229 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.733, allocations: 0.5976 MB / 0.8235 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.7333, allocations: 232.3 kB / 0.8237 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.7333, allocations: 22.42 kB / 0.8238 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.7339, allocations: 357.7 kB / 0.8241 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.964e-06/0.7339, allocations: 2.75 kB / 0.8241 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001138/0.735, allocations: 0.7078 MB / 0.8248 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.7351, allocations: 239.1 kB / 0.825 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.7358, allocations: 0.5877 MB / 0.8256 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.7358, allocations: 37.02 kB / 0.8256 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.7361, allocations: 336.8 kB / 0.826 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.7362, allocations: 202.7 kB / 0.8262 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.7364, allocations: 139.4 kB / 0.8263 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7365, allocations: 373.2 kB / 0.8266 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.7368, allocations: 192.9 kB / 0.8268 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.7372, allocations: 285.5 kB / 0.8271 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.7379, allocations: 484.8 kB / 0.8276 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7379, allocations: 2.781 kB / 0.8276 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000885/0.7388, allocations: 0.6034 MB / 0.8282 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7388, allocations: 4.812 kB / 0.8282 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7388, allocations: 2.656 kB / 0.8282 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.7388, allocations: 4.703 kB / 0.8282 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.7393, allocations: 134.4 kB / 0.8283 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7393, allocations: 1.812 kB / 0.8283 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.7398, allocations: 77.06 kB / 0.8284 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.7399, allocations: 28.3 kB / 0.8284 GB, free: 2.793 MB / 0.5919 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.0002883/0.7402, allocations: 255.4 kB / 0.8286 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.7403, allocations: 70.44 kB / 0.8287 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7415, allocations: 0.7451 MB / 0.8294 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7415, allocations: 7.781 kB / 0.8294 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.7416, allocations: 2.25 kB / 0.8294 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7416, allocations: 3.984 kB / 0.8294 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.7425, allocations: 0.8901 MB / 0.8303 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7425, allocations: 2.75 kB / 0.8303 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.7429, allocations: 117.9 kB / 0.8304 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.743, allocations: 2.812 kB / 0.8304 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.743, allocations: 19.36 kB / 0.8305 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.743, allocations: 2.688 kB / 0.8305 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.743, allocations: 2.562 kB / 0.8305 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.7439, allocations: 0.6396 MB / 0.8311 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.7442, allocations: 239 kB / 0.8313 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7443, allocations: 20.95 kB / 0.8313 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.7447, allocations: 46.62 kB / 0.8314 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/0.7448, allocations: 52.91 kB / 0.8314 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.7449, allocations: 30.27 kB / 0.8315 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004777/0.7453, allocations: 429.8 kB / 0.8319 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7453, allocations: 0 / 0.8319 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006488/0.746, allocations: 246.1 kB / 0.8321 GB, free: 432 kB / 0.5919 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.001303/0.7473, allocations: 0.5979 MB / 0.8327 GB, free: 196 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.7482, allocations: 0.5054 MB / 0.8332 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7482, allocations: 0 / 0.8332 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.7485, allocations: 280.1 kB / 0.8334 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.7495, allocations: 253.3 kB / 0.8337 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.7517, allocations: 1.334 MB / 0.835 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.7522, allocations: 0.9504 MB / 0.8359 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.7524, allocations: 99.77 kB / 0.836 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.7525, allocations: 0 / 0.836 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01933/0.7718, allocations: 12.51 MB / 0.8482 GB, free: 4.184 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.cpp:7: /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.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1