Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_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.001309/0.001309, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001271/0.001271, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7707/0.7707, allocations: 132.2 MB / 423.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.3 kB / 0.5819 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.145, allocations: 80.2 MB / 0.6603 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005097/0.1502, allocations: 4.024 MB / 0.6642 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4892/0.6394, allocations: 150.4 MB / 0.8111 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.64, allocations: 18.47 kB / 0.8111 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.6406, allocations: 156.9 kB / 0.8113 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.6418, allocations: 458.3 kB / 0.8117 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.6432, allocations: 0.7182 MB / 0.8124 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.644, allocations: 1.08 MB / 0.8135 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.6446, allocations: 0.4983 MB / 0.8139 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.645, allocations: 354.2 kB / 0.8143 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.6459, allocations: 368.3 kB / 0.8146 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.646, allocations: 85.28 kB / 0.8147 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.6466, allocations: 393.9 kB / 0.8151 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.6468, allocations: 225.8 kB / 0.8153 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.6472, allocations: 429.6 kB / 0.8157 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.6483, allocations: 1.266 MB / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6483, allocations: 0 / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6483, allocations: 0 / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.6483, allocations: 0 / 0.817 GB, free: 10.4 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.00171/0.65, allocations: 1.183 MB / 0.8181 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6501, allocations: 10.44 kB / 0.8181 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.6504, allocations: 104.9 kB / 0.8182 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.6513, allocations: 0.6754 MB / 0.8189 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.6513, allocations: 45.06 kB / 0.8189 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.6514, allocations: 66.86 kB / 0.819 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009537/0.6524, allocations: 0.7022 MB / 0.8197 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6524, allocations: 6.5 kB / 0.8197 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.6525, allocations: 25.53 kB / 0.8197 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.6525, allocations: 15.62 kB / 0.8197 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.6536, allocations: 0.9207 MB / 0.8206 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.6564, allocations: 2.32 MB / 0.8229 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.6573, allocations: 0.5899 MB / 0.8235 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.6576, allocations: 223.7 kB / 0.8237 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.6577, allocations: 35.69 kB / 0.8237 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.6582, allocations: 352.6 kB / 0.824 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.064e-06/0.6582, allocations: 0 / 0.824 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.00118/0.6594, allocations: 0.7019 MB / 0.8247 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.6595, allocations: 241.8 kB / 0.825 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.6601, allocations: 0.5983 MB / 0.8255 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.6602, allocations: 39.78 kB / 0.8256 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.6604, allocations: 332.6 kB / 0.8259 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.6606, allocations: 197 kB / 0.8261 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.6608, allocations: 139.5 kB / 0.8262 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6609, allocations: 380.9 kB / 0.8266 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6612, allocations: 184.3 kB / 0.8268 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.6616, allocations: 294 kB / 0.827 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.6623, allocations: 486 kB / 0.8275 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6623, allocations: 0 / 0.8275 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008989/0.6632, allocations: 0.5994 MB / 0.8281 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.6632, allocations: 7.812 kB / 0.8281 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6632, allocations: 0 / 0.8281 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6633, allocations: 4.312 kB / 0.8281 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.6637, allocations: 131.4 kB / 0.8282 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6637, allocations: 4.812 kB / 0.8282 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.6642, allocations: 78.41 kB / 0.8283 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.6643, allocations: 36.12 kB / 0.8283 GB, free: 2.809 MB / 0.5919 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.0003136/0.6646, allocations: 240.8 kB / 0.8286 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6648, allocations: 74.41 kB / 0.8286 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6661, allocations: 0.7491 MB / 0.8294 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6661, allocations: 7.75 kB / 0.8294 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6661, allocations: 0 / 0.8294 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6661, allocations: 3.984 kB / 0.8294 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.667, allocations: 0.8953 MB / 0.8303 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.667, allocations: 2.531 kB / 0.8303 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.6674, allocations: 118.6 kB / 0.8304 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6674, allocations: 2.531 kB / 0.8304 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.6675, allocations: 19.8 kB / 0.8304 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.6675, allocations: 2.188 kB / 0.8304 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6675, allocations: 0 / 0.8304 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.6684, allocations: 0.6394 MB / 0.831 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.6687, allocations: 246.6 kB / 0.8313 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.6688, allocations: 12.84 kB / 0.8313 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.6692, allocations: 40.27 kB / 0.8313 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.6693, allocations: 57.53 kB / 0.8314 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.6694, allocations: 25.42 kB / 0.8314 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004814/0.6699, allocations: 438 kB / 0.8318 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6699, allocations: 0 / 0.8318 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006293/0.6705, allocations: 243.3 kB / 0.832 GB, free: 452 kB / 0.5919 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.001256/0.6718, allocations: 0.5994 MB / 0.8326 GB, free: 212 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.6726, allocations: 0.5008 MB / 0.8331 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6726, allocations: 2.875 kB / 0.8331 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.673, allocations: 282.2 kB / 0.8334 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.674, allocations: 257.1 kB / 0.8336 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.676, allocations: 1.334 MB / 0.8349 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/0.6765, allocations: 0.9509 MB / 0.8359 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.6768, allocations: 106.9 kB / 0.836 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6768, allocations: 0 / 0.836 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.0167/0.6935, allocations: 12.27 MB / 0.8479 GB, free: 4.402 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.o] Error 1