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.001423/0.001423, allocations: 106.7 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.001297/0.001297, allocations: 187 kB / 17.34 MB, free: 5.754 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 70.64 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006835/0.1926, allocations: 4.196 MB / 0.6694 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.674/0.8666, allocations: 150.5 MB / 0.8163 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.868, allocations: 20.84 kB / 0.8163 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.8694, allocations: 166.9 kB / 0.8165 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.8727, allocations: 474.6 kB / 0.817 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.8765, allocations: 0.8028 MB / 0.8177 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.879, allocations: 1.221 MB / 0.8189 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.8805, allocations: 0.5455 MB / 0.8195 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009323/0.8815, allocations: 433.3 kB / 0.8199 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.8821, allocations: 431.8 kB / 0.8203 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.8823, allocations: 97.34 kB / 0.8204 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.884, allocations: 0.8581 MB / 0.8212 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.8843, allocations: 257 kB / 0.8215 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004812/0.8848, allocations: 481.9 kB / 0.8219 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.887, allocations: 1.637 MB / 0.8235 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.887, allocations: 0 / 0.8235 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.496e-06/0.887, allocations: 0 / 0.8235 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.8871, allocations: 3.938 kB / 0.8235 GB, free: 5.402 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.002465/0.8895, allocations: 1.352 MB / 0.8248 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8896, allocations: 10.64 kB / 0.8249 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.8907, allocations: 192.6 kB / 0.825 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.8918, allocations: 0.7221 MB / 0.8257 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.8919, allocations: 50.38 kB / 0.8258 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.892, allocations: 73.62 kB / 0.8259 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.8934, allocations: 0.841 MB / 0.8267 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.8935, allocations: 0 / 0.8267 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.8935, allocations: 31.66 kB / 0.8267 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.8936, allocations: 17.59 kB / 0.8267 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.8953, allocations: 1.083 MB / 0.8278 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.8989, allocations: 2.328 MB / 0.8301 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.9002, allocations: 0.741 MB / 0.8308 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.9008, allocations: 301.2 kB / 0.8311 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.9009, allocations: 35.61 kB / 0.8311 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008705/0.9018, allocations: 462.2 kB / 0.8315 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.9018, allocations: 0 / 0.8315 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003341/0.9052, allocations: 1.167 MB / 0.8327 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.9053, allocations: 190.7 kB / 0.8329 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.906, allocations: 0.6082 MB / 0.8335 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.9061, allocations: 40.27 kB / 0.8335 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.9064, allocations: 351.2 kB / 0.8338 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.9066, allocations: 246.6 kB / 0.8341 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.9068, allocations: 152 kB / 0.8342 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.907, allocations: 384.1 kB / 0.8346 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.9076, allocations: 267.2 kB / 0.8348 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.9082, allocations: 363.4 kB / 0.8352 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.9095, allocations: 0.6089 MB / 0.8358 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.9095, allocations: 0 / 0.8358 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002146/0.9116, allocations: 0.8538 MB / 0.8366 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.9117, allocations: 7.625 kB / 0.8366 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9117, allocations: 2.094 kB / 0.8366 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.9123, allocations: 79.44 kB / 0.8367 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.913, allocations: 166.4 kB / 0.8369 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.9155, allocations: 1.654 MB / 0.8385 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.9162, allocations: 81 kB / 0.8385 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.9163, allocations: 39.16 kB / 0.8386 GB, free: 10.68 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.0004284/0.9167, allocations: 249.9 kB / 0.8388 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.9169, allocations: 76.97 kB / 0.8389 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.9194, allocations: 1.102 MB / 0.84 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9194, allocations: 11.25 kB / 0.84 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.9194, allocations: 3 kB / 0.84 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9194, allocations: 3.984 kB / 0.84 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.9203, allocations: 0.8427 MB / 0.8408 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.9204, allocations: 4 kB / 0.8408 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.921, allocations: 154.4 kB / 0.841 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.9214, allocations: 74.16 kB / 0.841 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.9215, allocations: 23.27 kB / 0.8411 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.9234, allocations: 1.666 MB / 0.8427 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9234, allocations: 3.938 kB / 0.8427 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.9255, allocations: 0.8991 MB / 0.8436 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.9258, allocations: 265.6 kB / 0.8438 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.926, allocations: 25.19 kB / 0.8438 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.9266, allocations: 61.7 kB / 0.8439 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.9267, allocations: 63.7 kB / 0.844 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.9268, allocations: 34.36 kB / 0.844 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005279/0.9273, allocations: 432.8 kB / 0.8444 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9273, allocations: 0 / 0.8444 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008693/0.9282, allocations: 303.3 kB / 0.8447 GB, free: 6.297 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.001492/0.9297, allocations: 0.6027 MB / 0.8453 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.9316, allocations: 0.8242 MB / 0.8461 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9317, allocations: 2.625 kB / 0.8461 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9327, allocations: 0.5124 MB / 0.8466 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.9338, allocations: 291.6 kB / 0.8469 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.9378, allocations: 1.686 MB / 0.8485 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.9384, allocations: 0.9877 MB / 0.8495 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.9387, allocations: 119.4 kB / 0.8496 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.9387, allocations: 0 / 0.8496 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.02578/0.9645, allocations: 17.71 MB / 0.8669 GB, free: 284 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