Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001417/0.001417, allocations: 183 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7433/0.7433, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 68.3 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1361, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005071/0.1412, allocations: 4.029 MB / 0.6692 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.454/0.5952, allocations: 150.4 MB / 0.8161 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.5959, allocations: 15.47 kB / 0.8161 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.5964, allocations: 156.6 kB / 0.8163 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.5978, allocations: 470.4 kB / 0.8167 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.5992, allocations: 0.7146 MB / 0.8174 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.6001, allocations: 1.084 MB / 0.8185 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/0.6007, allocations: 0.5084 MB / 0.819 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.6011, allocations: 353.2 kB / 0.8193 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.6015, allocations: 372.4 kB / 0.8197 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.6016, allocations: 86.06 kB / 0.8198 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.6022, allocations: 384.3 kB / 0.8201 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.6023, allocations: 238.7 kB / 0.8204 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.6026, allocations: 426.5 kB / 0.8208 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.6037, allocations: 1.272 MB / 0.822 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6038, allocations: 0 / 0.822 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6038, allocations: 2.062 kB / 0.822 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6038, allocations: 0 / 0.822 GB, free: 6.23 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.00151/0.6053, allocations: 1.18 MB / 0.8232 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.6053, allocations: 9.203 kB / 0.8232 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.6056, allocations: 111.4 kB / 0.8233 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.6065, allocations: 0.6679 MB / 0.8239 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.6065, allocations: 47.72 kB / 0.824 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.6066, allocations: 59.25 kB / 0.824 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.6075, allocations: 0.7047 MB / 0.8247 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6075, allocations: 3.5 kB / 0.8247 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.6076, allocations: 31.69 kB / 0.8248 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.6076, allocations: 14.81 kB / 0.8248 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6087, allocations: 0.9281 MB / 0.8257 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.6113, allocations: 2.311 MB / 0.8279 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.6121, allocations: 0.597 MB / 0.8285 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.6124, allocations: 223.6 kB / 0.8287 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.6125, allocations: 28.92 kB / 0.8288 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.6129, allocations: 354.3 kB / 0.8291 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.384e-06/0.613, allocations: 0 / 0.8291 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001104/0.6141, allocations: 0.7093 MB / 0.8298 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6142, allocations: 240.1 kB / 0.83 GB, free: 444 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.6148, allocations: 0.5833 MB / 0.8306 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.6148, allocations: 40.92 kB / 0.8306 GB, free: 44 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.615, allocations: 340.8 kB / 0.8309 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6152, allocations: 202.3 kB / 0.8311 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.6154, allocations: 138 kB / 0.8313 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6155, allocations: 377.9 kB / 0.8316 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.6158, allocations: 189.5 kB / 0.8318 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.6161, allocations: 287.3 kB / 0.8321 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.6168, allocations: 478.6 kB / 0.8325 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6168, allocations: 0 / 0.8325 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008436/0.6176, allocations: 0.6061 MB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6176, allocations: 4.859 kB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6177, allocations: 6.812 kB / 0.8331 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6177, allocations: 2.406 kB / 0.8331 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.6181, allocations: 132.1 kB / 0.8333 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6181, allocations: 6.75 kB / 0.8333 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.6186, allocations: 74.69 kB / 0.8334 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.6186, allocations: 32.28 kB / 0.8334 GB, free: 14.17 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.0002614/0.6189, allocations: 246.2 kB / 0.8336 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.619, allocations: 74.31 kB / 0.8337 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.6202, allocations: 0.7458 MB / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6202, allocations: 7.375 kB / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6202, allocations: 0 / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.6203, allocations: 6.703 kB / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.6211, allocations: 0.8911 MB / 0.8353 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.6211, allocations: 6.344 kB / 0.8353 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.6215, allocations: 114.5 kB / 0.8354 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6215, allocations: 2.312 kB / 0.8354 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.6215, allocations: 15.78 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6215, allocations: 7.688 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6215, allocations: 6.438 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.6224, allocations: 0.6339 MB / 0.8361 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.6226, allocations: 246.2 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.6227, allocations: 13.56 kB / 0.8363 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.6231, allocations: 50.33 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.6232, allocations: 47.59 kB / 0.8364 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.6232, allocations: 28.58 kB / 0.8364 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004183/0.6237, allocations: 430.3 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6237, allocations: 0 / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005757/0.6242, allocations: 250.5 kB / 0.8371 GB, free: 11.78 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.001193/0.6254, allocations: 0.6006 MB / 0.8377 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007115/0.6262, allocations: 0.5006 MB / 0.8382 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6262, allocations: 0 / 0.8382 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.6265, allocations: 280.7 kB / 0.8384 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.6274, allocations: 257.4 kB / 0.8387 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6292, allocations: 1.332 MB / 0.84 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.6296, allocations: 0.9485 MB / 0.8409 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.6298, allocations: 99.23 kB / 0.841 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.6298, allocations: 3.938 kB / 0.841 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.01469/0.6445, allocations: 12.4 MB / 0.8531 GB, free: 14.59 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1