Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 105.5 kB / 16.27 MB, free: 5.957 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.001442/0.001442, allocations: 190.3 kB / 17.19 MB, free: 5.59 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7959/0.7959, allocations: 135.2 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 80.92 MB / 0.5851 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.01385/0.3285, allocations: 18.21 MB / 0.6028 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4707/0.7993, allocations: 162.6 MB / 0.7617 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.8037, allocations: 85.53 kB / 0.7617 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.8065, allocations: 0.7909 MB / 0.7625 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00632/0.8128, allocations: 1.68 MB / 0.7642 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008098/0.8209, allocations: 3.997 MB / 0.7681 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01296/0.8339, allocations: 9.596 MB / 0.7774 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.8452, allocations: 9.109 MB / 0.7863 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008238/0.8534, allocations: 5.121 MB / 0.7913 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009137/0.8626, allocations: 5.743 MB / 0.7969 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0046/0.8672, allocations: 1.765 MB / 0.7987 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.8727, allocations: 2.23 MB / 0.8008 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00491/0.8776, allocations: 3.311 MB / 0.8041 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008311/0.8859, allocations: 6.083 MB / 0.81 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.904, allocations: 16.88 MB / 0.8265 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.9041, allocations: 8.125 kB / 0.8265 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9041, allocations: 1.281 kB / 0.8265 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00055/0.9046, allocations: 0.9375 kB / 0.8265 GB, free: 9.367 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2977 * Number of variables: 2977 Notification: Performance of Generate backend data structure: time 0.0281/0.9328, allocations: 10.5 MB / 0.8368 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.9328, allocations: 9.109 kB / 0.8368 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05024/0.9831, allocations: 7.229 MB / 0.8438 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.9943, allocations: 4.784 MB / 0.8485 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007272/0.9951, allocations: 0.843 MB / 0.8493 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/0.9986, allocations: 1.09 MB / 0.8504 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0441/1.043, allocations: 14.54 MB / 0.8646 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003099/1.043, allocations: 4 kB / 0.8646 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00289/1.046, allocations: 471.8 kB / 0.8651 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/1.046, allocations: 283.9 kB / 0.8653 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05407/1.1, allocations: 16.17 MB / 0.8811 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08315/1.184, allocations: 35.17 MB / 0.9155 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03431/1.218, allocations: 9.792 MB / 0.925 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/1.235, allocations: 5.192 MB / 0.9301 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.237, allocations: 0.68 MB / 0.9308 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01993/1.257, allocations: 5.944 MB / 0.9366 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=689): time 1.276e-05/1.257, allocations: 0 / 0.9366 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=689): time 0.05853/1.315, allocations: 14.84 MB / 0.9511 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002403/1.315, allocations: 364.1 kB / 0.9514 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006466/1.322, allocations: 3.245 MB / 0.9546 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001687/1.324, allocations: 137.7 kB / 0.9547 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003482/1.327, allocations: 3.655 MB / 0.9583 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003685/1.331, allocations: 2.233 MB / 0.9605 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005775/1.337, allocations: 1.238 MB / 0.9617 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.337, allocations: 301.7 kB / 0.962 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/1.353, allocations: 4.372 MB / 0.9662 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01714/1.37, allocations: 4.92 MB / 0.971 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03345/1.404, allocations: 9.165 MB / 0.98 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/1.404, allocations: 4 kB / 0.98 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04293/1.447, allocations: 10.63 MB / 0.9904 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/1.447, allocations: 7.984 kB / 0.9904 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.447, allocations: 8 kB / 0.9904 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/1.448, allocations: 185.8 kB / 0.9906 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/1.462, allocations: 1.986 MB / 0.9925 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004719/1.467, allocations: 3.273 MB / 0.9957 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/1.479, allocations: 1.14 MB / 0.9968 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/1.481, allocations: 323.6 kB / 0.9971 GB, free: 13.08 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 16 (weaDatTDryBulTDewPoinOpa.conTim.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTimMin.canRepeatWeatherFile,weaDatTDryBulTDewPoinOpa.conTim.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDatHHorIR.conTim.canRepeatWeatherFile,weaDatHHorIR.conTimMin.canRepeatWeatherFile,weaDatHHorIR.conTim.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (774): * Single equations (assignments): 772 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.007381/1.488, allocations: 1.555 MB / 0.9986 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002853/1.491, allocations: 0.4977 MB / 0.9991 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04988/1.541, allocations: 12.35 MB / 1.011 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.154e-05/1.541, allocations: 72 kB / 1.011 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-05/1.541, allocations: 0 / 1.011 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002035/1.541, allocations: 35.86 kB / 1.011 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0635/1.605, allocations: 21.95 MB / 1.033 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.368e-05/1.605, allocations: 0 / 1.033 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01339/1.618, allocations: 1.847 MB / 1.035 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/1.619, allocations: 161.5 kB / 1.035 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002314/1.622, allocations: 223.7 kB / 1.035 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004303/1.626, allocations: 3.326 MB / 1.038 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.626, allocations: 4 kB / 1.038 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3136/1.94, allocations: 10.49 MB / 1.048 GB, free: 358.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004404/1.944, allocations: 1.763 MB / 1.05 GB, free: 357.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.946, allocations: 163.8 kB / 1.05 GB, free: 357.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009287/1.955, allocations: 0.7579 MB / 1.051 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.956, allocations: 421.6 kB / 1.051 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007325/1.957, allocations: 278.9 kB / 1.052 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003433/1.961, allocations: 2.417 MB / 1.054 GB, free: 356.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.961, allocations: 0 / 1.054 GB, free: 356.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006926/1.967, allocations: 2.355 MB / 1.056 GB, free: 355.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002669/1.97, allocations: 0.7838 MB / 1.057 GB, free: 355.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07193/2.042, allocations: 12.25 MB / 1.069 GB, free: 351.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/2.042, allocations: 0 / 1.069 GB, free: 351.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/2.06, allocations: 5.703 MB / 1.075 GB, free: 349.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/2.07, allocations: 0.9317 MB / 1.076 GB, free: 349 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04156/2.112, allocations: 17.04 MB / 1.092 GB, free: 335.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/2.115, allocations: 3.939 MB / 1.096 GB, free: 332.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005777/2.121, allocations: 0.8652 MB / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.923e-06/2.121, allocations: 0 / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.1917/2.313, allocations: 206.4 MB / 1.298 GB, free: 128.8 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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.Validation.BESTEST.WD200CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200Functions.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.Validation.BESTEST.WD200CalcHelperMain.o] Error 1