Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 105.3 kB / 16.27 MB, free: 5.949 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.001522/0.001522, allocations: 190.1 kB / 17.2 MB, free: 5.586 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.308/1.308, 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.8075/0.8075, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3558, allocations: 80.92 MB / 0.5851 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.01952/0.3754, allocations: 18.22 MB / 0.6029 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4756/0.851, allocations: 162.6 MB / 0.7617 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.8551, allocations: 77.88 kB / 0.7617 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.8579, allocations: 0.7949 MB / 0.7625 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.8642, allocations: 1.689 MB / 0.7642 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008739/0.873, allocations: 3.995 MB / 0.7681 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01277/0.8858, allocations: 9.598 MB / 0.7774 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.8989, allocations: 9.107 MB / 0.7863 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/0.9074, allocations: 5.129 MB / 0.7913 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008149/0.9156, allocations: 5.745 MB / 0.7969 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00388/0.9195, allocations: 1.764 MB / 0.7987 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.9243, allocations: 2.225 MB / 0.8008 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.9284, allocations: 3.313 MB / 0.8041 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00852/0.9369, allocations: 6.082 MB / 0.81 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.9551, allocations: 16.89 MB / 0.8265 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.9551, allocations: 2.438 kB / 0.8265 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9551, allocations: 0 / 0.8265 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000602/0.9557, allocations: 0 / 0.8265 GB, free: 9.344 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.02609/0.9818, allocations: 10.5 MB / 0.8368 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.9819, allocations: 9.109 kB / 0.8368 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05049/1.032, allocations: 7.237 MB / 0.8438 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/1.043, allocations: 4.775 MB / 0.8485 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007664/1.043, allocations: 0.843 MB / 0.8493 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003643/1.047, allocations: 1.09 MB / 0.8504 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04649/1.094, allocations: 14.55 MB / 0.8646 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002377/1.094, allocations: 7.188 kB / 0.8646 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/1.097, allocations: 468 kB / 0.8651 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/1.097, allocations: 283.9 kB / 0.8653 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05253/1.15, allocations: 16.17 MB / 0.8811 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07905/1.229, allocations: 35.17 MB / 0.9155 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03178/1.26, allocations: 9.8 MB / 0.925 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01601/1.277, allocations: 5.178 MB / 0.9301 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/1.278, allocations: 0.6791 MB / 0.9308 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0183/1.296, allocations: 5.943 MB / 0.9366 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=689): time 1.042e-05/1.296, allocations: 0 / 0.9366 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=689): time 0.05303/1.349, allocations: 14.85 MB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/1.35, allocations: 356.2 kB / 0.9514 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/1.355, allocations: 3.245 MB / 0.9546 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001708/1.356, allocations: 137.7 kB / 0.9547 GB, free: 9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003549/1.36, allocations: 3.645 MB / 0.9583 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003458/1.363, allocations: 2.245 MB / 0.9605 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002875/1.366, allocations: 1.23 MB / 0.9617 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.367, allocations: 305.1 kB / 0.9619 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/1.382, allocations: 4.376 MB / 0.9662 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01674/1.399, allocations: 4.916 MB / 0.971 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03126/1.43, allocations: 9.168 MB / 0.98 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/1.43, allocations: 4 kB / 0.98 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03687/1.467, allocations: 10.64 MB / 0.9904 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.467, allocations: 8 kB / 0.9904 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.467, allocations: 8 kB / 0.9904 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.468, allocations: 181.8 kB / 0.9906 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01291/1.481, allocations: 1.997 MB / 0.9925 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/1.485, allocations: 3.264 MB / 0.9957 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.496, allocations: 1.126 MB / 0.9968 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.498, allocations: 327.6 kB / 0.9971 GB, free: 13.11 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.004762/1.502, allocations: 1.566 MB / 0.9986 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.504, allocations: 0.4977 MB / 0.9991 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04234/1.546, allocations: 12.34 MB / 1.011 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/1.546, allocations: 68 kB / 1.011 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.546, allocations: 4 kB / 1.011 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/1.547, allocations: 35.86 kB / 1.011 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05486/1.601, allocations: 21.94 MB / 1.033 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/1.602, allocations: 0 / 1.033 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01327/1.615, allocations: 1.847 MB / 1.035 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009687/1.616, allocations: 173.5 kB / 1.035 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00185/1.618, allocations: 219.8 kB / 1.035 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/1.622, allocations: 3.329 MB / 1.038 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.622, allocations: 0 / 1.038 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3496/1.971, allocations: 10.49 MB / 1.048 GB, free: 358 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004273/1.976, allocations: 1.766 MB / 1.05 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.977, allocations: 163.4 kB / 1.05 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009162/1.986, allocations: 0.7536 MB / 1.051 GB, free: 357 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.987, allocations: 423 kB / 1.051 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007848/1.988, allocations: 276.3 kB / 1.052 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003357/1.991, allocations: 2.418 MB / 1.054 GB, free: 356 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/1.991, allocations: 0 / 1.054 GB, free: 356 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006075/1.998, allocations: 2.355 MB / 1.056 GB, free: 355.3 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.002715/2, allocations: 0.7832 MB / 1.057 GB, free: 355.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.06761/2.068, allocations: 12.25 MB / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.068, allocations: 0 / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01654/2.084, allocations: 5.714 MB / 1.075 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006457/2.091, allocations: 0.9248 MB / 1.076 GB, free: 348.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/2.124, allocations: 17.04 MB / 1.092 GB, free: 335.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/2.127, 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.005341/2.133, allocations: 0.8654 MB / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of SimCode: time 9.62e-07/2.133, allocations: 3.938 kB / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.1691/2.302, allocations: 206.4 MB / 1.298 GB, free: 128.8 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.WD400CalcHelperMain.o] Error 1