Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 105 kB / 16.41 MB, free: 6.465 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.001445/0.001445, allocations: 187 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 66.88 kB / 0.582 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1768, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005427/0.1823, allocations: 4.02 MB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5193/0.7016, allocations: 150.4 MB / 0.8111 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006826/0.7023, allocations: 29.78 kB / 0.8112 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.7029, allocations: 156.4 kB / 0.8113 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.7043, allocations: 463.5 kB / 0.8118 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.7058, allocations: 0.7143 MB / 0.8125 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.7066, allocations: 1.084 MB / 0.8135 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.7073, allocations: 0.5011 MB / 0.814 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.7076, allocations: 365 kB / 0.8144 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.708, allocations: 366.1 kB / 0.8147 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.7082, allocations: 84.75 kB / 0.8148 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.7088, allocations: 388 kB / 0.8152 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.709, allocations: 235.1 kB / 0.8154 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.7093, allocations: 427.9 kB / 0.8158 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.7104, allocations: 1.263 MB / 0.817 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7105, allocations: 1.781 kB / 0.817 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7105, allocations: 4 kB / 0.817 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7105, allocations: 0 / 0.817 GB, free: 10.36 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.001661/0.7122, allocations: 1.185 MB / 0.8182 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7122, allocations: 7.625 kB / 0.8182 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.7125, allocations: 105.5 kB / 0.8183 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.7133, allocations: 0.6804 MB / 0.819 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.7134, allocations: 44.69 kB / 0.819 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.7135, allocations: 59.97 kB / 0.8191 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.7145, allocations: 0.6981 MB / 0.8197 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.7145, allocations: 3.984 kB / 0.8197 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.7146, allocations: 32.34 kB / 0.8198 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.7146, allocations: 13.53 kB / 0.8198 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7157, allocations: 0.9188 MB / 0.8207 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.7186, allocations: 2.319 MB / 0.8229 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.7195, allocations: 0.5996 MB / 0.8235 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.7198, allocations: 219.9 kB / 0.8237 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.7198, allocations: 29.42 kB / 0.8238 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.7204, allocations: 361.5 kB / 0.8241 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/0.7204, allocations: 0 / 0.8241 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001201/0.7216, allocations: 0.702 MB / 0.8248 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.7217, allocations: 245.6 kB / 0.825 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.7224, allocations: 0.5859 MB / 0.8256 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.7224, allocations: 38.3 kB / 0.8256 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.7227, allocations: 334.7 kB / 0.826 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.7228, allocations: 198.4 kB / 0.8261 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.723, allocations: 147.7 kB / 0.8263 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7232, allocations: 374.4 kB / 0.8266 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.7235, allocations: 188.2 kB / 0.8268 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.7239, allocations: 291.8 kB / 0.8271 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.7245, allocations: 485.4 kB / 0.8276 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7246, allocations: 0 / 0.8276 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009076/0.7255, allocations: 0.5994 MB / 0.8282 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7255, allocations: 11.97 kB / 0.8282 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7255, allocations: 0 / 0.8282 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7255, allocations: 4.312 kB / 0.8282 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.726, allocations: 129.7 kB / 0.8283 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.726, allocations: 4.531 kB / 0.8283 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.7265, allocations: 73.03 kB / 0.8284 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.7266, allocations: 35.27 kB / 0.8284 GB, free: 2.832 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.0002899/0.7268, allocations: 255.5 kB / 0.8286 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.727, allocations: 68.16 kB / 0.8287 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7282, allocations: 0.7423 MB / 0.8294 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7283, allocations: 10.78 kB / 0.8294 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.7283, allocations: 7.344 kB / 0.8294 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.7283, allocations: 7.969 kB / 0.8295 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.7292, allocations: 0.8862 MB / 0.8303 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7292, allocations: 0 / 0.8303 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.7296, allocations: 117 kB / 0.8304 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.7296, allocations: 6.125 kB / 0.8304 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.7297, allocations: 19.95 kB / 0.8305 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7297, allocations: 2.125 kB / 0.8305 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7297, allocations: 0 / 0.8305 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.7306, allocations: 0.6367 MB / 0.8311 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.7309, allocations: 242.5 kB / 0.8313 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.731, allocations: 18.8 kB / 0.8313 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.7314, allocations: 47.77 kB / 0.8314 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.7315, allocations: 53.72 kB / 0.8314 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.7316, allocations: 23.7 kB / 0.8315 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004502/0.732, allocations: 432.5 kB / 0.8319 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.513e-06/0.732, allocations: 0 / 0.8319 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006029/0.7326, allocations: 246.1 kB / 0.8321 GB, free: 468 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.001262/0.7339, allocations: 0.5981 MB / 0.8327 GB, free: 232 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.7347, allocations: 0.5026 MB / 0.8332 GB, free: 12 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7347, allocations: 2.266 kB / 0.8332 GB, free: 12 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.7351, allocations: 280.6 kB / 0.8334 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.7361, allocations: 254.2 kB / 0.8337 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.738, allocations: 1.334 MB / 0.835 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.7384, allocations: 0.9504 MB / 0.8359 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.7387, allocations: 99.58 kB / 0.836 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.7387, allocations: 0 / 0.836 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.01631/0.755, allocations: 12.39 MB / 0.8481 GB, free: 4.289 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1