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.001367/0.001367, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00137/0.00137, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7897/0.7897, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 69.95 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.93 MB / 0.6653 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006932/0.172, allocations: 4.196 MB / 0.6694 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6148/0.7868, allocations: 150.5 MB / 0.8163 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.7877, allocations: 16.31 kB / 0.8163 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.7884, allocations: 165.1 kB / 0.8165 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.7902, allocations: 487.9 kB / 0.817 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.7923, allocations: 0.7905 MB / 0.8177 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.7936, allocations: 1.23 MB / 0.8189 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.7944, allocations: 0.5543 MB / 0.8195 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006445/0.7951, allocations: 431.8 kB / 0.8199 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.7956, allocations: 433.2 kB / 0.8203 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.7957, allocations: 96.59 kB / 0.8204 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.7974, allocations: 0.8561 MB / 0.8212 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.7976, allocations: 259.9 kB / 0.8215 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.7981, allocations: 488.6 kB / 0.8219 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.8003, allocations: 1.628 MB / 0.8235 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8003, allocations: 2.906 kB / 0.8235 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.549e-06/0.8003, allocations: 0 / 0.8235 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.8004, allocations: 3.938 kB / 0.8235 GB, free: 5.312 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.002593/0.803, allocations: 1.351 MB / 0.8249 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.803, allocations: 8.891 kB / 0.8249 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.8042, allocations: 194 kB / 0.8251 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.8053, allocations: 0.7225 MB / 0.8258 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.8053, allocations: 49.38 kB / 0.8258 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.8054, allocations: 69.22 kB / 0.8259 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.8069, allocations: 0.8368 MB / 0.8267 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.8069, allocations: 8 kB / 0.8267 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.807, allocations: 30.12 kB / 0.8267 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.8071, allocations: 15.25 kB / 0.8267 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.809, allocations: 1.078 MB / 0.8278 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.8126, allocations: 2.326 MB / 0.8301 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.814, allocations: 0.7444 MB / 0.8308 GB, free: 196 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.8147, allocations: 305.7 kB / 0.8311 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.8148, allocations: 35.52 kB / 0.8311 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.8157, allocations: 462 kB / 0.8316 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.8157, allocations: 0 / 0.8316 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003431/0.8191, allocations: 1.165 MB / 0.8327 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.8193, allocations: 192.3 kB / 0.8329 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.8202, allocations: 0.6042 MB / 0.8335 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.8202, allocations: 39.11 kB / 0.8335 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.8206, allocations: 356.8 kB / 0.8339 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.8208, allocations: 238.8 kB / 0.8341 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.821, allocations: 155 kB / 0.8342 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8212, allocations: 381 kB / 0.8346 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.8219, allocations: 266.8 kB / 0.8348 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.8226, allocations: 367.4 kB / 0.8352 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.8239, allocations: 0.6125 MB / 0.8358 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8239, allocations: 2.781 kB / 0.8358 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002172/0.8261, allocations: 0.8501 MB / 0.8366 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.8261, allocations: 5.062 kB / 0.8366 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8262, allocations: 3.984 kB / 0.8366 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.8268, allocations: 82.28 kB / 0.8367 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.8274, allocations: 155.7 kB / 0.8369 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8296, allocations: 1.66 MB / 0.8385 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.8303, allocations: 81.89 kB / 0.8386 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.8304, allocations: 32 kB / 0.8386 GB, free: 10.6 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.0004641/0.8309, allocations: 256.9 kB / 0.8388 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.8311, allocations: 74.34 kB / 0.8389 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.8336, allocations: 1.091 MB / 0.84 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.8337, allocations: 13.92 kB / 0.84 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8337, allocations: 4 kB / 0.84 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.8337, allocations: 3.984 kB / 0.84 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.8348, allocations: 0.8442 MB / 0.8408 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8348, allocations: 0 / 0.8408 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.8354, allocations: 158 kB / 0.841 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.8358, allocations: 70.36 kB / 0.841 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.8359, allocations: 27.62 kB / 0.8411 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.8379, allocations: 1.671 MB / 0.8427 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.8379, allocations: 9.484 kB / 0.8427 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.84, allocations: 0.8949 MB / 0.8436 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.8403, allocations: 267.1 kB / 0.8438 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.8405, allocations: 18.72 kB / 0.8438 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.841, allocations: 63.38 kB / 0.8439 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.8412, allocations: 63.78 kB / 0.844 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.8413, allocations: 38.31 kB / 0.844 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005587/0.8418, allocations: 432.9 kB / 0.8444 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8419, allocations: 0 / 0.8444 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008578/0.8427, allocations: 300.2 kB / 0.8447 GB, free: 6.215 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.001438/0.8442, allocations: 0.6096 MB / 0.8453 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.8461, allocations: 0.8269 MB / 0.8461 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8461, allocations: 0 / 0.8461 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.8474, allocations: 0.5159 MB / 0.8466 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.849, allocations: 279.5 kB / 0.8469 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.8543, allocations: 1.694 MB / 0.8485 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.8552, allocations: 0.9877 MB / 0.8495 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.8556, allocations: 115.4 kB / 0.8496 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.8557, allocations: 0 / 0.8496 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of Templates: time 0.03208/0.8877, allocations: 17.59 MB / 0.8668 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