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.001574/0.001574, allocations: 107.2 kB / 16.4 MB, free: 6.375 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.001589/0.001589, allocations: 189.4 kB / 17.33 MB, free: 5.84 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8951/0.8951, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.83 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1909, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006288/0.1972, allocations: 4.033 MB / 0.6693 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6322/0.8294, allocations: 150.9 MB / 0.8166 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.8302, allocations: 19.84 kB / 0.8166 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.8308, allocations: 159.3 kB / 0.8168 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.8325, allocations: 466.8 kB / 0.8172 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.8343, allocations: 0.717 MB / 0.8179 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.8358, allocations: 1.071 MB / 0.8189 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006626/0.8365, allocations: 370.4 kB / 0.8193 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.837, allocations: 363.2 kB / 0.8196 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.8375, allocations: 366.5 kB / 0.82 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.8376, allocations: 85.84 kB / 0.8201 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009732/0.8386, allocations: 390.8 kB / 0.8204 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.8388, allocations: 225.1 kB / 0.8207 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.8393, allocations: 427.9 kB / 0.8211 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.8412, allocations: 1.275 MB / 0.8223 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8412, allocations: 3.938 kB / 0.8223 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8412, allocations: 3.938 kB / 0.8223 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.8413, allocations: 0 / 0.8223 GB, free: 5.879 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.002119/0.8434, allocations: 1.214 MB / 0.8235 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8434, allocations: 13.45 kB / 0.8235 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.8437, allocations: 104.6 kB / 0.8236 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.8449, allocations: 0.686 MB / 0.8243 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.8449, allocations: 46.94 kB / 0.8243 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/0.845, allocations: 56.59 kB / 0.8244 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.8461, allocations: 0.705 MB / 0.8251 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8462, allocations: 0 / 0.8251 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.8462, allocations: 28 kB / 0.8251 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.8463, allocations: 15.12 kB / 0.8251 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.8476, allocations: 0.9231 MB / 0.826 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.8511, allocations: 2.319 MB / 0.8283 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.852, allocations: 0.5708 MB / 0.8288 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.8524, allocations: 205 kB / 0.829 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.8524, allocations: 29.06 kB / 0.8291 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.853, allocations: 348.5 kB / 0.8294 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.334e-06/0.853, allocations: 0 / 0.8294 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001362/0.8544, allocations: 0.7068 MB / 0.8301 GB, free: 336 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.8546, allocations: 247.5 kB / 0.8303 GB, free: 40 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.8554, allocations: 0.5879 MB / 0.8309 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.8554, allocations: 38.77 kB / 0.8309 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.8558, allocations: 342.7 kB / 0.8313 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.856, allocations: 219.4 kB / 0.8315 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.8562, allocations: 136.9 kB / 0.8316 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.8564, allocations: 374.4 kB / 0.832 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.8567, allocations: 189.2 kB / 0.8321 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.8572, allocations: 290.3 kB / 0.8324 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/0.8579, allocations: 480.6 kB / 0.8329 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8579, allocations: 0 / 0.8329 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001007/0.8589, allocations: 0.6086 MB / 0.8335 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.8589, allocations: 11.83 kB / 0.8335 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.859, allocations: 0 / 0.8335 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.859, allocations: 4.844 kB / 0.8335 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.8595, allocations: 127.2 kB / 0.8336 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.8595, allocations: 6.125 kB / 0.8336 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.86, allocations: 77.95 kB / 0.8337 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.86, allocations: 36.48 kB / 0.8337 GB, free: 13.76 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.0003538/0.8604, allocations: 242.2 kB / 0.834 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.8605, allocations: 77.02 kB / 0.834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.8619, allocations: 0.7447 MB / 0.8348 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8619, allocations: 11.53 kB / 0.8348 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8619, allocations: 0 / 0.8348 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.8619, allocations: 6.109 kB / 0.8348 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.8631, allocations: 0.8878 MB / 0.8356 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8631, allocations: 6.531 kB / 0.8356 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.8635, allocations: 115.7 kB / 0.8358 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.8635, allocations: 2 kB / 0.8358 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.8636, allocations: 19.8 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8636, allocations: 2.625 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8636, allocations: 3.938 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.8646, allocations: 0.6413 MB / 0.8364 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.865, allocations: 248.8 kB / 0.8366 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8651, allocations: 13.28 kB / 0.8367 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.8655, allocations: 48.33 kB / 0.8367 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.8656, allocations: 51.48 kB / 0.8368 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8658, allocations: 25.27 kB / 0.8368 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005273/0.8663, allocations: 425.2 kB / 0.8372 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8663, allocations: 2.875 kB / 0.8372 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006833/0.867, allocations: 249.5 kB / 0.8374 GB, free: 11.36 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.001904/0.8689, allocations: 0.6024 MB / 0.838 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009002/0.8698, allocations: 489.9 kB / 0.8385 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8698, allocations: 0 / 0.8385 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.8702, allocations: 258.8 kB / 0.8387 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8712, allocations: 270.3 kB / 0.839 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.8735, allocations: 1.359 MB / 0.8403 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.8743, allocations: 0.9548 MB / 0.8412 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.8745, allocations: 95.67 kB / 0.8413 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/0.8745, allocations: 0 / 0.8413 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.02102/0.8955, allocations: 12.43 MB / 0.8535 GB, free: 14.23 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