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.001484/0.001484, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001428/0.001428, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8078/0.8078, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3386, allocations: 80.92 MB / 0.5851 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004795/0.3435, allocations: 4.017 MB / 0.589 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.5015, allocations: 150.4 MB / 0.7359 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.5023, allocations: 23.88 kB / 0.7359 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.5028, allocations: 154.5 kB / 0.7361 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.5043, allocations: 470.9 kB / 0.7365 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.5059, allocations: 0.6979 MB / 0.7372 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5069, allocations: 1.075 MB / 0.7382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.5076, allocations: 0.4984 MB / 0.7387 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.5081, allocations: 366.6 kB / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.5086, allocations: 366.3 kB / 0.7394 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5087, allocations: 84 kB / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.5094, allocations: 363.7 kB / 0.7398 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.5096, allocations: 227.3 kB / 0.7401 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.51, allocations: 429.7 kB / 0.7405 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.5113, allocations: 1.227 MB / 0.7417 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5114, allocations: 0 / 0.7417 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5114, allocations: 8 kB / 0.7417 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5114, allocations: 0 / 0.7417 GB, free: 9.621 MB / 0.5762 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.00175/0.5131, allocations: 1.173 MB / 0.7428 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5132, allocations: 9.109 kB / 0.7428 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.5135, allocations: 103.8 kB / 0.7429 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.5144, allocations: 0.656 MB / 0.7436 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.5144, allocations: 49.31 kB / 0.7436 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.5145, allocations: 60 kB / 0.7437 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5156, allocations: 0.7086 MB / 0.7444 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5156, allocations: 0 / 0.7444 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.5157, allocations: 31.94 kB / 0.7444 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5157, allocations: 16 kB / 0.7444 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.5169, allocations: 0.9181 MB / 0.7453 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.52, allocations: 2.345 MB / 0.7476 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009131/0.5209, allocations: 0.6062 MB / 0.7482 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.5212, allocations: 219.3 kB / 0.7484 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.5213, allocations: 32.58 kB / 0.7484 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.5219, allocations: 346.4 kB / 0.7488 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.194e-06/0.5219, allocations: 4 kB / 0.7488 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001238/0.5232, allocations: 0.702 MB / 0.7495 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5233, allocations: 243.8 kB / 0.7497 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.524, allocations: 0.59 MB / 0.7503 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.5241, allocations: 37.7 kB / 0.7503 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.5243, allocations: 340.5 kB / 0.7506 GB, free: 116 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2598/0.7841, allocations: 189.7 kB / 0.7508 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.7844, allocations: 138.7 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7846, allocations: 383.9 kB / 0.7513 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.785, allocations: 185.5 kB / 0.7515 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.7854, allocations: 294.7 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.7861, allocations: 477.3 kB / 0.7522 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7861, allocations: 4.75 kB / 0.7522 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001035/0.7872, allocations: 0.6063 MB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7872, allocations: 4.719 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.7872, allocations: 2 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.7872, allocations: 6.188 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.7877, allocations: 130 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7877, allocations: 3.562 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.7882, allocations: 79.39 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.7883, allocations: 29.88 kB / 0.7531 GB, free: 164.9 MB / 0.5762 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.0003062/0.7886, allocations: 245.1 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.7887, allocations: 69.56 kB / 0.7534 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7901, allocations: 0.7485 MB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.7901, allocations: 7.5 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7901, allocations: 4.75 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7901, allocations: 5.188 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.7911, allocations: 0.8934 MB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7911, allocations: 1.25 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.7915, allocations: 118.7 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.7915, allocations: 8.156 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.7915, allocations: 20.75 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.7916, allocations: 2.719 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7916, allocations: 0.8438 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.7926, allocations: 0.6364 MB / 0.7557 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7928, allocations: 240.2 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.7929, allocations: 12.38 kB / 0.756 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.7933, allocations: 48.23 kB / 0.756 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.7934, allocations: 50.33 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.7935, allocations: 30.95 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005177/0.794, allocations: 426.7 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.794, allocations: 2.406 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007553/0.7948, allocations: 250.5 kB / 0.7568 GB, free: 163.1 MB / 0.5762 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.001816/0.7966, allocations: 0.5957 MB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.7981, allocations: 0.6578 MB / 0.758 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7981, allocations: 0.6875 kB / 0.758 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.7985, allocations: 281.4 kB / 0.7582 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/0.7995, allocations: 257.5 kB / 0.7585 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.8013, allocations: 1.357 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8017, allocations: 0.9488 MB / 0.7607 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.8019, allocations: 99.92 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.8019, allocations: 2.406 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01258/0.8145, allocations: 12.31 MB / 0.7729 GB, free: 150.2 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++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