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.001085/0.001085, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001224/0.001224, allocations: 187 kB / 17.34 MB, free: 5.73 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.355/1.355, 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.8651/0.8651, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.8 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1777, allocations: 80.91 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006696/0.1845, allocations: 4.042 MB / 0.6692 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.637/0.8215, allocations: 150.4 MB / 0.8161 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.8224, allocations: 20.19 kB / 0.8161 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.8231, allocations: 160.4 kB / 0.8163 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.8247, allocations: 452 kB / 0.8167 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.8266, allocations: 0.7247 MB / 0.8174 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.8277, allocations: 1.084 MB / 0.8185 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.8284, allocations: 0.5068 MB / 0.819 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.8288, allocations: 356.1 kB / 0.8193 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.8297, allocations: 371.3 kB / 0.8197 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.8298, allocations: 84.38 kB / 0.8198 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.8305, allocations: 391 kB / 0.8201 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.8307, allocations: 232.4 kB / 0.8204 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.831, allocations: 427.2 kB / 0.8208 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.8324, allocations: 1.268 MB / 0.822 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8324, allocations: 0 / 0.822 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8324, allocations: 0 / 0.822 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.8324, allocations: 0 / 0.822 GB, free: 6.242 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.001779/0.8342, allocations: 1.178 MB / 0.8232 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8343, allocations: 12.36 kB / 0.8232 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.8345, allocations: 103.1 kB / 0.8233 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.8355, allocations: 0.6779 MB / 0.8239 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.8356, allocations: 43 kB / 0.824 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.8357, allocations: 60.09 kB / 0.824 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.8368, allocations: 0.7079 MB / 0.8247 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.8368, allocations: 10.72 kB / 0.8247 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.8369, allocations: 27.53 kB / 0.8247 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.8369, allocations: 15.31 kB / 0.8248 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.8381, allocations: 0.9216 MB / 0.8257 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.841, allocations: 2.315 MB / 0.8279 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.8419, allocations: 0.593 MB / 0.8285 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.8422, allocations: 223.7 kB / 0.8287 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.8423, allocations: 31.66 kB / 0.8287 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.8428, allocations: 353.6 kB / 0.8291 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.8428, allocations: 0 / 0.8291 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001203/0.8441, allocations: 0.704 MB / 0.8298 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.8442, allocations: 243.4 kB / 0.83 GB, free: 452 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.8449, allocations: 0.5878 MB / 0.8306 GB, free: 92 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.8449, allocations: 43.05 kB / 0.8306 GB, free: 48 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.8452, allocations: 333.9 kB / 0.8309 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.8454, allocations: 198.3 kB / 0.8311 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.8456, allocations: 138.2 kB / 0.8313 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8458, allocations: 376.6 kB / 0.8316 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.8461, allocations: 190 kB / 0.8318 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.8465, allocations: 295.3 kB / 0.8321 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.8471, allocations: 477.3 kB / 0.8325 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8472, allocations: 3.938 kB / 0.8325 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009112/0.8481, allocations: 0.5995 MB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8481, allocations: 11 kB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8481, allocations: 4.188 kB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.8482, allocations: 2.719 kB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.8486, allocations: 129.6 kB / 0.8333 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8486, allocations: 4.906 kB / 0.8333 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.8491, allocations: 78.78 kB / 0.8333 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.8492, allocations: 29.41 kB / 0.8334 GB, free: 14.18 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.0002979/0.8495, allocations: 250.1 kB / 0.8336 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8496, allocations: 73.09 kB / 0.8337 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.8509, allocations: 0.7458 MB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8509, allocations: 7.625 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8509, allocations: 0 / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.8509, allocations: 5.859 kB / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.8519, allocations: 0.8974 MB / 0.8353 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8519, allocations: 0 / 0.8353 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.8523, allocations: 114.8 kB / 0.8354 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.8523, allocations: 5.281 kB / 0.8354 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.8523, allocations: 16.8 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8523, allocations: 4.719 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8523, allocations: 0 / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.8533, allocations: 0.6442 MB / 0.8361 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.8535, allocations: 236 kB / 0.8363 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.8537, allocations: 19.45 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.8541, allocations: 44.02 kB / 0.8363 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8542, allocations: 49.81 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.8542, allocations: 23.05 kB / 0.8364 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004836/0.8547, allocations: 440.5 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8547, allocations: 0 / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006935/0.8554, allocations: 246 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.001332/0.8568, allocations: 0.5901 MB / 0.8376 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008066/0.8576, allocations: 0.5004 MB / 0.8381 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8576, allocations: 3.094 kB / 0.8381 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.858, allocations: 281.3 kB / 0.8384 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.859, allocations: 258.7 kB / 0.8387 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.861, allocations: 1.334 MB / 0.84 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.8616, allocations: 0.9453 MB / 0.8409 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.8618, allocations: 103.2 kB / 0.841 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.8618, allocations: 0 / 0.841 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.01732/0.8791, allocations: 12.39 MB / 0.8531 GB, free: 14.51 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