Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_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.001527/0.001527, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00171/0.00171, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.591/1.591, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8281/0.8281, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.69 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1839, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006023/0.1899, allocations: 4.032 MB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6516/0.8416, allocations: 150.4 MB / 0.8111 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.8424, allocations: 13.81 kB / 0.8112 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.843, allocations: 160.8 kB / 0.8113 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.8445, allocations: 461.9 kB / 0.8118 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.846, allocations: 0.7112 MB / 0.8125 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009117/0.8469, allocations: 1.085 MB / 0.8135 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006699/0.8476, allocations: 0.5063 MB / 0.814 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.848, allocations: 359.1 kB / 0.8143 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.8491, allocations: 366.2 kB / 0.8147 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.8492, allocations: 84.12 kB / 0.8148 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.85, allocations: 389.9 kB / 0.8151 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.8502, allocations: 235 kB / 0.8154 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.8506, allocations: 434.3 kB / 0.8158 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.852, allocations: 1.266 MB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.852, allocations: 2.531 kB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.482e-06/0.852, allocations: 0 / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.852, allocations: 0 / 0.817 GB, free: 10.38 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.001808/0.8538, allocations: 1.189 MB / 0.8182 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.8539, allocations: 10.66 kB / 0.8182 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.8542, allocations: 96.34 kB / 0.8183 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.8551, allocations: 0.6819 MB / 0.819 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.8552, allocations: 44.78 kB / 0.819 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.8552, allocations: 60.44 kB / 0.8191 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.8563, allocations: 0.7032 MB / 0.8197 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.8563, allocations: 0 / 0.8197 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.8564, allocations: 27.88 kB / 0.8198 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.8564, allocations: 19.72 kB / 0.8198 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.8576, allocations: 0.9175 MB / 0.8207 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.8606, allocations: 2.31 MB / 0.8229 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.8615, allocations: 0.6014 MB / 0.8235 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.8618, allocations: 221.4 kB / 0.8237 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.8619, allocations: 30.2 kB / 0.8238 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.8624, allocations: 352.4 kB / 0.8241 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.883e-06/0.8625, allocations: 0 / 0.8241 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.00122/0.8637, allocations: 0.7049 MB / 0.8248 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.8638, allocations: 242.7 kB / 0.825 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.8645, allocations: 0.596 MB / 0.8256 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.8646, allocations: 38.67 kB / 0.8256 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.8649, allocations: 332.9 kB / 0.826 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.865, allocations: 206 kB / 0.8262 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.8652, allocations: 140.4 kB / 0.8263 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8654, allocations: 375.7 kB / 0.8266 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.8657, allocations: 189 kB / 0.8268 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.8661, allocations: 299.9 kB / 0.8271 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.8668, allocations: 469.6 kB / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8669, allocations: 0 / 0.8276 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009456/0.8678, allocations: 0.6091 MB / 0.8282 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8678, allocations: 5.688 kB / 0.8282 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.8678, allocations: 2.094 kB / 0.8282 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8679, allocations: 5.25 kB / 0.8282 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.8683, allocations: 130.7 kB / 0.8283 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8684, allocations: 2.469 kB / 0.8283 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.8689, allocations: 76.36 kB / 0.8284 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.8689, allocations: 32.42 kB / 0.8284 GB, free: 2.855 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.0003386/0.8693, allocations: 252.1 kB / 0.8286 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.8694, allocations: 74.42 kB / 0.8287 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.8707, allocations: 0.7436 MB / 0.8294 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.8707, allocations: 11.78 kB / 0.8294 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8708, allocations: 0 / 0.8294 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.8708, allocations: 6.078 kB / 0.8295 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.8719, allocations: 0.8844 MB / 0.8303 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.872, allocations: 2.25 kB / 0.8303 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.8724, allocations: 118.8 kB / 0.8304 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8724, allocations: 1.812 kB / 0.8304 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.8724, allocations: 23.77 kB / 0.8305 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8724, allocations: 2.594 kB / 0.8305 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8725, allocations: 2.688 kB / 0.8305 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.8735, allocations: 0.6436 MB / 0.8311 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.8738, allocations: 236.5 kB / 0.8313 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.8739, allocations: 16.81 kB / 0.8313 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.8743, allocations: 41.83 kB / 0.8314 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.8744, allocations: 57.58 kB / 0.8314 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.8745, allocations: 25.02 kB / 0.8315 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004766/0.875, allocations: 426.5 kB / 0.8319 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.875, allocations: 7.938 kB / 0.8319 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006407/0.8756, allocations: 247.1 kB / 0.8321 GB, free: 488 kB / 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.001324/0.877, allocations: 0.5956 MB / 0.8327 GB, free: 252 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.8778, allocations: 0.5013 MB / 0.8332 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8778, allocations: 1.844 kB / 0.8332 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.8782, allocations: 276.3 kB / 0.8334 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/0.8792, allocations: 265.2 kB / 0.8337 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.8812, allocations: 1.333 MB / 0.835 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.8817, allocations: 0.9526 MB / 0.8359 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.8819, allocations: 99.45 kB / 0.836 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.882, allocations: 4 kB / 0.836 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Templates: time 0.01736/0.8993, allocations: 12.37 MB / 0.8481 GB, free: 4.289 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_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/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.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.DecemberToJanuaryCalcHelperMain.o] Error 1