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.001224/0.001225, allocations: 105.6 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.001131/0.001131, allocations: 189.8 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 75.88 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3619, allocations: 80.91 MB / 0.5851 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005139/0.3671, allocations: 4.021 MB / 0.589 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5466, allocations: 150.4 MB / 0.7359 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.5476, allocations: 23.88 kB / 0.7359 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.5481, allocations: 154.5 kB / 0.7361 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.5499, allocations: 454.9 kB / 0.7365 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.5517, allocations: 0.714 MB / 0.7372 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.553, allocations: 1.079 MB / 0.7382 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.5538, allocations: 0.4984 MB / 0.7387 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.5543, allocations: 358.7 kB / 0.7391 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.5548, allocations: 366.3 kB / 0.7394 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.555, allocations: 84 kB / 0.7395 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.5558, allocations: 363.7 kB / 0.7399 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.556, allocations: 231.3 kB / 0.7401 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.5565, allocations: 429.7 kB / 0.7405 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.558, allocations: 1.227 MB / 0.7417 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5581, allocations: 4 kB / 0.7417 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5581, allocations: 4 kB / 0.7417 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5581, allocations: 0 / 0.7417 GB, free: 9.602 MB / 0.5762 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.001925/0.56, allocations: 1.177 MB / 0.7428 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5601, allocations: 9.109 kB / 0.7428 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.5604, allocations: 99.81 kB / 0.7429 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.5613, allocations: 0.656 MB / 0.7436 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.5614, allocations: 49.31 kB / 0.7436 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.5615, allocations: 64 kB / 0.7437 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.5627, allocations: 0.7009 MB / 0.7444 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5627, allocations: 3.938 kB / 0.7444 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.5628, allocations: 28 kB / 0.7444 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.5628, allocations: 16 kB / 0.7444 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.5641, allocations: 0.922 MB / 0.7453 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.5676, allocations: 2.355 MB / 0.7476 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5686, allocations: 0.6006 MB / 0.7482 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.569, allocations: 223.3 kB / 0.7484 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.5691, allocations: 20.61 kB / 0.7484 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.5697, allocations: 354.4 kB / 0.7488 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.5697, allocations: 0 / 0.7488 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001362/0.5711, allocations: 0.702 MB / 0.7495 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.5713, allocations: 243.8 kB / 0.7497 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.5721, allocations: 0.59 MB / 0.7503 GB, free: 488 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.5722, allocations: 37.7 kB / 0.7503 GB, free: 444 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.5725, allocations: 344.5 kB / 0.7506 GB, free: 92 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2504/0.8229, allocations: 191.6 kB / 0.7508 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.8232, allocations: 140.2 kB / 0.751 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8233, allocations: 379.3 kB / 0.7513 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.8237, allocations: 190.2 kB / 0.7515 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.8241, allocations: 293.6 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.8248, allocations: 477.3 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8248, allocations: 1.625 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009914/0.8258, allocations: 0.601 MB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8258, allocations: 6.625 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8258, allocations: 1.672 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.8258, allocations: 4.781 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.8263, allocations: 134.4 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8263, allocations: 5.594 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.8268, allocations: 69.45 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.8269, allocations: 33.5 kB / 0.7531 GB, free: 164.9 MB / 0.5762 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.0002893/0.8272, allocations: 242.4 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8273, allocations: 74.86 kB / 0.7534 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.8286, allocations: 0.7467 MB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.8287, allocations: 8.219 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.8287, allocations: 5.594 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.8287, allocations: 5.609 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.8296, allocations: 0.885 MB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.8296, allocations: 0 / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.83, allocations: 126.2 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.83, allocations: 7.875 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.8301, allocations: 18.92 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.8301, allocations: 2.969 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8301, allocations: 3.312 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.8311, allocations: 0.6328 MB / 0.7557 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.8313, allocations: 241.6 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.8314, allocations: 19.06 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.8318, allocations: 43.92 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.8319, allocations: 51.47 kB / 0.7561 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.832, allocations: 28.91 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004946/0.8325, allocations: 430.7 kB / 0.7565 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.82e-07/0.8325, allocations: 0.625 kB / 0.7565 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007628/0.8333, allocations: 246.5 kB / 0.7568 GB, free: 163.1 MB / 0.5762 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.001749/0.835, allocations: 0.5945 MB / 0.7573 GB, free: 163 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.8365, allocations: 0.6573 MB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8365, allocations: 0.5312 kB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.8368, allocations: 280 kB / 0.7582 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/0.8378, allocations: 260.8 kB / 0.7585 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.8396, allocations: 1.351 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8399, allocations: 0.9555 MB / 0.7608 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.8401, allocations: 101.8 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.8401, allocations: 0 / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01253/0.8527, allocations: 12.31 MB / 0.7729 GB, free: 150.1 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++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