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.0008517/0.0008518, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009535/0.0009536, allocations: 177 kB / 16.92 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8775/0.8775, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 8.906 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 82.3 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004665/0.1584, allocations: 3.624 MB / 0.5921 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4244/0.5828, allocations: 146.5 MB / 0.7352 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.5835, allocations: 13.12 kB / 0.7353 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.5841, allocations: 130.2 kB / 0.7354 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.5856, allocations: 382.4 kB / 0.7357 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.5875, allocations: 0.6161 MB / 0.7364 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.5889, allocations: 1.004 MB / 0.7373 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.5897, allocations: 486 kB / 0.7378 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.5902, allocations: 261 kB / 0.738 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.5913, allocations: 279.3 kB / 0.7383 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.5914, allocations: 19.19 kB / 0.7383 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.5922, allocations: 300.2 kB / 0.7386 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.5924, allocations: 145.4 kB / 0.7388 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.5928, allocations: 369 kB / 0.7391 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.5941, allocations: 0.9163 MB / 0.74 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5941, allocations: 0 / 0.74 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5941, allocations: 1.094 kB / 0.74 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.256e-05/0.5942, allocations: 0 / 0.74 GB, free: 12.64 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.002083/0.5963, allocations: 1.007 MB / 0.741 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5963, allocations: 8.531 kB / 0.741 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.5967, allocations: 99.3 kB / 0.7411 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5978, allocations: 0.6606 MB / 0.7417 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.5979, allocations: 55.69 kB / 0.7418 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.598, allocations: 58.34 kB / 0.7418 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.5991, allocations: 0.7033 MB / 0.7425 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5992, allocations: 0 / 0.7425 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.5993, allocations: 28.19 kB / 0.7426 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5993, allocations: 15.19 kB / 0.7426 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6006, allocations: 0.9188 MB / 0.7435 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.6039, allocations: 2.368 MB / 0.7458 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.6049, allocations: 0.5974 MB / 0.7464 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.6052, allocations: 219.8 kB / 0.7466 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.107e-05/0.6053, allocations: 29.12 kB / 0.7466 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.6058, allocations: 354.8 kB / 0.7469 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 1.953e-06/0.6058, allocations: 0 / 0.7469 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001122/0.607, allocations: 0.7035 MB / 0.7476 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6071, allocations: 245.1 kB / 0.7479 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.6078, allocations: 0.5935 MB / 0.7484 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.6079, allocations: 36.84 kB / 0.7485 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.6081, allocations: 337.6 kB / 0.7488 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6083, allocations: 209 kB / 0.749 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.6084, allocations: 56.5 kB / 0.749 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6085, allocations: 378.1 kB / 0.7494 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.6088, allocations: 188.8 kB / 0.7496 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.6092, allocations: 289.7 kB / 0.7499 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.6099, allocations: 477.5 kB / 0.7503 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6099, allocations: 0 / 0.7503 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008964/0.6108, allocations: 0.6025 MB / 0.7509 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6108, allocations: 6.516 kB / 0.7509 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6108, allocations: 2.719 kB / 0.7509 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6109, allocations: 2.812 kB / 0.7509 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.6113, allocations: 127 kB / 0.751 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6113, allocations: 3.406 kB / 0.751 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.6119, allocations: 92.64 kB / 0.7511 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6119, allocations: 30.11 kB / 0.7512 GB, free: 5.258 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.00033/0.6123, allocations: 240.5 kB / 0.7514 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.6124, allocations: 75.05 kB / 0.7515 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6137, allocations: 0.745 MB / 0.7522 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6137, allocations: 8 kB / 0.7522 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6137, allocations: 3.938 kB / 0.7522 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6137, allocations: 3.984 kB / 0.7522 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.6147, allocations: 0.8934 MB / 0.7531 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6147, allocations: 0 / 0.7531 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.6151, allocations: 119.8 kB / 0.7532 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.6151, allocations: 4 kB / 0.7532 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.6152, allocations: 19.98 kB / 0.7532 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.6152, allocations: 0 / 0.7532 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6152, allocations: 4 kB / 0.7532 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.6161, allocations: 0.6384 MB / 0.7538 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.6164, allocations: 255.9 kB / 0.7541 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.6165, allocations: 16 kB / 0.7541 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.6169, allocations: 51.95 kB / 0.7542 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.617, allocations: 65.14 kB / 0.7542 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.6171, allocations: 27.98 kB / 0.7542 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004787/0.6176, allocations: 435 kB / 0.7547 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6176, allocations: 0 / 0.7547 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006961/0.6183, allocations: 235.5 kB / 0.7549 GB, free: 1.645 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.001283/0.6196, allocations: 0.5877 MB / 0.7555 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007712/0.6203, allocations: 0.5011 MB / 0.7559 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6203, allocations: 4 kB / 0.7559 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.6207, allocations: 279.6 kB / 0.7562 GB, free: 492 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6218, allocations: 237.7 kB / 0.7564 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.624, allocations: 1.684 MB / 0.7581 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.6245, allocations: 0.9484 MB / 0.759 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.6247, allocations: 103.4 kB / 0.7591 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.6247, allocations: 0 / 0.7591 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.01712/0.6419, allocations: 12.19 MB / 0.771 GB, free: 1.332 MB / 0.5762 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++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.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