Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.00103/0.00103, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.358/1.358, 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/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006028/0.1624, allocations: 4.018 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5902/0.7527, allocations: 150.4 MB / 0.8112 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.7534, allocations: 14.31 kB / 0.8112 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.7539, allocations: 163.3 kB / 0.8113 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.7553, allocations: 472.2 kB / 0.8118 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.7567, allocations: 0.7068 MB / 0.8125 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.7577, allocations: 1.087 MB / 0.8135 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.7584, allocations: 0.5056 MB / 0.814 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.7588, allocations: 354.8 kB / 0.8144 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.7592, allocations: 370.2 kB / 0.8147 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.7593, allocations: 84.41 kB / 0.8148 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.7599, allocations: 392 kB / 0.8152 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.7601, allocations: 233 kB / 0.8154 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.7604, allocations: 425.8 kB / 0.8158 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.7616, allocations: 1.27 MB / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7616, allocations: 5.812 kB / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7616, allocations: 0 / 0.817 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.7616, allocations: 0 / 0.817 GB, free: 10.37 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.001714/0.7634, allocations: 1.179 MB / 0.8182 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7634, allocations: 14.25 kB / 0.8182 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.7637, allocations: 102.2 kB / 0.8183 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009414/0.7647, allocations: 0.6731 MB / 0.819 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.7647, allocations: 47.69 kB / 0.819 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.7648, allocations: 59.59 kB / 0.8191 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.7658, allocations: 0.7037 MB / 0.8197 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.7658, allocations: 0 / 0.8197 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.7659, allocations: 30.62 kB / 0.8198 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.7659, allocations: 15.97 kB / 0.8198 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7671, allocations: 0.92 MB / 0.8207 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.77, allocations: 2.318 MB / 0.823 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.7709, allocations: 0.6 MB / 0.8235 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.7712, allocations: 223 kB / 0.8238 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.7713, allocations: 33.2 kB / 0.8238 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.7719, allocations: 347.5 kB / 0.8241 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.7719, allocations: 0 / 0.8241 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001224/0.7731, allocations: 0.7067 MB / 0.8248 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.7732, allocations: 239.3 kB / 0.825 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.7739, allocations: 0.5958 MB / 0.8256 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.774, allocations: 36.45 kB / 0.8256 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.7742, allocations: 335.7 kB / 0.826 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.7744, allocations: 202.8 kB / 0.8262 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.7746, allocations: 140.2 kB / 0.8263 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7748, allocations: 380.8 kB / 0.8267 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.7751, allocations: 188.9 kB / 0.8268 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.7755, allocations: 289.1 kB / 0.8271 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.7762, allocations: 476.7 kB / 0.8276 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7762, allocations: 0 / 0.8276 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009252/0.7771, allocations: 0.6024 MB / 0.8282 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7771, allocations: 10.25 kB / 0.8282 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7771, allocations: 3 kB / 0.8282 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.7772, allocations: 3.531 kB / 0.8282 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.7776, allocations: 129.6 kB / 0.8283 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7777, allocations: 9.094 kB / 0.8283 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.7781, allocations: 76.41 kB / 0.8284 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.7782, allocations: 31.47 kB / 0.8284 GB, free: 2.844 MB / 0.5919 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.0003241/0.7785, allocations: 251.6 kB / 0.8286 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.7786, allocations: 68.28 kB / 0.8287 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.78, allocations: 0.747 MB / 0.8294 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.78, allocations: 11.11 kB / 0.8295 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.78, allocations: 3 kB / 0.8295 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.78, allocations: 3.984 kB / 0.8295 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.781, allocations: 0.8872 MB / 0.8303 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.781, allocations: 0 / 0.8303 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.7814, allocations: 120.7 kB / 0.8304 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7814, allocations: 2.312 kB / 0.8304 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.7815, allocations: 23.8 kB / 0.8305 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.7815, allocations: 6.375 kB / 0.8305 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7815, allocations: 0 / 0.8305 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.7824, allocations: 0.6323 MB / 0.8311 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.7827, allocations: 242.4 kB / 0.8313 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.7828, allocations: 21.31 kB / 0.8313 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.7832, allocations: 44.48 kB / 0.8314 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.7833, allocations: 54.22 kB / 0.8314 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.7834, allocations: 25.05 kB / 0.8315 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004931/0.7839, allocations: 430.5 kB / 0.8319 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7839, allocations: 3.938 kB / 0.8319 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006895/0.7846, allocations: 243 kB / 0.8321 GB, free: 488 kB / 0.5919 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.001343/0.7859, allocations: 0.6045 MB / 0.8327 GB, free: 248 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008809/0.7868, allocations: 0.5041 MB / 0.8332 GB, free: 24 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7868, allocations: 0 / 0.8332 GB, free: 24 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.7872, allocations: 279.7 kB / 0.8335 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.7883, allocations: 252.4 kB / 0.8337 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.7902, allocations: 1.33 MB / 0.835 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.7908, allocations: 0.9482 MB / 0.8359 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.7911, allocations: 107 kB / 0.836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.7911, allocations: 0 / 0.836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.01818/0.8092, allocations: 12.4 MB / 0.8481 GB, free: 4.289 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1