Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108 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.001742/0.001742, allocations: 193.5 kB / 17.34 MB, free: 5.758 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.552/1.552, 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.8064/0.8064, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 62.58 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005774/0.1586, allocations: 4.032 MB / 0.6643 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.459/0.6176, allocations: 150.4 MB / 0.8112 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006647/0.6183, allocations: 17.72 kB / 0.8112 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.6188, allocations: 159.1 kB / 0.8113 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.6201, allocations: 458.4 kB / 0.8118 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.6215, allocations: 0.7151 MB / 0.8125 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008649/0.6223, allocations: 1.077 MB / 0.8135 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.623, allocations: 0.5022 MB / 0.814 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.6234, allocations: 357.2 kB / 0.8143 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.6238, allocations: 370.5 kB / 0.8147 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.6239, allocations: 84.31 kB / 0.8148 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.6245, allocations: 392.8 kB / 0.8152 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.6247, allocations: 234.8 kB / 0.8154 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.6251, allocations: 427.7 kB / 0.8158 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.6263, allocations: 1.269 MB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6263, allocations: 0 / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6263, allocations: 3.219 kB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6263, allocations: 2.344 kB / 0.817 GB, free: 10.38 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.001606/0.6279, allocations: 1.18 MB / 0.8182 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.628, allocations: 8.5 kB / 0.8182 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.6282, allocations: 96.69 kB / 0.8183 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.6291, allocations: 0.6908 MB / 0.819 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.6292, allocations: 45.66 kB / 0.819 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.6292, allocations: 62.69 kB / 0.8191 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.6302, allocations: 0.7034 MB / 0.8197 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.6303, allocations: 0 / 0.8197 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.6303, allocations: 30.34 kB / 0.8198 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.6303, allocations: 16.12 kB / 0.8198 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6315, allocations: 0.9172 MB / 0.8207 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.6346, allocations: 2.313 MB / 0.8229 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/0.6354, allocations: 0.5973 MB / 0.8235 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.6357, allocations: 220 kB / 0.8237 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.521e-05/0.6358, allocations: 34.09 kB / 0.8238 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.6363, allocations: 345.6 kB / 0.8241 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.774e-06/0.6363, allocations: 0 / 0.8241 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001237/0.6376, allocations: 0.7067 MB / 0.8248 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.6377, allocations: 240.8 kB / 0.825 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.6385, allocations: 0.5997 MB / 0.8256 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.6386, allocations: 38.73 kB / 0.8256 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.6388, allocations: 327.8 kB / 0.826 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.639, allocations: 206.8 kB / 0.8262 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.6392, allocations: 139.8 kB / 0.8263 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6393, allocations: 373.7 kB / 0.8266 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.6396, allocations: 188.9 kB / 0.8268 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.64, allocations: 299 kB / 0.8271 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.6407, allocations: 475.6 kB / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6407, allocations: 2.125 kB / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009255/0.6416, allocations: 0.5998 MB / 0.8281 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6417, allocations: 8.844 kB / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.6417, allocations: 0 / 0.8282 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6417, allocations: 8.828 kB / 0.8282 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.6422, allocations: 126.1 kB / 0.8283 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6422, allocations: 6.688 kB / 0.8283 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6426, allocations: 80.55 kB / 0.8284 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.6427, allocations: 27.89 kB / 0.8284 GB, free: 2.859 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.0002941/0.643, allocations: 248.3 kB / 0.8286 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.6431, allocations: 70.41 kB / 0.8287 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.6444, allocations: 0.7509 MB / 0.8294 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6444, allocations: 4.75 kB / 0.8294 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6444, allocations: 6.188 kB / 0.8294 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6444, allocations: 3.984 kB / 0.8294 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.6454, allocations: 0.8869 MB / 0.8303 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6454, allocations: 0 / 0.8303 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.6458, allocations: 122.6 kB / 0.8304 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6458, allocations: 2.406 kB / 0.8304 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.6459, allocations: 23.3 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6459, allocations: 2.781 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6459, allocations: 2.094 kB / 0.8305 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.6468, allocations: 0.6464 MB / 0.8311 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6471, allocations: 235.9 kB / 0.8313 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.6472, allocations: 17.09 kB / 0.8313 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.6476, allocations: 44.09 kB / 0.8314 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.6477, allocations: 55.58 kB / 0.8314 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.6478, allocations: 30.05 kB / 0.8315 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005079/0.6483, allocations: 425.4 kB / 0.8319 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.483e-06/0.6483, allocations: 2.688 kB / 0.8319 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006858/0.649, allocations: 248.4 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.001462/0.6504, allocations: 0.5961 MB / 0.8327 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.6512, allocations: 0.5085 MB / 0.8332 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6512, allocations: 2.156 kB / 0.8332 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.6516, allocations: 273.3 kB / 0.8334 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.000975/0.6526, allocations: 256 kB / 0.8337 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.6546, allocations: 1.333 MB / 0.835 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.6551, allocations: 0.955 MB / 0.8359 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6553, allocations: 100.8 kB / 0.836 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6553, allocations: 1.812 kB / 0.836 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.01663/0.672, allocations: 12.51 MB / 0.8482 GB, free: 4.199 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1