Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001433/0.001433, allocations: 111.7 kB / 16.41 MB, free: 6.492 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.001376/0.001377, allocations: 183 kB / 17.34 MB, free: 5.762 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.405/1.405, 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.8374/0.8374, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.41 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006317/0.1656, allocations: 4.023 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5973/0.763, allocations: 150.4 MB / 0.8111 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.7639, allocations: 17.53 kB / 0.8112 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.7647, allocations: 154.7 kB / 0.8113 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.7666, allocations: 471.5 kB / 0.8118 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.7685, allocations: 0.7171 MB / 0.8125 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.77, allocations: 1.085 MB / 0.8135 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009476/0.7709, allocations: 0.5011 MB / 0.814 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.7716, allocations: 354.9 kB / 0.8143 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.7722, allocations: 371.5 kB / 0.8147 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.7725, allocations: 87.41 kB / 0.8148 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008446/0.7733, allocations: 386.8 kB / 0.8151 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.7736, allocations: 232.4 kB / 0.8154 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.774, allocations: 425.2 kB / 0.8158 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.7755, allocations: 1.273 MB / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7755, allocations: 0 / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7755, allocations: 0 / 0.817 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.7755, allocations: 3.984 kB / 0.817 GB, free: 10.4 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.001776/0.7773, allocations: 1.182 MB / 0.8182 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7773, allocations: 10.12 kB / 0.8182 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.7776, allocations: 105 kB / 0.8183 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.7787, allocations: 0.6688 MB / 0.8189 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.7788, allocations: 49.66 kB / 0.819 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.7789, allocations: 60.25 kB / 0.819 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.7805, allocations: 0.7052 MB / 0.8197 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.7805, allocations: 6.719 kB / 0.8197 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.7806, allocations: 28.97 kB / 0.8198 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.7807, allocations: 17.91 kB / 0.8198 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.7826, allocations: 0.9177 MB / 0.8207 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.7872, allocations: 2.318 MB / 0.8229 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.7887, allocations: 0.5981 MB / 0.8235 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.7892, allocations: 220.1 kB / 0.8237 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/0.7893, allocations: 34.56 kB / 0.8238 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.7902, allocations: 345.4 kB / 0.8241 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 4.709e-06/0.7902, allocations: 3.938 kB / 0.8241 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.002002/0.7922, allocations: 0.7025 MB / 0.8248 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.7924, allocations: 245.5 kB / 0.825 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.7937, allocations: 0.5982 MB / 0.8256 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/0.7938, allocations: 36.45 kB / 0.8256 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.7942, allocations: 328.5 kB / 0.826 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.7945, allocations: 202.4 kB / 0.8261 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.7948, allocations: 140.3 kB / 0.8263 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.7951, allocations: 378.9 kB / 0.8266 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.7956, allocations: 188.8 kB / 0.8268 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.7963, allocations: 295.7 kB / 0.8271 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.7973, allocations: 477.3 kB / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.7974, allocations: 2.781 kB / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001597/0.799, allocations: 0.5999 MB / 0.8281 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.799, allocations: 4.562 kB / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.799, allocations: 2.719 kB / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.7991, allocations: 6.75 kB / 0.8282 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.7999, allocations: 131.9 kB / 0.8283 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.7999, allocations: 9.75 kB / 0.8283 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.8007, allocations: 76.59 kB / 0.8284 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/0.8009, allocations: 35.81 kB / 0.8284 GB, free: 2.852 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.0005545/0.8014, allocations: 244 kB / 0.8286 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.8017, allocations: 70.41 kB / 0.8287 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.8037, allocations: 0.7453 MB / 0.8294 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.8037, allocations: 7.5 kB / 0.8294 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8038, allocations: 1.969 kB / 0.8294 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.8038, allocations: 7.984 kB / 0.8294 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.8055, allocations: 0.8863 MB / 0.8303 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8055, allocations: 2.438 kB / 0.8303 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.8061, allocations: 114.6 kB / 0.8304 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.8061, allocations: 6.031 kB / 0.8304 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.8062, allocations: 23.23 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.8062, allocations: 6.938 kB / 0.8305 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.8062, allocations: 2.438 kB / 0.8305 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.8077, allocations: 0.6371 MB / 0.8311 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.8082, allocations: 239.9 kB / 0.8313 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.8084, allocations: 21.11 kB / 0.8313 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.8091, allocations: 44.02 kB / 0.8314 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.8093, allocations: 51.66 kB / 0.8314 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.8094, allocations: 29.3 kB / 0.8315 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008301/0.8102, allocations: 430.3 kB / 0.8319 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8102, allocations: 0 / 0.8319 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001135/0.8114, allocations: 250 kB / 0.8321 GB, free: 492 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.00215/0.8135, allocations: 0.5928 MB / 0.8327 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.8149, allocations: 0.5013 MB / 0.8332 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8149, allocations: 4.062 kB / 0.8332 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.8156, allocations: 280.2 kB / 0.8334 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.001568/0.8172, allocations: 254.3 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.003332/0.8205, allocations: 1.331 MB / 0.835 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.8214, allocations: 0.9544 MB / 0.8359 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.8218, allocations: 107.7 kB / 0.836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.8218, allocations: 0 / 0.836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.02856/0.8504, allocations: 12.39 MB / 0.8481 GB, free: 4.293 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_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/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_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.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_usingTwoYearDataCalcHelperMain.o] Error 1