Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001344/0.001344, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001443/0.001443, allocations: 187 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 58.75 kB / 0.5862 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1846, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006319/0.191, allocations: 4.021 MB / 0.6692 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6368/0.8278, allocations: 150.4 MB / 0.8161 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009091/0.8288, allocations: 20.06 kB / 0.8161 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.8296, allocations: 164.7 kB / 0.8163 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.8316, allocations: 470.7 kB / 0.8167 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.8336, allocations: 0.7145 MB / 0.8174 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.835, allocations: 1.079 MB / 0.8185 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007039/0.8357, allocations: 0.5112 MB / 0.819 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.8361, allocations: 363.6 kB / 0.8193 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.8366, allocations: 365 kB / 0.8197 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.8367, allocations: 83.34 kB / 0.8198 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.8373, allocations: 395 kB / 0.8201 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.8376, allocations: 231.9 kB / 0.8204 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.8379, allocations: 425.2 kB / 0.8208 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.8392, allocations: 1.266 MB / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8393, allocations: 0 / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8393, allocations: 0 / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.8393, allocations: 0 / 0.822 GB, free: 6.273 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.001778/0.8411, allocations: 1.181 MB / 0.8232 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8411, allocations: 11.77 kB / 0.8232 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.8414, allocations: 101.7 kB / 0.8233 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.8424, allocations: 0.6815 MB / 0.8239 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.8425, allocations: 44.69 kB / 0.824 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.8426, allocations: 61.19 kB / 0.824 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.8437, allocations: 0.7003 MB / 0.8247 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.8437, allocations: 7.219 kB / 0.8247 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.8437, allocations: 28.91 kB / 0.8247 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.8438, allocations: 17.47 kB / 0.8248 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.845, allocations: 0.9257 MB / 0.8257 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.848, allocations: 2.309 MB / 0.8279 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.8489, allocations: 0.5944 MB / 0.8285 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.8492, allocations: 228.2 kB / 0.8287 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-05/0.8493, allocations: 25.38 kB / 0.8287 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.8498, allocations: 350.1 kB / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/0.8498, allocations: 0 / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.00125/0.8511, allocations: 0.7076 MB / 0.8298 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.8512, allocations: 247.6 kB / 0.83 GB, free: 476 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.8519, allocations: 0.5862 MB / 0.8306 GB, free: 120 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.852, allocations: 35.58 kB / 0.8306 GB, free: 80 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.8523, allocations: 337.5 kB / 0.8309 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.8525, allocations: 206 kB / 0.8311 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.8526, allocations: 136 kB / 0.8313 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8528, allocations: 376.2 kB / 0.8316 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.8531, allocations: 196.7 kB / 0.8318 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.8536, allocations: 289.2 kB / 0.8321 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.8543, allocations: 481.5 kB / 0.8325 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8543, allocations: 0 / 0.8325 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009416/0.8552, allocations: 0.6033 MB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8552, allocations: 7.203 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8553, allocations: 6.844 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8553, allocations: 2.719 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.8557, allocations: 129.5 kB / 0.8333 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8558, allocations: 5.562 kB / 0.8333 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.8563, allocations: 72.61 kB / 0.8333 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.8563, allocations: 31.55 kB / 0.8334 GB, free: 14.2 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.0003113/0.8566, allocations: 246.6 kB / 0.8336 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8568, allocations: 74.16 kB / 0.8337 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.8581, allocations: 0.7468 MB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8581, allocations: 14.84 kB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8582, allocations: 0 / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.8582, allocations: 3.984 kB / 0.8344 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.8592, allocations: 0.8868 MB / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8592, allocations: 0 / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.8596, allocations: 120.7 kB / 0.8354 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8596, allocations: 2.75 kB / 0.8354 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.8596, allocations: 18.83 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8596, allocations: 2.938 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8596, allocations: 4.031 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.8606, allocations: 0.6438 MB / 0.8361 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.8609, allocations: 236.5 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.861, allocations: 15.59 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.8614, allocations: 45.58 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8615, allocations: 57.36 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.8616, allocations: 23.77 kB / 0.8364 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000467/0.862, allocations: 428.2 kB / 0.8368 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.862, allocations: 0 / 0.8368 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006377/0.8627, allocations: 250.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.001366/0.864, allocations: 0.5964 MB / 0.8377 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008368/0.8649, allocations: 0.503 MB / 0.8381 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8649, allocations: 0 / 0.8381 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.8653, allocations: 278 kB / 0.8384 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009738/0.8663, allocations: 248.3 kB / 0.8386 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.8683, allocations: 1.335 MB / 0.84 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.8689, allocations: 0.953 MB / 0.8409 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.8691, allocations: 103.1 kB / 0.841 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.8691, allocations: 0 / 0.841 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.01746/0.8866, allocations: 12.39 MB / 0.8531 GB, free: 14.58 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_dev_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-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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1