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.001392/0.001393, allocations: 105.7 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.001223/0.001223, allocations: 191 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.361/1.361, 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.841/0.841, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.23 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1698, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006363/0.1762, allocations: 4.025 MB / 0.6692 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5982/0.7744, allocations: 150.4 MB / 0.8161 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.7753, allocations: 19.56 kB / 0.8161 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.7759, allocations: 158.2 kB / 0.8163 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.7775, allocations: 463.5 kB / 0.8167 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.7793, allocations: 0.7121 MB / 0.8174 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.7804, allocations: 1.081 MB / 0.8185 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.7811, allocations: 0.5023 MB / 0.819 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.7816, allocations: 364.5 kB / 0.8193 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.7821, allocations: 369.4 kB / 0.8197 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.7822, allocations: 83.84 kB / 0.8197 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.7829, allocations: 395.3 kB / 0.8201 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.7831, allocations: 232.2 kB / 0.8203 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.7834, allocations: 425.5 kB / 0.8207 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.7848, allocations: 1.266 MB / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.7848, allocations: 0 / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7848, allocations: 0 / 0.822 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.7848, allocations: 0 / 0.822 GB, free: 6.273 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.001744/0.7865, allocations: 1.183 MB / 0.8231 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7866, allocations: 9.141 kB / 0.8231 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.7869, allocations: 101.9 kB / 0.8232 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.7879, allocations: 0.6851 MB / 0.8239 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.7879, allocations: 42.22 kB / 0.824 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.788, allocations: 60.69 kB / 0.824 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/0.789, allocations: 0.7009 MB / 0.8247 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.789, allocations: 3.938 kB / 0.8247 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.7891, allocations: 27.34 kB / 0.8247 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.7891, allocations: 19.66 kB / 0.8247 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7902, allocations: 0.927 MB / 0.8256 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.7931, allocations: 2.31 MB / 0.8279 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.7939, allocations: 0.5972 MB / 0.8285 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.7942, allocations: 224.9 kB / 0.8287 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.7943, allocations: 29.34 kB / 0.8287 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.7948, allocations: 346 kB / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.7948, allocations: 0 / 0.8291 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001164/0.796, allocations: 0.7097 MB / 0.8298 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.7961, allocations: 247.2 kB / 0.83 GB, free: 476 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.7968, allocations: 0.5845 MB / 0.8306 GB, free: 120 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.7968, allocations: 42.48 kB / 0.8306 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.7971, allocations: 330.6 kB / 0.8309 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.7973, allocations: 206.2 kB / 0.8311 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.7974, allocations: 139 kB / 0.8312 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.7976, allocations: 373.4 kB / 0.8316 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.7979, allocations: 192.8 kB / 0.8318 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.7983, allocations: 298.3 kB / 0.8321 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.7989, allocations: 473.7 kB / 0.8325 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.799, allocations: 3.75 kB / 0.8325 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008891/0.7999, allocations: 0.6051 MB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7999, allocations: 5.719 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7999, allocations: 2.203 kB / 0.8331 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7999, allocations: 6.5 kB / 0.8331 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.8004, allocations: 130.3 kB / 0.8333 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.8004, allocations: 7.844 kB / 0.8333 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.8009, allocations: 78.42 kB / 0.8333 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.8009, allocations: 27.86 kB / 0.8334 GB, free: 14.2 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.0002947/0.8012, allocations: 246.9 kB / 0.8336 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.8013, allocations: 74.12 kB / 0.8337 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.8026, allocations: 0.7434 MB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.8026, allocations: 11.78 kB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8027, allocations: 0 / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.8027, allocations: 5.797 kB / 0.8344 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.8036, allocations: 0.8843 MB / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8036, allocations: 0 / 0.8353 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.804, allocations: 120.7 kB / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.804, allocations: 2.125 kB / 0.8354 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.8041, allocations: 23.92 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8041, allocations: 2.5 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8041, allocations: 6.594 kB / 0.8354 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.805, allocations: 0.6431 MB / 0.836 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.8052, allocations: 236.8 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.8053, allocations: 13.06 kB / 0.8363 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.8057, allocations: 44.08 kB / 0.8363 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.8058, allocations: 57.33 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.8059, allocations: 29.77 kB / 0.8364 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004512/0.8063, allocations: 422 kB / 0.8368 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8063, allocations: 0 / 0.8368 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006435/0.807, allocations: 249.1 kB / 0.8371 GB, free: 11.81 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.001307/0.8083, allocations: 0.5981 MB / 0.8376 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007923/0.8091, allocations: 0.5006 MB / 0.8381 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8091, allocations: 6.469 kB / 0.8381 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.8095, allocations: 274.6 kB / 0.8384 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.8104, allocations: 246.2 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.002026/0.8125, allocations: 1.338 MB / 0.8399 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.813, allocations: 0.9508 MB / 0.8409 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.8132, allocations: 103.2 kB / 0.841 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.8132, allocations: 0 / 0.841 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.0188/0.8321, allocations: 12.5 MB / 0.8532 GB, free: 14.45 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