Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.001153/0.001153, allocations: 189.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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.739/0.739, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 57.84 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1371, allocations: 80.93 MB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.00583/0.143, allocations: 4.029 MB / 0.6692 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4558/0.5988, allocations: 150.4 MB / 0.8161 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.5996, allocations: 15.88 kB / 0.8161 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.6, allocations: 153.4 kB / 0.8163 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6014, allocations: 465.6 kB / 0.8167 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6029, allocations: 0.7099 MB / 0.8174 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008935/0.6038, allocations: 1.088 MB / 0.8185 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.6044, allocations: 0.5017 MB / 0.819 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.6048, allocations: 353.8 kB / 0.8193 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.6052, allocations: 368.1 kB / 0.8197 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.6053, allocations: 86.38 kB / 0.8198 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.6059, allocations: 392.3 kB / 0.8201 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.6061, allocations: 234.3 kB / 0.8204 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.6064, allocations: 427.9 kB / 0.8208 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.6076, allocations: 1.267 MB / 0.822 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6076, allocations: 0 / 0.822 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6076, allocations: 0 / 0.822 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.6076, allocations: 0 / 0.822 GB, free: 6.277 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.001613/0.6092, allocations: 1.173 MB / 0.8231 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.6092, allocations: 11.86 kB / 0.8232 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.6095, allocations: 105.2 kB / 0.8233 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008983/0.6104, allocations: 0.6759 MB / 0.8239 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.6105, allocations: 46.62 kB / 0.824 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.6105, allocations: 62.41 kB / 0.824 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6116, allocations: 0.6943 MB / 0.8247 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.6116, allocations: 10.09 kB / 0.8247 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.6117, allocations: 37.05 kB / 0.8247 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.6117, allocations: 15.09 kB / 0.8248 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.613, allocations: 0.9232 MB / 0.8257 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.6157, allocations: 2.313 MB / 0.8279 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.6165, allocations: 0.593 MB / 0.8285 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.6168, allocations: 223.5 kB / 0.8287 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.6169, allocations: 25.25 kB / 0.8287 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.6175, allocations: 353.3 kB / 0.8291 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.984e-06/0.6175, allocations: 0 / 0.8291 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001291/0.6188, allocations: 0.7133 MB / 0.8298 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.619, allocations: 239.4 kB / 0.83 GB, free: 488 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.6196, allocations: 0.5848 MB / 0.8306 GB, free: 132 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.6197, allocations: 42.92 kB / 0.8306 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.62, allocations: 338.5 kB / 0.8309 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6201, allocations: 197.6 kB / 0.8311 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.6204, allocations: 138.8 kB / 0.8312 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6205, allocations: 374.5 kB / 0.8316 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.6209, allocations: 192.3 kB / 0.8318 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.6213, allocations: 297 kB / 0.8321 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.622, allocations: 474.5 kB / 0.8325 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.622, allocations: 6.969 kB / 0.8325 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009101/0.6229, allocations: 0.6034 MB / 0.8331 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.623, allocations: 9.219 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.623, allocations: 2.719 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.623, allocations: 4.906 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.6234, allocations: 128.6 kB / 0.8333 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.6234, allocations: 5.812 kB / 0.8333 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.6239, allocations: 76.59 kB / 0.8333 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.6239, allocations: 30.42 kB / 0.8334 GB, free: 14.21 MB / 0.6075 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.0002688/0.6242, allocations: 246.5 kB / 0.8336 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6243, allocations: 71.66 kB / 0.8337 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6255, allocations: 0.7503 MB / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6255, allocations: 7.312 kB / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6255, allocations: 0 / 0.8344 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6256, allocations: 10.81 kB / 0.8344 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.6264, allocations: 0.8918 MB / 0.8353 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6264, allocations: 0 / 0.8353 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.6268, allocations: 117.3 kB / 0.8354 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6268, allocations: 2.438 kB / 0.8354 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6269, allocations: 19.3 kB / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6269, allocations: 2.781 kB / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6269, allocations: 0 / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.6277, allocations: 0.648 MB / 0.8361 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.628, allocations: 236 kB / 0.8363 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/0.6281, allocations: 16.64 kB / 0.8363 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.6285, allocations: 46.89 kB / 0.8363 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.6286, allocations: 49.75 kB / 0.8364 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.6286, allocations: 23.08 kB / 0.8364 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004323/0.629, allocations: 436.7 kB / 0.8368 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.629, allocations: 0 / 0.8368 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005906/0.6296, allocations: 246.2 kB / 0.8371 GB, free: 11.82 MB / 0.6075 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.001219/0.6309, allocations: 0.5947 MB / 0.8376 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007434/0.6316, allocations: 0.5007 MB / 0.8381 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6316, allocations: 0 / 0.8381 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.632, allocations: 285.2 kB / 0.8384 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.6329, allocations: 251 kB / 0.8386 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.6348, allocations: 1.331 MB / 0.8399 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.6353, allocations: 0.951 MB / 0.8409 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6355, allocations: 101.1 kB / 0.841 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.6355, allocations: 0 / 0.841 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of Templates: time 0.01501/0.6505, allocations: 12.3 MB / 0.853 GB, free: 14.77 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.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.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1