Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 106 kB / 16.41 MB, free: 6.461 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.0009878/0.0009878, 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.736/0.736, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.59 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1377, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.004894/0.1426, allocations: 4.041 MB / 0.6692 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4334/0.576, allocations: 150.4 MB / 0.8161 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.5766, allocations: 16.19 kB / 0.8161 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.577, allocations: 158.5 kB / 0.8163 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.5782, allocations: 458.5 kB / 0.8167 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.5795, allocations: 0.715 MB / 0.8174 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000749/0.5803, allocations: 1.087 MB / 0.8185 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.5808, allocations: 0.4983 MB / 0.819 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.5812, allocations: 371.2 kB / 0.8193 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.5815, allocations: 365.2 kB / 0.8197 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.5816, allocations: 84.47 kB / 0.8198 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.5821, allocations: 388.5 kB / 0.8201 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.5823, allocations: 232.1 kB / 0.8203 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.5826, allocations: 426.5 kB / 0.8208 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.5836, allocations: 1.275 MB / 0.822 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5836, allocations: 0 / 0.822 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5836, allocations: 0 / 0.822 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.5837, allocations: 0 / 0.822 GB, free: 6.289 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.001449/0.5851, allocations: 1.17 MB / 0.8231 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.5852, allocations: 15.94 kB / 0.8232 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.5854, allocations: 99.25 kB / 0.8233 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.5863, allocations: 0.6802 MB / 0.8239 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.5863, allocations: 46.34 kB / 0.824 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.5864, allocations: 65.77 kB / 0.824 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.5873, allocations: 0.7032 MB / 0.8247 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5873, allocations: 3.938 kB / 0.8247 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.5874, allocations: 27.03 kB / 0.8247 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5874, allocations: 15.75 kB / 0.8248 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5885, allocations: 0.9196 MB / 0.8257 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.591, allocations: 2.316 MB / 0.8279 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.5917, allocations: 0.5973 MB / 0.8285 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.592, allocations: 219.7 kB / 0.8287 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.5921, allocations: 33.3 kB / 0.8287 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.5925, allocations: 350.9 kB / 0.8291 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.976e-06/0.5925, allocations: 6.703 kB / 0.8291 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001024/0.5936, allocations: 0.705 MB / 0.8298 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.5937, allocations: 247.8 kB / 0.83 GB, free: 500 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.5942, allocations: 0.5875 MB / 0.8306 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.5943, allocations: 39.36 kB / 0.8306 GB, free: 100 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5945, allocations: 334.2 kB / 0.8309 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5946, allocations: 201.9 kB / 0.8311 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5948, allocations: 142.8 kB / 0.8313 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5949, allocations: 373.9 kB / 0.8316 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.5952, allocations: 188.9 kB / 0.8318 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.5956, allocations: 292 kB / 0.8321 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.5962, allocations: 481.8 kB / 0.8325 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5962, allocations: 0 / 0.8325 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008046/0.597, allocations: 0.6015 MB / 0.8331 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.597, allocations: 13.16 kB / 0.8331 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.597, allocations: 2.688 kB / 0.8331 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.597, allocations: 2.594 kB / 0.8331 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.5974, allocations: 136.5 kB / 0.8333 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5975, allocations: 6.281 kB / 0.8333 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.5979, allocations: 74.05 kB / 0.8334 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.5979, allocations: 32.42 kB / 0.8334 GB, free: 14.22 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.0002511/0.5982, allocations: 242.2 kB / 0.8336 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5983, allocations: 74.34 kB / 0.8337 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.5994, allocations: 0.7399 MB / 0.8344 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5995, allocations: 11.81 kB / 0.8344 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5995, allocations: 0 / 0.8344 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5995, allocations: 6.172 kB / 0.8344 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.6002, allocations: 0.8877 MB / 0.8353 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6003, allocations: 2.875 kB / 0.8353 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.6006, allocations: 121.7 kB / 0.8354 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6006, allocations: 2.906 kB / 0.8354 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.6007, allocations: 19.36 kB / 0.8354 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.6007, allocations: 5.328 kB / 0.8354 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6007, allocations: 6.781 kB / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.6015, allocations: 0.6338 MB / 0.8361 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.6017, allocations: 243 kB / 0.8363 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/0.6018, allocations: 12.44 kB / 0.8363 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.6022, allocations: 47.02 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.6023, allocations: 50.78 kB / 0.8364 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.6023, allocations: 25.83 kB / 0.8364 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004003/0.6027, allocations: 429.6 kB / 0.8368 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6027, allocations: 0 / 0.8368 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005174/0.6032, allocations: 254.7 kB / 0.8371 GB, free: 11.84 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.001092/0.6043, allocations: 0.5864 MB / 0.8376 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.605, allocations: 0.5049 MB / 0.8381 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.605, allocations: 2.469 kB / 0.8381 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.6054, allocations: 277.7 kB / 0.8384 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.6062, allocations: 255.7 kB / 0.8387 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.6078, allocations: 1.335 MB / 0.84 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.6083, allocations: 0.9527 MB / 0.8409 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.6085, allocations: 107.3 kB / 0.841 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.6085, allocations: 0 / 0.841 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Templates: time 0.01425/0.6227, allocations: 12.51 MB / 0.8532 GB, free: 14.46 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1