Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 107.8 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.001598/0.001598, allocations: 187 kB / 17.34 MB, free: 5.715 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.457/1.457, 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-master/package.mo): time 0.877/0.877, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.62 kB / 0.5863 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1723, allocations: 80.94 MB / 0.6653 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006448/0.1787, allocations: 4.016 MB / 0.6693 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6439/0.8227, allocations: 150.9 MB / 0.8166 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.8235, allocations: 18.75 kB / 0.8166 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.8241, allocations: 163.2 kB / 0.8168 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.8258, allocations: 457.1 kB / 0.8172 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.8276, allocations: 0.7251 MB / 0.8179 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.8289, allocations: 1.072 MB / 0.819 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.8295, allocations: 363.2 kB / 0.8193 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.8301, allocations: 366.4 kB / 0.8197 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.8306, allocations: 364.6 kB / 0.82 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.8307, allocations: 85.03 kB / 0.8201 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007818/0.8315, allocations: 396 kB / 0.8205 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.8317, allocations: 229 kB / 0.8207 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.8321, allocations: 426.6 kB / 0.8211 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.8339, allocations: 1.271 MB / 0.8223 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.8339, allocations: 2.656 kB / 0.8223 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8339, allocations: 1.031 kB / 0.8223 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.8339, allocations: 0 / 0.8223 GB, free: 5.926 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.00212/0.8361, allocations: 1.214 MB / 0.8235 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8361, allocations: 9.391 kB / 0.8235 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.8364, allocations: 110.8 kB / 0.8236 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.8376, allocations: 0.6813 MB / 0.8243 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.8376, allocations: 47.09 kB / 0.8243 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.8377, allocations: 64.58 kB / 0.8244 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.8389, allocations: 0.7049 MB / 0.8251 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.8389, allocations: 0 / 0.8251 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.839, allocations: 28.72 kB / 0.8251 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.839, allocations: 15.59 kB / 0.8251 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.8403, allocations: 0.9191 MB / 0.826 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.8441, allocations: 2.327 MB / 0.8283 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.8452, allocations: 0.5621 MB / 0.8289 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.8455, allocations: 207.6 kB / 0.8291 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.131e-05/0.8456, allocations: 29.41 kB / 0.8291 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.8462, allocations: 352.2 kB / 0.8294 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.866e-06/0.8462, allocations: 2.375 kB / 0.8294 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001567/0.8478, allocations: 0.7079 MB / 0.8301 GB, free: 368 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.848, allocations: 242.9 kB / 0.8303 GB, free: 76 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009472/0.849, allocations: 0.5925 MB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.8491, allocations: 38.52 kB / 0.831 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.8494, allocations: 335.4 kB / 0.8313 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.8497, allocations: 215.4 kB / 0.8315 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.8499, allocations: 140.6 kB / 0.8316 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000235/0.8501, allocations: 380.1 kB / 0.832 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.8505, allocations: 189.5 kB / 0.8322 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.851, allocations: 290.4 kB / 0.8324 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.8518, allocations: 484.5 kB / 0.8329 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8518, allocations: 0 / 0.8329 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001255/0.853, allocations: 0.6003 MB / 0.8335 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.8531, allocations: 6.75 kB / 0.8335 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.8531, allocations: 2.219 kB / 0.8335 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.8531, allocations: 5.656 kB / 0.8335 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.8537, allocations: 128.3 kB / 0.8336 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.8537, allocations: 8.344 kB / 0.8336 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.8542, allocations: 80.84 kB / 0.8337 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.8543, allocations: 32.78 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.000456/0.8548, allocations: 242.5 kB / 0.834 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.8549, allocations: 72.19 kB / 0.834 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.8565, allocations: 0.747 MB / 0.8348 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.8565, allocations: 7.781 kB / 0.8348 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.8565, allocations: 4 kB / 0.8348 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8565, allocations: 5.797 kB / 0.8348 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.8578, allocations: 0.8909 MB / 0.8357 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8578, allocations: 0 / 0.8357 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.8583, allocations: 119.2 kB / 0.8358 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.8583, allocations: 1.906 kB / 0.8358 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.8583, allocations: 20.05 kB / 0.8358 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.8583, allocations: 2.469 kB / 0.8358 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8583, allocations: 32 / 0.8358 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.8594, allocations: 0.6482 MB / 0.8364 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.8598, allocations: 249.5 kB / 0.8367 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8599, allocations: 12.94 kB / 0.8367 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.8603, allocations: 46.98 kB / 0.8367 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.8605, allocations: 51.12 kB / 0.8368 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.8605, allocations: 25.98 kB / 0.8368 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006491/0.8612, allocations: 433 kB / 0.8372 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.8612, allocations: 0 / 0.8372 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008445/0.862, allocations: 247.5 kB / 0.8374 GB, free: 11.4 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.002107/0.8641, allocations: 0.5927 MB / 0.838 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.8652, allocations: 493.7 kB / 0.8385 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8652, allocations: 0 / 0.8385 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.8657, allocations: 260.1 kB / 0.8387 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8669, allocations: 254.4 kB / 0.839 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.8695, allocations: 1.364 MB / 0.8403 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.8703, allocations: 0.9516 MB / 0.8412 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.8705, allocations: 103.8 kB / 0.8413 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of SimCode: time 1.783e-06/0.8705, allocations: 0 / 0.8413 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.02015/0.8907, allocations: 12.41 MB / 0.8535 GB, free: 14.34 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.DecemberToJanuaryCalcHelperMain.o] Error 1