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.0009738/0.000974, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 181.6 kB / 16.92 MB, free: 6.922 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.894/0.894, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 11.94 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 82.3 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004583/0.1711, allocations: 3.628 MB / 0.5922 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4212/0.5924, allocations: 146.5 MB / 0.7352 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006844/0.5931, allocations: 13.53 kB / 0.7353 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.5937, allocations: 130 kB / 0.7354 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.5953, allocations: 391.6 kB / 0.7358 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.5971, allocations: 0.6132 MB / 0.7364 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.5985, allocations: 1.005 MB / 0.7373 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.5994, allocations: 486.2 kB / 0.7378 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.5999, allocations: 259.5 kB / 0.738 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.6005, allocations: 278.6 kB / 0.7383 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.6007, allocations: 18.69 kB / 0.7383 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.6015, allocations: 301.6 kB / 0.7386 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.6018, allocations: 147.8 kB / 0.7388 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.6023, allocations: 366.7 kB / 0.7391 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.6037, allocations: 0.9086 MB / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6037, allocations: 1.156 kB / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6037, allocations: 0 / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.966e-05/0.6037, allocations: 0 / 0.74 GB, free: 12.55 MB / 0.5606 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.002251/0.606, allocations: 1.013 MB / 0.741 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.606, allocations: 8.844 kB / 0.741 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.6065, allocations: 101 kB / 0.7411 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6076, allocations: 0.6574 MB / 0.7417 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.6077, allocations: 45.78 kB / 0.7418 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.6078, allocations: 64.53 kB / 0.7418 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6091, allocations: 0.6989 MB / 0.7425 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6091, allocations: 0 / 0.7425 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.6092, allocations: 31.91 kB / 0.7426 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.6093, allocations: 19.56 kB / 0.7426 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6105, allocations: 0.9193 MB / 0.7435 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.614, allocations: 2.378 MB / 0.7458 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.615, allocations: 0.5897 MB / 0.7464 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.6153, allocations: 226 kB / 0.7466 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.6154, allocations: 28.94 kB / 0.7466 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.6159, allocations: 348.4 kB / 0.7469 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.575e-06/0.616, allocations: 0 / 0.7469 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001152/0.6171, allocations: 0.7072 MB / 0.7476 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6172, allocations: 242.3 kB / 0.7479 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.618, allocations: 0.5885 MB / 0.7484 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.618, allocations: 41.25 kB / 0.7485 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.6183, allocations: 340.8 kB / 0.7488 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6184, allocations: 204.6 kB / 0.749 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.6185, allocations: 57.69 kB / 0.7491 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6187, allocations: 377.3 kB / 0.7494 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.619, allocations: 185.2 kB / 0.7496 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.6194, allocations: 294.2 kB / 0.7499 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.62, allocations: 478.8 kB / 0.7503 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.62, allocations: 4 kB / 0.7503 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008904/0.6209, allocations: 0.5959 MB / 0.7509 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6209, allocations: 8.734 kB / 0.7509 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.621, allocations: 1.906 kB / 0.7509 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.621, allocations: 4.438 kB / 0.7509 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.6214, allocations: 125.2 kB / 0.751 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.6215, allocations: 4.5 kB / 0.7511 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.6221, allocations: 89.58 kB / 0.7511 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.6222, allocations: 34.58 kB / 0.7512 GB, free: 5.238 MB / 0.5606 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.0003503/0.6225, allocations: 243.9 kB / 0.7514 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6227, allocations: 72.05 kB / 0.7515 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.624, allocations: 0.7529 MB / 0.7522 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.624, allocations: 11.94 kB / 0.7522 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6241, allocations: 0 / 0.7522 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6241, allocations: 3.984 kB / 0.7522 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.6251, allocations: 0.8896 MB / 0.7531 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6251, allocations: 0 / 0.7531 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.6255, allocations: 119.8 kB / 0.7532 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6256, allocations: 4 kB / 0.7532 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.6256, allocations: 19.92 kB / 0.7532 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6256, allocations: 4 kB / 0.7532 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6256, allocations: 2.875 kB / 0.7532 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.6265, allocations: 0.6418 MB / 0.7539 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.6269, allocations: 251.9 kB / 0.7541 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.627, allocations: 15.94 kB / 0.7541 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.6274, allocations: 59.95 kB / 0.7542 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6275, allocations: 52.52 kB / 0.7542 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.6276, allocations: 23.98 kB / 0.7542 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005096/0.6281, allocations: 435 kB / 0.7547 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6281, allocations: 0 / 0.7547 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007791/0.6289, allocations: 243.5 kB / 0.7549 GB, free: 1.605 MB / 0.5606 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.001359/0.6303, allocations: 0.5867 MB / 0.7555 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008182/0.6311, allocations: 0.4969 MB / 0.756 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6311, allocations: 0 / 0.756 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.6315, allocations: 279.6 kB / 0.7562 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6326, allocations: 240.4 kB / 0.7564 GB, free: 232 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.6349, allocations: 1.683 MB / 0.7581 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.6355, allocations: 0.9562 MB / 0.759 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.6357, allocations: 99.39 kB / 0.7591 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6358, allocations: 4 kB / 0.7591 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.01794/0.6537, allocations: 12.19 MB / 0.771 GB, free: 1.32 MB / 0.5762 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++14 -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