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.001121/0.001121, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001114/0.001114, allocations: 189.7 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8082/0.8082, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 65.86 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1877, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006629/0.1944, allocations: 4.036 MB / 0.6692 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6792/0.8736, allocations: 150.4 MB / 0.8161 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.8744, allocations: 20.66 kB / 0.8161 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.875, allocations: 157.4 kB / 0.8163 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.8765, allocations: 464.4 kB / 0.8167 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.8783, allocations: 0.7098 MB / 0.8174 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.8795, allocations: 1.084 MB / 0.8185 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.8802, allocations: 0.5042 MB / 0.819 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.8806, allocations: 362.4 kB / 0.8193 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.8811, allocations: 364.5 kB / 0.8197 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.8812, allocations: 84.31 kB / 0.8197 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.882, allocations: 390.4 kB / 0.8201 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.8822, allocations: 236.5 kB / 0.8203 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.8825, allocations: 429.3 kB / 0.8208 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.8839, allocations: 1.263 MB / 0.822 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8839, allocations: 0 / 0.822 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8839, allocations: 0 / 0.822 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.8839, allocations: 2.781 kB / 0.822 GB, free: 6.25 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.001841/0.8858, allocations: 1.181 MB / 0.8231 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8858, allocations: 13.27 kB / 0.8232 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.8861, allocations: 102.7 kB / 0.8233 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.8871, allocations: 0.6794 MB / 0.8239 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.8872, allocations: 48.88 kB / 0.824 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.8873, allocations: 57.75 kB / 0.824 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.8884, allocations: 0.6973 MB / 0.8247 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.8884, allocations: 6.219 kB / 0.8247 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.8885, allocations: 25.53 kB / 0.8247 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.8885, allocations: 24.97 kB / 0.8248 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.8897, allocations: 0.9194 MB / 0.8256 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.8925, allocations: 2.316 MB / 0.8279 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.8935, allocations: 0.5997 MB / 0.8285 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.8938, allocations: 215.2 kB / 0.8287 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/0.8938, allocations: 33.52 kB / 0.8287 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.8944, allocations: 352 kB / 0.8291 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.8944, allocations: 0 / 0.8291 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001209/0.8956, allocations: 0.7104 MB / 0.8298 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.8957, allocations: 236.9 kB / 0.83 GB, free: 460 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.8964, allocations: 0.5944 MB / 0.8306 GB, free: 96 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.8965, allocations: 35.83 kB / 0.8306 GB, free: 56 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.8968, allocations: 337.2 kB / 0.8309 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.8969, allocations: 202.2 kB / 0.8311 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.8971, allocations: 135.7 kB / 0.8312 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8973, allocations: 376.7 kB / 0.8316 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.8976, allocations: 188.2 kB / 0.8318 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.898, allocations: 294.5 kB / 0.8321 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.8986, allocations: 477.4 kB / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8986, allocations: 0 / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000902/0.8995, allocations: 0.6051 MB / 0.8331 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8996, allocations: 5.25 kB / 0.8331 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.8996, allocations: 2.609 kB / 0.8331 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8996, allocations: 9.703 kB / 0.8331 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.9001, allocations: 126.8 kB / 0.8333 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9001, allocations: 8.625 kB / 0.8333 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.9006, allocations: 80.02 kB / 0.8333 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.9006, allocations: 30.95 kB / 0.8334 GB, free: 14.18 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.0003092/0.901, allocations: 243.9 kB / 0.8336 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.9011, allocations: 74.12 kB / 0.8337 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.9023, allocations: 0.7458 MB / 0.8344 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.9023, allocations: 11.3 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9024, allocations: 2.844 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.9024, allocations: 3.984 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/0.9033, allocations: 0.888 MB / 0.8353 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9033, allocations: 1.844 kB / 0.8353 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.9037, allocations: 119.1 kB / 0.8354 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.9037, allocations: 4.438 kB / 0.8354 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.9038, allocations: 25.27 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9038, allocations: 2.531 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9038, allocations: 2.219 kB / 0.8354 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.9047, allocations: 0.6437 MB / 0.8361 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.9049, allocations: 235.8 kB / 0.8363 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.9051, allocations: 17.28 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.9054, allocations: 44.11 kB / 0.8363 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9056, allocations: 55.58 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.9056, allocations: 20.94 kB / 0.8364 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004656/0.9061, allocations: 432.9 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9061, allocations: 4 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006496/0.9067, allocations: 242.7 kB / 0.8371 GB, free: 11.79 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.001303/0.9081, allocations: 0.5909 MB / 0.8376 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007883/0.9089, allocations: 0.5007 MB / 0.8381 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9089, allocations: 2.219 kB / 0.8381 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.9092, allocations: 274.8 kB / 0.8384 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009231/0.9102, allocations: 255.6 kB / 0.8386 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.9123, allocations: 1.334 MB / 0.8399 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.9129, allocations: 0.955 MB / 0.8409 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.9131, allocations: 95.92 kB / 0.841 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.9131, allocations: 4 kB / 0.841 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.01993/0.933, allocations: 12.5 MB / 0.8532 GB, free: 14.53 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