Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001021/0.001021, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.354/1.354, 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/package.mo): time 0.8946/0.8946, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 62.72 kB / 0.582 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 80.22 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006223/0.1619, allocations: 4.181 MB / 0.6644 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5041/0.666, allocations: 150.5 MB / 0.8113 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008939/0.6669, allocations: 21.06 kB / 0.8114 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.6678, allocations: 163.7 kB / 0.8115 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.6698, allocations: 0.4892 MB / 0.812 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.6719, allocations: 0.7862 MB / 0.8128 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.6736, allocations: 1.232 MB / 0.814 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6746, allocations: 0.5478 MB / 0.8145 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.6755, allocations: 431.5 kB / 0.8149 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.6764, allocations: 430.1 kB / 0.8153 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.6767, allocations: 101.2 kB / 0.8154 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.6785, allocations: 0.8619 MB / 0.8163 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.6788, allocations: 255.2 kB / 0.8165 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000683/0.6795, allocations: 483.9 kB / 0.817 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.6821, allocations: 1.638 MB / 0.8186 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6821, allocations: 3.938 kB / 0.8186 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6821, allocations: 0 / 0.8186 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.6822, allocations: 0 / 0.8186 GB, free: 9.867 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003097/0.6853, allocations: 1.343 MB / 0.8199 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6854, allocations: 22.66 kB / 0.8199 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6866, allocations: 197.3 kB / 0.8201 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6877, allocations: 0.7181 MB / 0.8208 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.6877, allocations: 50.81 kB / 0.8208 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.6878, allocations: 72.66 kB / 0.8209 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6893, allocations: 0.8324 MB / 0.8217 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6894, allocations: 0 / 0.8217 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.6895, allocations: 31.44 kB / 0.8218 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6895, allocations: 17.03 kB / 0.8218 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6914, allocations: 1.08 MB / 0.8228 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.6956, allocations: 2.324 MB / 0.8251 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6972, allocations: 0.7429 MB / 0.8258 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.6978, allocations: 304.9 kB / 0.8261 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-05/0.6979, allocations: 33.56 kB / 0.8261 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009098/0.6989, allocations: 472.8 kB / 0.8266 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.6989, allocations: 0 / 0.8266 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003317/0.7022, allocations: 1.167 MB / 0.8277 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.7023, allocations: 196.3 kB / 0.8279 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.703, allocations: 0.5967 MB / 0.8285 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.7031, allocations: 36.36 kB / 0.8285 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.7034, allocations: 355.4 kB / 0.8289 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.7036, allocations: 238.5 kB / 0.8291 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.7038, allocations: 163.7 kB / 0.8293 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.704, allocations: 376.1 kB / 0.8296 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.7046, allocations: 271.3 kB / 0.8299 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.7053, allocations: 361.1 kB / 0.8302 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.7067, allocations: 0.6144 MB / 0.8308 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7067, allocations: 4 kB / 0.8308 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00209/0.7088, allocations: 0.8386 MB / 0.8316 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.7088, allocations: 7.531 kB / 0.8317 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7088, allocations: 2.438 kB / 0.8317 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.7094, allocations: 87.42 kB / 0.8317 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.7101, allocations: 161.7 kB / 0.8319 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.7126, allocations: 1.655 MB / 0.8335 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.7134, allocations: 86.08 kB / 0.8336 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.7135, allocations: 34.56 kB / 0.8336 GB, free: 15.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.7139, allocations: 261.2 kB / 0.8339 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.7141, allocations: 76.44 kB / 0.8339 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.7169, allocations: 1.094 MB / 0.835 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.7169, allocations: 9.438 kB / 0.835 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.7169, allocations: 7.984 kB / 0.835 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.7169, allocations: 3.984 kB / 0.835 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.7181, allocations: 0.8416 MB / 0.8359 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.7181, allocations: 0 / 0.8359 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.7187, allocations: 157.6 kB / 0.836 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.7192, allocations: 74.83 kB / 0.8361 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.7192, allocations: 27.34 kB / 0.8361 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7212, allocations: 1.666 MB / 0.8377 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7212, allocations: 5.5 kB / 0.8377 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.7233, allocations: 0.9008 MB / 0.8386 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.7237, allocations: 272.7 kB / 0.8389 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7239, allocations: 16.84 kB / 0.8389 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.7245, allocations: 57.31 kB / 0.8389 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7247, allocations: 63.69 kB / 0.839 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/0.7248, allocations: 32.16 kB / 0.839 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006067/0.7254, allocations: 440.3 kB / 0.8395 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7254, allocations: 2.75 kB / 0.8395 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009402/0.7263, allocations: 295.7 kB / 0.8397 GB, free: 10.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/0.7279, allocations: 0.6141 MB / 0.8403 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.7298, allocations: 0.8261 MB / 0.8411 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7298, allocations: 0 / 0.8411 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.7309, allocations: 0.5145 MB / 0.8416 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.732, allocations: 276.6 kB / 0.8419 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.736, allocations: 1.694 MB / 0.8436 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.7366, allocations: 0.9877 MB / 0.8445 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.737, allocations: 115.4 kB / 0.8446 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of SimCode: time 1.964e-06/0.737, allocations: 0 / 0.8446 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.02519/0.7622, allocations: 17.58 MB / 0.8618 GB, free: 6.059 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.ReaderTMY3HDirNorCalcHelperMain.o] Error 1