Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009448/0.0009447, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008435/0.0008437, allocations: 187.4 kB / 16.92 MB, free: 6.75 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8943/0.8943, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 12.97 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.004377/0.1611, allocations: 3.624 MB / 0.5921 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4091/0.5702, allocations: 146.5 MB / 0.7352 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.5709, allocations: 13.72 kB / 0.7353 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.5715, allocations: 133.9 kB / 0.7354 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.5731, allocations: 385.2 kB / 0.7357 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.575, allocations: 0.6172 MB / 0.7363 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.5767, allocations: 1.004 MB / 0.7373 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.5776, allocations: 482.4 kB / 0.7378 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006628/0.5783, allocations: 259.4 kB / 0.738 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.579, allocations: 283 kB / 0.7383 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5791, allocations: 18.41 kB / 0.7383 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.5801, allocations: 298.1 kB / 0.7386 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.5804, allocations: 152.6 kB / 0.7388 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.5809, allocations: 360.5 kB / 0.7391 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.5823, allocations: 0.9131 MB / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5823, allocations: 1.125 kB / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5823, allocations: 4 kB / 0.74 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.037e-05/0.5824, allocations: 0 / 0.74 GB, free: 12.55 MB / 0.5606 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.002301/0.5847, allocations: 1.007 MB / 0.741 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5847, allocations: 10.28 kB / 0.741 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.5851, allocations: 97.59 kB / 0.7411 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5863, allocations: 0.6627 MB / 0.7417 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.5863, allocations: 47.16 kB / 0.7418 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.5864, allocations: 59.78 kB / 0.7418 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.5876, allocations: 0.6993 MB / 0.7425 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5877, allocations: 5 kB / 0.7425 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.5877, allocations: 29.02 kB / 0.7425 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5878, allocations: 20.38 kB / 0.7426 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5891, allocations: 0.9171 MB / 0.7435 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.5925, allocations: 2.37 MB / 0.7458 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5935, allocations: 0.5968 MB / 0.7464 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.5938, allocations: 224 kB / 0.7466 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.5939, allocations: 32.33 kB / 0.7466 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.5944, allocations: 347.5 kB / 0.7469 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 1.903e-06/0.5945, allocations: 4 kB / 0.7469 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001176/0.5956, allocations: 0.7061 MB / 0.7476 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.5958, allocations: 246 kB / 0.7479 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.5966, allocations: 0.5886 MB / 0.7484 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.5967, allocations: 40.98 kB / 0.7485 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.5969, allocations: 336.6 kB / 0.7488 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5971, allocations: 198.6 kB / 0.749 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.5972, allocations: 55.72 kB / 0.749 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5973, allocations: 382.5 kB / 0.7494 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.5977, allocations: 190.3 kB / 0.7496 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5981, allocations: 289.7 kB / 0.7499 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.5987, allocations: 477.1 kB / 0.7503 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5988, allocations: 0 / 0.7503 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008845/0.5996, allocations: 0.596 MB / 0.7509 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5997, allocations: 6.5 kB / 0.7509 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5997, allocations: 8.141 kB / 0.7509 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5997, allocations: 6.594 kB / 0.7509 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.6002, allocations: 126.5 kB / 0.751 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6002, allocations: 3.312 kB / 0.751 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.6007, allocations: 85.92 kB / 0.7511 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.6008, allocations: 29.61 kB / 0.7512 GB, free: 5.242 MB / 0.5606 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.0003456/0.6011, allocations: 245.4 kB / 0.7514 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.6013, allocations: 69.56 kB / 0.7515 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.6027, allocations: 0.7621 MB / 0.7522 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6027, allocations: 8 kB / 0.7522 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6027, allocations: 0 / 0.7522 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6027, allocations: 3.984 kB / 0.7522 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.6038, allocations: 0.8857 MB / 0.7531 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6038, allocations: 0 / 0.7531 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.6042, allocations: 119.8 kB / 0.7532 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.6043, allocations: 8.031 kB / 0.7532 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.6043, allocations: 19.98 kB / 0.7532 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6043, allocations: 4 kB / 0.7532 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6043, allocations: 0 / 0.7532 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.6052, allocations: 0.6417 MB / 0.7538 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.6055, allocations: 255.9 kB / 0.7541 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6057, allocations: 12 kB / 0.7541 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.6061, allocations: 57.11 kB / 0.7542 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.6062, allocations: 56.52 kB / 0.7542 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.6063, allocations: 27.92 kB / 0.7542 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006285/0.6069, allocations: 427.1 kB / 0.7546 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6069, allocations: 4 kB / 0.7546 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006889/0.6076, allocations: 243.5 kB / 0.7549 GB, free: 1.617 MB / 0.5606 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.001314/0.6089, allocations: 0.5963 MB / 0.7555 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008481/0.6098, allocations: 0.4969 MB / 0.7559 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6098, allocations: 0 / 0.7559 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.6102, allocations: 279.9 kB / 0.7562 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6113, allocations: 232.6 kB / 0.7564 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.6136, allocations: 1.684 MB / 0.7581 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.6143, allocations: 0.9523 MB / 0.759 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6145, allocations: 95.39 kB / 0.7591 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of SimCode: time 1.583e-06/0.6145, allocations: 4 kB / 0.7591 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.01704/0.6316, allocations: 12.21 MB / 0.771 GB, free: 1.316 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile clang++ -std=c++14 -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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1