Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 105.1 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.0009725/0.0009725, allocations: 191 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.367/1.367, 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/package.mo): time 0.7973/0.7973, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.08 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005993/0.1558, allocations: 4.033 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5409/0.6967, allocations: 150.4 MB / 0.8111 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/0.6974, allocations: 15.81 kB / 0.8112 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.6981, allocations: 158.8 kB / 0.8113 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.6999, allocations: 467.5 kB / 0.8117 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.7016, allocations: 0.7036 MB / 0.8124 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.7029, allocations: 1.081 MB / 0.8135 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008585/0.7038, allocations: 0.5079 MB / 0.814 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.7044, allocations: 364.1 kB / 0.8143 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.705, allocations: 362.6 kB / 0.8147 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.7053, allocations: 84.09 kB / 0.8148 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008619/0.7061, allocations: 392.5 kB / 0.8151 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.7065, allocations: 229.5 kB / 0.8154 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.7071, allocations: 427.3 kB / 0.8158 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.7087, allocations: 1.271 MB / 0.817 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7087, allocations: 0 / 0.817 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7087, allocations: 0 / 0.817 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.7087, allocations: 0 / 0.817 GB, free: 10.43 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.001654/0.7104, allocations: 1.19 MB / 0.8182 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7104, allocations: 7.812 kB / 0.8182 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.7107, allocations: 98.12 kB / 0.8183 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.7116, allocations: 0.6797 MB / 0.8189 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.7117, allocations: 42.28 kB / 0.819 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.7117, allocations: 66.62 kB / 0.819 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.7127, allocations: 0.6991 MB / 0.8197 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.7128, allocations: 3.406 kB / 0.8197 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.7128, allocations: 24.69 kB / 0.8197 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.7129, allocations: 15.75 kB / 0.8198 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.714, allocations: 0.9318 MB / 0.8207 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.7168, allocations: 2.313 MB / 0.8229 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.7176, allocations: 0.6009 MB / 0.8235 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.7179, allocations: 226.8 kB / 0.8237 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.718, allocations: 25.83 kB / 0.8238 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.7185, allocations: 353.6 kB / 0.8241 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.185e-06/0.7185, allocations: 0 / 0.8241 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001174/0.7197, allocations: 0.7044 MB / 0.8248 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.7198, allocations: 242.8 kB / 0.825 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/0.7205, allocations: 0.5883 MB / 0.8256 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.7205, allocations: 38.95 kB / 0.8256 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.7208, allocations: 331.3 kB / 0.8259 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7209, allocations: 207.7 kB / 0.8261 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.7211, allocations: 138.2 kB / 0.8263 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7212, allocations: 373.3 kB / 0.8266 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.7215, allocations: 189.4 kB / 0.8268 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.7219, allocations: 297.3 kB / 0.8271 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.7226, allocations: 477.9 kB / 0.8275 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7226, allocations: 0.5625 kB / 0.8275 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009191/0.7235, allocations: 0.6092 MB / 0.8281 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7236, allocations: 5.344 kB / 0.8281 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7236, allocations: 2.562 kB / 0.8281 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7236, allocations: 2.219 kB / 0.8281 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.7241, allocations: 126.3 kB / 0.8283 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7241, allocations: 8.281 kB / 0.8283 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.7246, allocations: 80.17 kB / 0.8284 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.7246, allocations: 28.73 kB / 0.8284 GB, free: 2.887 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.0002896/0.7249, allocations: 255.1 kB / 0.8286 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7251, allocations: 70.44 kB / 0.8287 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.7264, allocations: 0.7442 MB / 0.8294 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.7264, allocations: 7.406 kB / 0.8294 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7264, allocations: 0 / 0.8294 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7264, allocations: 6.297 kB / 0.8294 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.7273, allocations: 0.886 MB / 0.8303 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7273, allocations: 6.562 kB / 0.8303 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.7277, allocations: 122.1 kB / 0.8304 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7277, allocations: 2.938 kB / 0.8304 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.7278, allocations: 19.67 kB / 0.8304 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7278, allocations: 2.031 kB / 0.8304 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7278, allocations: 2.906 kB / 0.8304 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.7287, allocations: 0.6414 MB / 0.8311 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.7289, allocations: 243 kB / 0.8313 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.729, allocations: 13.25 kB / 0.8313 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.7295, allocations: 46.02 kB / 0.8314 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.7296, allocations: 53.33 kB / 0.8314 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.7296, allocations: 26.17 kB / 0.8314 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004571/0.7301, allocations: 425.9 kB / 0.8318 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7301, allocations: 0 / 0.8318 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006233/0.7307, allocations: 258 kB / 0.8321 GB, free: 0.5039 MB / 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.001276/0.732, allocations: 0.5947 MB / 0.8327 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008952/0.7329, allocations: 0.5008 MB / 0.8332 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7329, allocations: 1.812 kB / 0.8332 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.7333, allocations: 274.7 kB / 0.8334 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.7343, allocations: 259.4 kB / 0.8337 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.7362, allocations: 1.331 MB / 0.835 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.7367, allocations: 0.9551 MB / 0.8359 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.7369, allocations: 96.89 kB / 0.836 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.7369, allocations: 2.094 kB / 0.836 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of Templates: time 0.01713/0.7541, allocations: 12.5 MB / 0.8482 GB, free: 4.242 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1