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.001628/0.001628, allocations: 100.1 kB / 15.88 MB, free: 12 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.001949/0.001949, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9602/0.9602, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.45 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1786, allocations: 80.93 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005654/0.1843, allocations: 4.04 MB / 0.5883 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4916/0.676, allocations: 148.1 MB / 0.7329 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.6769, allocations: 15.59 kB / 0.7329 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.6776, allocations: 134.1 kB / 0.7331 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.6792, allocations: 383.6 kB / 0.7334 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6809, allocations: 0.6178 MB / 0.734 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.6822, allocations: 1.004 MB / 0.735 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.6831, allocations: 489.7 kB / 0.7355 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.6837, allocations: 307 kB / 0.7358 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.6842, allocations: 349.3 kB / 0.7361 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6844, allocations: 37.5 kB / 0.7362 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.6853, allocations: 318.7 kB / 0.7365 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6856, allocations: 183.3 kB / 0.7366 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.6861, allocations: 383.1 kB / 0.737 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6872, allocations: 0.9303 MB / 0.7379 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6872, allocations: 0 / 0.7379 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6872, allocations: 0 / 0.7379 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.6872, allocations: 0 / 0.7379 GB, free: 11.91 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.002155/0.6894, allocations: 1.184 MB / 0.7391 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6894, allocations: 9.656 kB / 0.7391 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.6898, allocations: 99.28 kB / 0.7392 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.6908, allocations: 0.6595 MB / 0.7398 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.6908, allocations: 56.36 kB / 0.7399 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6909, allocations: 57.38 kB / 0.7399 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6924, allocations: 0.6992 MB / 0.7406 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.6924, allocations: 5.906 kB / 0.7406 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.6925, allocations: 32.09 kB / 0.7406 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6925, allocations: 14.97 kB / 0.7407 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.6939, allocations: 0.9187 MB / 0.7415 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.6973, allocations: 2.339 MB / 0.7438 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/0.6983, allocations: 0.6043 MB / 0.7444 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.6986, allocations: 222.3 kB / 0.7446 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.6987, allocations: 29.42 kB / 0.7447 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.6994, allocations: 345.3 kB / 0.745 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.6994, allocations: 0 / 0.745 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.00136/0.7007, allocations: 0.7111 MB / 0.7457 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.7009, allocations: 241.5 kB / 0.7459 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.7016, allocations: 0.5919 MB / 0.7465 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.7017, allocations: 39.3 kB / 0.7465 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.702, allocations: 329.8 kB / 0.7468 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.7022, allocations: 206.2 kB / 0.747 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.7024, allocations: 139 kB / 0.7472 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7026, allocations: 374.5 kB / 0.7475 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.7029, allocations: 193 kB / 0.7477 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.7033, allocations: 298 kB / 0.748 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.704, allocations: 473.5 kB / 0.7485 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.704, allocations: 0 / 0.7485 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009889/0.705, allocations: 0.6004 MB / 0.749 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7051, allocations: 8 kB / 0.749 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.7051, allocations: 3.984 kB / 0.7491 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.7051, allocations: 4.156 kB / 0.7491 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.7056, allocations: 127.8 kB / 0.7492 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7056, allocations: 8 kB / 0.7492 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.7062, allocations: 79.33 kB / 0.7493 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.7062, allocations: 27.98 kB / 0.7493 GB, free: 3.922 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.0003555/0.7066, allocations: 245.6 kB / 0.7495 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.7068, allocations: 71.16 kB / 0.7496 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.7082, allocations: 0.7501 MB / 0.7503 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7082, allocations: 4 kB / 0.7503 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7082, allocations: 8 kB / 0.7503 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.7082, allocations: 3.984 kB / 0.7503 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.7093, allocations: 0.8857 MB / 0.7512 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7093, allocations: 0 / 0.7512 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.7097, allocations: 120.7 kB / 0.7513 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7097, allocations: 4 kB / 0.7513 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.7097, allocations: 15.98 kB / 0.7513 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7098, allocations: 4 kB / 0.7513 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7098, allocations: 5.062 kB / 0.7513 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.7108, allocations: 0.6495 MB / 0.752 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.7111, allocations: 236 kB / 0.7522 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7112, allocations: 19 kB / 0.7522 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.7116, allocations: 50.34 kB / 0.7523 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.7117, allocations: 56.52 kB / 0.7523 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.7118, allocations: 23.98 kB / 0.7523 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005114/0.7123, allocations: 427.1 kB / 0.7528 GB, free: 284 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.7528 GB, free: 284 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007227/0.713, allocations: 247.5 kB / 0.753 GB, free: 36 kB / 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.001386/0.7144, allocations: 0.5947 MB / 0.7536 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00087/0.7153, allocations: 0.5011 MB / 0.7541 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7153, allocations: 0 / 0.7541 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.7158, allocations: 279.6 kB / 0.7543 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7168, allocations: 233 kB / 0.7545 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.7192, allocations: 1.659 MB / 0.7562 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.7199, allocations: 0.9484 MB / 0.7571 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.7201, allocations: 103.4 kB / 0.7572 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.7201, allocations: 3.938 kB / 0.7572 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.01891/0.739, allocations: 12.29 MB / 0.7692 GB, free: 15.69 MB / 0.5919 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