Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001305/0.001305, allocations: 109 kB / 16.41 MB, free: 6.469 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.001349/0.001349, allocations: 187 kB / 17.34 MB, free: 5.715 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.377/1.377, 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/package.mo): time 0.794/0.794, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.58 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 80.2 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006237/0.1542, allocations: 4.033 MB / 0.6643 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5835/0.7378, allocations: 150.4 MB / 0.8112 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/0.7387, allocations: 20.12 kB / 0.8112 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.7395, allocations: 160.6 kB / 0.8113 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.7416, allocations: 463.4 kB / 0.8118 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.7435, allocations: 0.7115 MB / 0.8125 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.7451, allocations: 1.087 MB / 0.8135 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009841/0.7461, allocations: 0.4973 MB / 0.814 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.7468, allocations: 364.1 kB / 0.8144 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.7475, allocations: 368 kB / 0.8147 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.7478, allocations: 84.09 kB / 0.8148 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009846/0.7488, allocations: 391.3 kB / 0.8152 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.7491, allocations: 237.8 kB / 0.8154 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.7498, allocations: 425.8 kB / 0.8158 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.7517, allocations: 1.267 MB / 0.817 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7517, allocations: 2.5 kB / 0.817 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7517, allocations: 4 kB / 0.817 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.484e-05/0.7518, allocations: 0 / 0.817 GB, free: 10.35 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.002585/0.7544, allocations: 1.178 MB / 0.8182 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7544, allocations: 7.375 kB / 0.8182 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.7548, allocations: 98.69 kB / 0.8183 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.756, allocations: 0.6882 MB / 0.819 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.756, allocations: 47.62 kB / 0.819 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.7561, allocations: 60.16 kB / 0.8191 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.7572, allocations: 0.7042 MB / 0.8198 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7572, allocations: 1.969 kB / 0.8198 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.7573, allocations: 27.81 kB / 0.8198 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.7573, allocations: 19.41 kB / 0.8198 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7585, allocations: 0.9235 MB / 0.8207 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.7615, allocations: 2.314 MB / 0.823 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.7623, allocations: 0.5975 MB / 0.8235 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.7626, allocations: 219.8 kB / 0.8238 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-05/0.7627, allocations: 30.27 kB / 0.8238 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.7633, allocations: 349.5 kB / 0.8241 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.474e-06/0.7633, allocations: 4 kB / 0.8241 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.00121/0.7645, allocations: 0.7065 MB / 0.8248 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7646, allocations: 243.3 kB / 0.825 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.7653, allocations: 0.5881 MB / 0.8256 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.7654, allocations: 35.73 kB / 0.8257 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.7657, allocations: 340.1 kB / 0.826 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.7658, allocations: 199.2 kB / 0.8262 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.766, allocations: 140 kB / 0.8263 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7662, allocations: 381.5 kB / 0.8267 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.7665, allocations: 188.4 kB / 0.8268 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.7669, allocations: 293.5 kB / 0.8271 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.7676, allocations: 477.8 kB / 0.8276 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7676, allocations: 0 / 0.8276 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000955/0.7685, allocations: 0.6033 MB / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7686, allocations: 7.562 kB / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7686, allocations: 4.156 kB / 0.8282 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7686, allocations: 4.5 kB / 0.8282 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.7691, allocations: 126.3 kB / 0.8283 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.7691, allocations: 8.391 kB / 0.8283 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.7696, allocations: 72.88 kB / 0.8284 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.7697, allocations: 35.36 kB / 0.8284 GB, free: 2.863 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.000326/0.77, allocations: 255.6 kB / 0.8287 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.7701, allocations: 67.59 kB / 0.8287 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.7714, allocations: 0.7466 MB / 0.8295 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.7714, allocations: 11.58 kB / 0.8295 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7714, allocations: 0 / 0.8295 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.7715, allocations: 4 kB / 0.8295 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.7724, allocations: 0.8891 MB / 0.8303 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7724, allocations: 3.984 kB / 0.8303 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.7729, allocations: 116.6 kB / 0.8304 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.7729, allocations: 2.219 kB / 0.8305 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.7729, allocations: 23.45 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.7729, allocations: 3 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7729, allocations: 0 / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/0.7739, allocations: 0.6399 MB / 0.8311 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.7741, allocations: 240.1 kB / 0.8313 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.7743, allocations: 13.28 kB / 0.8313 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.7747, allocations: 46.2 kB / 0.8314 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.7748, allocations: 57.61 kB / 0.8314 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.7748, allocations: 23.52 kB / 0.8315 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004746/0.7753, allocations: 430 kB / 0.8319 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.743e-06/0.7753, allocations: 2.719 kB / 0.8319 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006531/0.776, allocations: 249.5 kB / 0.8321 GB, free: 496 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.001307/0.7773, allocations: 0.6001 MB / 0.8327 GB, free: 260 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008366/0.7781, allocations: 0.5007 MB / 0.8332 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7781, allocations: 0 / 0.8332 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.7785, allocations: 276.4 kB / 0.8335 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7796, allocations: 254.3 kB / 0.8337 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.7816, allocations: 1.329 MB / 0.835 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.7821, allocations: 0.9624 MB / 0.8359 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.7823, allocations: 99.55 kB / 0.836 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.7824, allocations: 0 / 0.836 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.01861/0.801, allocations: 12.4 MB / 0.8481 GB, free: 4.32 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_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/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_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.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_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1