Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 105.7 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.001777/0.001777, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.493/1.493, 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.8298/0.8298, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.19 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1861, allocations: 80.93 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006291/0.1925, allocations: 4.021 MB / 0.6692 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6697/0.8622, allocations: 150.4 MB / 0.8161 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.8632, allocations: 23.59 kB / 0.8161 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.8638, allocations: 164.4 kB / 0.8163 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.8654, allocations: 460 kB / 0.8167 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.8673, allocations: 0.706 MB / 0.8174 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.8687, allocations: 1.082 MB / 0.8185 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.8694, allocations: 0.5126 MB / 0.819 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.87, allocations: 364 kB / 0.8193 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.8708, allocations: 367.9 kB / 0.8197 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.8709, allocations: 83.78 kB / 0.8197 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000841/0.8718, allocations: 387 kB / 0.8201 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.872, allocations: 231.2 kB / 0.8203 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.8724, allocations: 425.9 kB / 0.8207 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.8739, allocations: 1.266 MB / 0.822 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8739, allocations: 0 / 0.822 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8739, allocations: 6.75 kB / 0.822 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.8739, allocations: 0 / 0.822 GB, free: 6.258 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.001884/0.8758, allocations: 1.173 MB / 0.8231 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8759, allocations: 11.52 kB / 0.8231 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.8762, allocations: 107.5 kB / 0.8232 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.8772, allocations: 0.6823 MB / 0.8239 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.8773, allocations: 44.53 kB / 0.824 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.8774, allocations: 61.59 kB / 0.824 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.8784, allocations: 0.7046 MB / 0.8247 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.8785, allocations: 3.938 kB / 0.8247 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.8785, allocations: 27.16 kB / 0.8247 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8786, allocations: 19.19 kB / 0.8247 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.8798, allocations: 0.9206 MB / 0.8256 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.8828, allocations: 2.319 MB / 0.8279 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.8837, allocations: 0.5961 MB / 0.8285 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.884, allocations: 219.7 kB / 0.8287 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.8841, allocations: 31.47 kB / 0.8287 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/0.8846, allocations: 347.2 kB / 0.8291 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.424e-06/0.8846, allocations: 6.875 kB / 0.8291 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001229/0.8859, allocations: 0.7078 MB / 0.8298 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.886, allocations: 243.5 kB / 0.83 GB, free: 460 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.8867, allocations: 0.5834 MB / 0.8306 GB, free: 104 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.8868, allocations: 39.45 kB / 0.8306 GB, free: 64 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.8871, allocations: 333.9 kB / 0.8309 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.8873, allocations: 198.3 kB / 0.8311 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.8875, allocations: 142.4 kB / 0.8312 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8877, allocations: 382 kB / 0.8316 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.8879, allocations: 185.2 kB / 0.8318 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.8883, allocations: 295.1 kB / 0.8321 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.889, allocations: 474.8 kB / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.889, allocations: 2.188 kB / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000937/0.89, allocations: 0.5999 MB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.89, allocations: 5.031 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.89, allocations: 6.859 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.89, allocations: 6.344 kB / 0.8331 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.8905, allocations: 137.2 kB / 0.8333 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.8905, allocations: 2.969 kB / 0.8333 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.891, allocations: 68.5 kB / 0.8333 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.8911, allocations: 32.16 kB / 0.8334 GB, free: 14.19 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.0003443/0.8914, allocations: 247.9 kB / 0.8336 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.8916, allocations: 74.12 kB / 0.8337 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.8928, allocations: 0.7517 MB / 0.8344 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.8929, allocations: 7.375 kB / 0.8344 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8929, allocations: 6.672 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8929, allocations: 5.859 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.8939, allocations: 0.8838 MB / 0.8353 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8939, allocations: 2.562 kB / 0.8353 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.8943, allocations: 117.6 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8943, allocations: 7.031 kB / 0.8354 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.8944, allocations: 23.11 kB / 0.8354 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.8944, allocations: 2.875 kB / 0.8354 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8944, allocations: 2.719 kB / 0.8354 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009545/0.8954, allocations: 0.6361 MB / 0.836 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.8957, allocations: 239.9 kB / 0.8363 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8958, allocations: 16.94 kB / 0.8363 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.8962, allocations: 48.27 kB / 0.8363 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8963, allocations: 51.5 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.8964, allocations: 25.45 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005013/0.8969, allocations: 430.3 kB / 0.8368 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8969, allocations: 0 / 0.8368 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000742/0.8976, allocations: 241 kB / 0.8371 GB, free: 11.8 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.001389/0.899, allocations: 0.6078 MB / 0.8376 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008968/0.8999, allocations: 0.4965 MB / 0.8381 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.9, allocations: 0 / 0.8381 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.9004, allocations: 280.8 kB / 0.8384 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.9014, allocations: 250.2 kB / 0.8386 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.9035, allocations: 1.328 MB / 0.8399 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.9041, allocations: 0.9523 MB / 0.8409 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.9043, allocations: 103.7 kB / 0.841 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.9043, allocations: 0 / 0.841 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Templates: time 0.01874/0.923, allocations: 12.49 MB / 0.8532 GB, free: 14.46 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.DecemberToJanuaryCalcHelperMain.o] Error 1