Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001307/0.001307, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.461/1.461, 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.8723/0.8723, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 66.8 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1777, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006232/0.1839, allocations: 4.029 MB / 0.6693 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6501/0.834, allocations: 150.9 MB / 0.8166 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.8349, allocations: 14.94 kB / 0.8166 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.8355, allocations: 166 kB / 0.8168 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.8378, allocations: 463.3 kB / 0.8172 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.8402, allocations: 0.7131 MB / 0.8179 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.8421, allocations: 1.077 MB / 0.819 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.8428, allocations: 376.4 kB / 0.8193 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.8435, allocations: 355.3 kB / 0.8197 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.8441, allocations: 373 kB / 0.82 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.8442, allocations: 84.97 kB / 0.8201 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.8451, allocations: 385 kB / 0.8205 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.8453, allocations: 230.4 kB / 0.8207 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.8457, allocations: 427.3 kB / 0.8211 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.8475, allocations: 1.276 MB / 0.8223 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8475, allocations: 0 / 0.8223 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8475, allocations: 3.938 kB / 0.8223 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8475, allocations: 0 / 0.8223 GB, free: 5.914 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.002112/0.8497, allocations: 1.213 MB / 0.8235 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.8497, allocations: 8.609 kB / 0.8235 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.85, allocations: 116.4 kB / 0.8236 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.8511, allocations: 0.6775 MB / 0.8243 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.8512, allocations: 44.28 kB / 0.8243 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.8513, allocations: 60.34 kB / 0.8244 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.8524, allocations: 0.7119 MB / 0.8251 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.8524, allocations: 0 / 0.8251 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.8525, allocations: 31.73 kB / 0.8251 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.8525, allocations: 14.84 kB / 0.8251 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.8538, allocations: 0.9239 MB / 0.826 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.8571, allocations: 2.323 MB / 0.8283 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.8581, allocations: 0.5695 MB / 0.8289 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.8584, allocations: 205.2 kB / 0.8291 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/0.8584, allocations: 25.64 kB / 0.8291 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.859, allocations: 346.3 kB / 0.8294 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.859, allocations: 0 / 0.8294 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001343/0.8604, allocations: 0.7093 MB / 0.8301 GB, free: 364 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.8605, allocations: 243.6 kB / 0.8303 GB, free: 72 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.8613, allocations: 0.5918 MB / 0.8309 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.8614, allocations: 36.3 kB / 0.831 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.8617, allocations: 341.2 kB / 0.8313 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.8619, allocations: 215.5 kB / 0.8315 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.8621, allocations: 140.7 kB / 0.8316 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.8623, allocations: 370.4 kB / 0.832 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.8626, allocations: 198.3 kB / 0.8322 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.863, allocations: 290.1 kB / 0.8324 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.8638, allocations: 477.1 kB / 0.8329 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8638, allocations: 0 / 0.8329 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001011/0.8648, allocations: 0.601 MB / 0.8335 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8648, allocations: 4.844 kB / 0.8335 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8648, allocations: 2.094 kB / 0.8335 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.8648, allocations: 5.406 kB / 0.8335 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.8653, allocations: 136.6 kB / 0.8336 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.8653, allocations: 4.531 kB / 0.8336 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.8658, allocations: 78.53 kB / 0.8337 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.8659, allocations: 26.36 kB / 0.8337 GB, free: 13.8 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.0003752/0.8663, allocations: 246.1 kB / 0.834 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8664, allocations: 75.28 kB / 0.834 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.8678, allocations: 0.7532 MB / 0.8348 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.8679, allocations: 11.56 kB / 0.8348 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8679, allocations: 2.891 kB / 0.8348 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8679, allocations: 7.922 kB / 0.8348 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.869, allocations: 0.8852 MB / 0.8357 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.869, allocations: 0 / 0.8357 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.8694, allocations: 111.7 kB / 0.8358 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.8694, allocations: 2.688 kB / 0.8358 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.8694, allocations: 26.83 kB / 0.8358 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.8694, allocations: 6.719 kB / 0.8358 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8694, allocations: 7.969 kB / 0.8358 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.8704, allocations: 0.6447 MB / 0.8364 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.8708, allocations: 243.7 kB / 0.8367 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.8709, allocations: 20.73 kB / 0.8367 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.8713, allocations: 42.33 kB / 0.8367 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8714, allocations: 55.31 kB / 0.8368 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.8714, allocations: 25.3 kB / 0.8368 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005485/0.872, allocations: 431.9 kB / 0.8372 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.872, allocations: 0 / 0.8372 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007294/0.8727, allocations: 237.6 kB / 0.8374 GB, free: 11.39 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.001899/0.8746, allocations: 0.5963 MB / 0.838 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009343/0.8755, allocations: 497.7 kB / 0.8385 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8756, allocations: 0 / 0.8385 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.876, allocations: 260.3 kB / 0.8387 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.877, allocations: 249 kB / 0.839 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.8794, allocations: 1.361 MB / 0.8403 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.88, allocations: 0.954 MB / 0.8412 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.8802, allocations: 103.6 kB / 0.8413 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.8802, allocations: 0 / 0.8413 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.02074/0.901, allocations: 12.43 MB / 0.8535 GB, free: 14.27 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.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_usingTwoYearDataCalcHelperMain.o] Error 1