Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108.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.001277/0.001277, allocations: 185.5 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.241/1.241, 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.726/0.726, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 61.8 kB / 0.5862 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1316, allocations: 80.94 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005385/0.137, allocations: 4.014 MB / 0.6692 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4483/0.5854, allocations: 150.4 MB / 0.8161 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.5861, allocations: 18.78 kB / 0.8161 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.5866, allocations: 161.3 kB / 0.8163 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.5879, allocations: 464.7 kB / 0.8167 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.5893, allocations: 0.7191 MB / 0.8174 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008634/0.5902, allocations: 1.082 MB / 0.8185 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.5908, allocations: 0.5041 MB / 0.819 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.5912, allocations: 361.1 kB / 0.8193 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.5915, allocations: 371.6 kB / 0.8197 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.5916, allocations: 86.41 kB / 0.8198 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.5922, allocations: 384.3 kB / 0.8201 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.5923, allocations: 231.2 kB / 0.8203 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.5926, allocations: 434.1 kB / 0.8208 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.5937, allocations: 1.265 MB / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5937, allocations: 2.969 kB / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5937, allocations: 0 / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.5937, allocations: 4 kB / 0.822 GB, free: 6.27 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.001486/0.5952, allocations: 1.177 MB / 0.8231 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.5952, allocations: 9.641 kB / 0.8232 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.5955, allocations: 102.7 kB / 0.8233 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.5963, allocations: 0.6734 MB / 0.8239 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.5964, allocations: 50.16 kB / 0.824 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.5964, allocations: 59.88 kB / 0.824 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.5974, allocations: 0.7005 MB / 0.8247 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5974, allocations: 2.844 kB / 0.8247 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.5974, allocations: 24.84 kB / 0.8247 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5975, allocations: 22.16 kB / 0.8247 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.5985, allocations: 0.9248 MB / 0.8257 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.601, allocations: 2.323 MB / 0.8279 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.6018, allocations: 0.5978 MB / 0.8285 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.6021, allocations: 223.5 kB / 0.8287 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.6021, allocations: 25.09 kB / 0.8287 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.6026, allocations: 350.5 kB / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.563e-06/0.6026, allocations: 0 / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001051/0.6036, allocations: 0.717 MB / 0.8298 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.6037, allocations: 240 kB / 0.83 GB, free: 476 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.6043, allocations: 0.5833 MB / 0.8306 GB, free: 120 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.6044, allocations: 39.42 kB / 0.8306 GB, free: 80 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.6046, allocations: 337.9 kB / 0.8309 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.6047, allocations: 198.4 kB / 0.8311 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.6049, allocations: 138.2 kB / 0.8313 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.605, allocations: 378.5 kB / 0.8316 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.6053, allocations: 192.8 kB / 0.8318 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.6057, allocations: 287.1 kB / 0.8321 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.6063, allocations: 478.5 kB / 0.8325 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6064, allocations: 7.203 kB / 0.8325 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000818/0.6072, allocations: 0.5991 MB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6072, allocations: 6.688 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6072, allocations: 3.141 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6072, allocations: 10.56 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.6077, allocations: 128.1 kB / 0.8333 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6077, allocations: 8.734 kB / 0.8333 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.6081, allocations: 74.66 kB / 0.8333 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.6082, allocations: 27.67 kB / 0.8334 GB, free: 14.21 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.0002568/0.6084, allocations: 246.5 kB / 0.8336 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6085, allocations: 78.34 kB / 0.8337 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.6097, allocations: 0.7441 MB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6097, allocations: 7.688 kB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6097, allocations: 0 / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6097, allocations: 10.17 kB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/0.6105, allocations: 0.8925 MB / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6105, allocations: 0 / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.6109, allocations: 116.6 kB / 0.8354 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6109, allocations: 2.438 kB / 0.8354 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.611, allocations: 19.42 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.611, allocations: 6.812 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.611, allocations: 0 / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.6118, allocations: 0.6436 MB / 0.8361 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.612, allocations: 239 kB / 0.8363 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.6121, allocations: 12.97 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.6125, allocations: 47.77 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.6126, allocations: 53.45 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.6126, allocations: 29.86 kB / 0.8364 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004033/0.6131, allocations: 430.1 kB / 0.8368 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6131, allocations: 0 / 0.8368 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005279/0.6136, allocations: 242.7 kB / 0.8371 GB, free: 11.81 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.001144/0.6147, allocations: 0.5953 MB / 0.8376 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.6154, allocations: 0.5006 MB / 0.8381 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6154, allocations: 0 / 0.8381 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.6158, allocations: 284.8 kB / 0.8384 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.6167, allocations: 247.9 kB / 0.8386 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6183, allocations: 1.328 MB / 0.8399 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.6187, allocations: 0.9589 MB / 0.8409 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.6189, allocations: 102.8 kB / 0.841 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6189, allocations: 0 / 0.841 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.01401/0.633, allocations: 12.39 MB / 0.8531 GB, free: 14.54 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.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_usingTwoYearDataCalcHelperMain.o] Error 1