Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002023/0.002023, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.002009/0.002009, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.5/1.5, 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.9038/0.9038, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 70.19 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00674/0.1747, allocations: 4.189 MB / 0.6694 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6027/0.7774, allocations: 150.9 MB / 0.8168 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.7782, allocations: 19.38 kB / 0.8168 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.7788, allocations: 167.5 kB / 0.817 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.7805, allocations: 489.2 kB / 0.8175 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.7825, allocations: 0.7926 MB / 0.8182 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.7845, allocations: 1.218 MB / 0.8194 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.7853, allocations: 401.7 kB / 0.8198 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.7861, allocations: 432.2 kB / 0.8202 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.7867, allocations: 431 kB / 0.8206 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.7868, allocations: 95.53 kB / 0.8207 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.7885, allocations: 0.8605 MB / 0.8216 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.7888, allocations: 255.7 kB / 0.8218 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.7892, allocations: 490 kB / 0.8223 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.7916, allocations: 1.652 MB / 0.8239 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7916, allocations: 0 / 0.8239 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7916, allocations: 0 / 0.8239 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.7916, allocations: 2.125 kB / 0.8239 GB, free: 4.941 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.002516/0.7941, allocations: 1.388 MB / 0.8252 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7942, allocations: 8.984 kB / 0.8252 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.7953, allocations: 204.1 kB / 0.8254 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.7966, allocations: 0.7258 MB / 0.8261 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.7966, allocations: 49.59 kB / 0.8262 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.7967, allocations: 69.97 kB / 0.8263 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.7983, allocations: 0.8275 MB / 0.8271 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.7984, allocations: 0 / 0.8271 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.7985, allocations: 35.62 kB / 0.8271 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.7985, allocations: 17.72 kB / 0.8271 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.8004, allocations: 1.083 MB / 0.8282 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.8043, allocations: 2.325 MB / 0.8305 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.8057, allocations: 0.6979 MB / 0.8311 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/0.8064, allocations: 294.4 kB / 0.8314 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.802e-05/0.8064, allocations: 36.34 kB / 0.8314 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/0.8074, allocations: 452.8 kB / 0.8319 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.8074, allocations: 4 kB / 0.8319 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003569/0.811, allocations: 1.171 MB / 0.833 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.8111, allocations: 188.6 kB / 0.8332 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.8119, allocations: 0.6026 MB / 0.8338 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.812, allocations: 40.45 kB / 0.8338 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.8123, allocations: 359.7 kB / 0.8342 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.8126, allocations: 256.5 kB / 0.8344 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.8128, allocations: 153.6 kB / 0.8346 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.813, allocations: 381.2 kB / 0.8349 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.8137, allocations: 268 kB / 0.8352 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.8144, allocations: 362.3 kB / 0.8355 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.8158, allocations: 0.6125 MB / 0.8361 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8158, allocations: 3.656 kB / 0.8361 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002207/0.818, allocations: 0.8478 MB / 0.837 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.818, allocations: 20.89 kB / 0.837 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.818, allocations: 0 / 0.837 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.8186, allocations: 82.44 kB / 0.8371 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.8193, allocations: 157 kB / 0.8372 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.8216, allocations: 1.654 MB / 0.8388 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.8225, allocations: 82.59 kB / 0.8389 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.8225, allocations: 34.77 kB / 0.8389 GB, free: 10.18 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.0005178/0.823, allocations: 257.5 kB / 0.8392 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.8232, allocations: 81.67 kB / 0.8393 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.8259, allocations: 1.105 MB / 0.8403 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.8259, allocations: 7.688 kB / 0.8403 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.826, allocations: 2.125 kB / 0.8403 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.826, allocations: 7.984 kB / 0.8404 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.827, allocations: 0.8358 MB / 0.8412 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.827, allocations: 3.984 kB / 0.8412 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.8276, allocations: 163.2 kB / 0.8413 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.8281, allocations: 72.47 kB / 0.8414 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.8281, allocations: 23.52 kB / 0.8414 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.8302, allocations: 1.672 MB / 0.8431 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8302, allocations: 3.938 kB / 0.8431 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.8324, allocations: 0.8982 MB / 0.8439 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.8328, allocations: 269.7 kB / 0.8442 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.8329, allocations: 17 kB / 0.8442 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.8335, allocations: 62.31 kB / 0.8443 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.8336, allocations: 63.84 kB / 0.8443 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.8337, allocations: 36.16 kB / 0.8444 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005627/0.8342, allocations: 427.8 kB / 0.8448 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.8342, allocations: 1.938 kB / 0.8448 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008968/0.8351, allocations: 304.2 kB / 0.8451 GB, free: 5.781 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.001994/0.8371, allocations: 0.6222 MB / 0.8457 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.8391, allocations: 0.8002 MB / 0.8465 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8391, allocations: 0 / 0.8465 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8401, allocations: 494.1 kB / 0.8469 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.8414, allocations: 282.8 kB / 0.8472 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.8455, allocations: 1.709 MB / 0.8489 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.8462, allocations: 0.9916 MB / 0.8498 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.8466, allocations: 115.4 kB / 0.8499 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of SimCode: time 1.313e-06/0.8466, allocations: 0 / 0.8499 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.02712/0.8737, allocations: 17.64 MB / 0.8672 GB, free: 4 kB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_dev_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-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.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.ReaderTMY3HDirNorCalcHelperMain.o] Error 1