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.001381/0.001381, allocations: 112.6 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.001363/0.001363, allocations: 190.9 kB / 17.34 MB, free: 5.758 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7805/0.7805, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.44 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1869, allocations: 80.92 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006359/0.1933, allocations: 4.029 MB / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5875/0.7809, allocations: 150.4 MB / 0.8161 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.7818, allocations: 18.88 kB / 0.8161 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.7826, allocations: 158.5 kB / 0.8163 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.7847, allocations: 467.8 kB / 0.8167 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.7868, allocations: 0.7136 MB / 0.8174 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.7884, allocations: 1.087 MB / 0.8185 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009997/0.7894, allocations: 0.5006 MB / 0.819 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.7902, allocations: 365.8 kB / 0.8193 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.7911, allocations: 365 kB / 0.8197 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.7914, allocations: 83.81 kB / 0.8198 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.7924, allocations: 390.4 kB / 0.8201 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.7928, allocations: 232.5 kB / 0.8204 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.7935, allocations: 433.2 kB / 0.8208 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.7957, allocations: 1.26 MB / 0.822 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.7957, allocations: 7.984 kB / 0.822 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7957, allocations: 0 / 0.822 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.083e-05/0.7958, allocations: 0 / 0.822 GB, free: 6.203 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.002768/0.7985, allocations: 1.168 MB / 0.8232 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7986, allocations: 12.83 kB / 0.8232 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.799, allocations: 110.9 kB / 0.8233 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8004, allocations: 0.6808 MB / 0.8239 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.8005, allocations: 45.62 kB / 0.824 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8006, allocations: 58.88 kB / 0.824 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.8019, allocations: 0.7029 MB / 0.8247 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.802, allocations: 0 / 0.8247 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.802, allocations: 31.69 kB / 0.8248 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.8021, allocations: 18.41 kB / 0.8248 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.8036, allocations: 0.9161 MB / 0.8257 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.8073, allocations: 2.323 MB / 0.8279 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.8083, allocations: 0.5972 MB / 0.8285 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.8087, allocations: 223.6 kB / 0.8287 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.558e-05/0.8087, allocations: 32.95 kB / 0.8288 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.8093, allocations: 349.8 kB / 0.8291 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 3.516e-06/0.8093, allocations: 0 / 0.8291 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001354/0.8107, allocations: 0.7108 MB / 0.8298 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.8109, allocations: 241.2 kB / 0.83 GB, free: 412 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.8117, allocations: 0.5885 MB / 0.8306 GB, free: 52 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.8118, allocations: 38.48 kB / 0.8306 GB, free: 12 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.8121, allocations: 336.5 kB / 0.831 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.8123, allocations: 194.6 kB / 0.8311 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.8125, allocations: 144.2 kB / 0.8313 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.8127, allocations: 380 kB / 0.8316 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.813, allocations: 182.5 kB / 0.8318 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.8135, allocations: 293.3 kB / 0.8321 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.8142, allocations: 485.4 kB / 0.8326 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8142, allocations: 0 / 0.8326 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001109/0.8153, allocations: 0.5951 MB / 0.8331 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8154, allocations: 12.14 kB / 0.8331 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8154, allocations: 3.938 kB / 0.8332 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.8154, allocations: 5.125 kB / 0.8332 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.8159, allocations: 133.5 kB / 0.8333 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.816, allocations: 5.25 kB / 0.8333 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.8165, allocations: 70.77 kB / 0.8334 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.8166, allocations: 35.66 kB / 0.8334 GB, free: 14.14 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.0003798/0.817, allocations: 242.3 kB / 0.8336 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8172, allocations: 78.31 kB / 0.8337 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.8186, allocations: 0.7431 MB / 0.8344 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.8186, allocations: 8.188 kB / 0.8344 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.8186, allocations: 3.938 kB / 0.8344 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.8187, allocations: 7.969 kB / 0.8344 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8198, allocations: 0.8867 MB / 0.8353 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.8198, allocations: 0 / 0.8353 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.8202, allocations: 124.6 kB / 0.8354 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.8203, allocations: 6.719 kB / 0.8354 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.8203, allocations: 17.05 kB / 0.8354 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.8203, allocations: 4.969 kB / 0.8355 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8203, allocations: 0 / 0.8355 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.8213, allocations: 0.6322 MB / 0.8361 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.8217, allocations: 240.3 kB / 0.8363 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.8218, allocations: 17.03 kB / 0.8363 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.8223, allocations: 50.2 kB / 0.8364 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.8224, allocations: 51.53 kB / 0.8364 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.8225, allocations: 29.17 kB / 0.8364 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000526/0.823, allocations: 430.2 kB / 0.8369 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.823, allocations: 0 / 0.8369 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007112/0.8237, allocations: 246.7 kB / 0.8371 GB, free: 11.75 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.001437/0.8252, allocations: 0.6024 MB / 0.8377 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009029/0.8261, allocations: 0.4971 MB / 0.8382 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.8261, allocations: 0 / 0.8382 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.8265, allocations: 278.4 kB / 0.8384 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.8277, allocations: 256.5 kB / 0.8387 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.83, allocations: 1.335 MB / 0.84 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.8307, allocations: 0.9489 MB / 0.8409 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.8309, allocations: 103 kB / 0.841 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.8309, allocations: 0 / 0.841 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of Templates: time 0.0199/0.8509, allocations: 12.39 MB / 0.8531 GB, free: 14.6 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