Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_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.001175/0.001175, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001191/0.001191, allocations: 183.1 kB / 17.34 MB, free: 5.762 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.801/0.801, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.31 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.02014/0.2028, allocations: 18.23 MB / 0.6781 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5579/0.7607, allocations: 162.6 MB / 0.837 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006154/0.7669, allocations: 79.78 kB / 0.837 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.7704, allocations: 0.7988 MB / 0.8378 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008895/0.7793, allocations: 1.754 MB / 0.8395 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.7897, allocations: 3.999 MB / 0.8434 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01436/0.8041, allocations: 9.653 MB / 0.8529 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.8171, allocations: 9.114 MB / 0.8618 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009463/0.8266, allocations: 5.204 MB / 0.8668 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008559/0.8352, allocations: 5.787 MB / 0.8725 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004867/0.8401, allocations: 1.766 MB / 0.8742 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006547/0.8467, allocations: 2.249 MB / 0.8764 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005282/0.852, allocations: 3.304 MB / 0.8796 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01533/0.8673, allocations: 6.09 MB / 0.8856 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02547/0.8929, allocations: 17.2 MB / 0.9024 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.8929, allocations: 0 / 0.9024 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.883e-06/0.893, allocations: 0 / 0.9024 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006925/0.8937, allocations: 4 kB / 0.9024 GB, free: 13.85 MB / 0.67 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.03428/0.928, allocations: 10.5 MB / 0.9126 GB, free: 3.258 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.928, allocations: 11.97 kB / 0.9126 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05275/0.9808, allocations: 7.227 MB / 0.9197 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.9933, allocations: 4.836 MB / 0.9244 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008483/0.9941, allocations: 0.8391 MB / 0.9252 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005042/0.9992, allocations: 1.094 MB / 0.9263 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05556/1.055, allocations: 14.55 MB / 0.9405 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/1.055, allocations: 3.938 kB / 0.9405 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004096/1.059, allocations: 479.9 kB / 0.941 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00027/1.06, allocations: 280 kB / 0.9412 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05758/1.117, allocations: 16.17 MB / 0.957 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08987/1.207, allocations: 34.63 MB / 0.9909 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03406/1.241, allocations: 9.789 MB / 1 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/1.258, allocations: 5.189 MB / 1.005 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/1.26, allocations: 0.6822 MB / 1.006 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02174/1.282, allocations: 5.94 MB / 1.012 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.616e-05/1.282, allocations: 0 / 1.012 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.06396/1.346, allocations: 14.86 MB / 1.026 GB, free: 13.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/1.346, allocations: 360.1 kB / 1.027 GB, free: 13.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007196/1.354, allocations: 3.242 MB / 1.03 GB, free: 10.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002297/1.356, allocations: 137.7 kB / 1.03 GB, free: 10.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003922/1.36, allocations: 3.65 MB / 1.034 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/1.364, allocations: 2.233 MB / 1.036 GB, free: 4.148 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007059/1.371, allocations: 1.234 MB / 1.037 GB, free: 2.902 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.371, allocations: 305.1 kB / 1.037 GB, free: 2.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/1.388, allocations: 4.376 MB / 1.042 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01802/1.406, allocations: 4.921 MB / 1.046 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7225/2.129, allocations: 9.166 MB / 1.055 GB, free: 289.2 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/2.129, allocations: 2.938 kB / 1.055 GB, free: 289.2 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04311/2.172, allocations: 10.64 MB / 1.066 GB, free: 287.5 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/2.172, allocations: 10.81 kB / 1.066 GB, free: 287.5 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/2.172, allocations: 4.125 kB / 1.066 GB, free: 287.5 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/2.173, allocations: 189.1 kB / 1.066 GB, free: 287.5 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/2.188, allocations: 1.992 MB / 1.068 GB, free: 287.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/2.192, allocations: 3.263 MB / 1.071 GB, free: 284.3 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/2.203, allocations: 1.136 MB / 1.072 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002496/2.206, allocations: 323.1 kB / 1.073 GB, free: 284.1 MB / 0.8107 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.008324/2.214, allocations: 1.557 MB / 1.074 GB, free: 283.1 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003417/2.218, allocations: 0.5024 MB / 1.075 GB, free: 283.1 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0483/2.266, allocations: 12.33 MB / 1.087 GB, free: 278.6 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/2.266, allocations: 69.78 kB / 1.087 GB, free: 278.6 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-05/2.266, allocations: 4 kB / 1.087 GB, free: 278.6 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002224/2.266, allocations: 37.67 kB / 1.087 GB, free: 278.6 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06192/2.328, allocations: 21.85 MB / 1.108 GB, free: 268.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-05/2.328, allocations: 0 / 1.108 GB, free: 268.6 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01405/2.343, allocations: 1.844 MB / 1.11 GB, free: 268.1 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/2.344, allocations: 163.6 kB / 1.11 GB, free: 268 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002729/2.347, allocations: 216.4 kB / 1.11 GB, free: 267.8 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/2.351, allocations: 3.317 MB / 1.113 GB, free: 264.6 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.351, allocations: 0 / 1.113 GB, free: 264.6 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05484/2.406, allocations: 10.52 MB / 1.124 GB, free: 255.6 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006833/2.413, allocations: 1.761 MB / 1.125 GB, free: 253.8 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00379/2.417, allocations: 163.4 kB / 1.126 GB, free: 253.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/2.429, allocations: 0.7532 MB / 1.126 GB, free: 252.9 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/2.431, allocations: 417.5 kB / 1.127 GB, free: 252.5 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002112/2.433, allocations: 283.7 kB / 1.127 GB, free: 252.2 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.004946/2.438, allocations: 2.418 MB / 1.129 GB, free: 249.8 MB / 0.8107 GB Notification: Performance of sort global known variables: time 5.51e-07/2.438, allocations: 4 kB / 1.129 GB, free: 249.8 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.01029/2.448, allocations: 2.345 MB / 1.132 GB, free: 247.4 MB / 0.8107 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.003958/2.452, allocations: 0.7838 MB / 1.132 GB, free: 246.9 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03663/2.489, allocations: 10.61 MB / 1.143 GB, free: 236.2 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/2.489, allocations: 4 kB / 1.143 GB, free: 236.2 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01866/2.507, allocations: 5.7 MB / 1.148 GB, free: 230.5 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008523/2.516, allocations: 0.9466 MB / 1.149 GB, free: 229.6 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04162/2.558, allocations: 16.81 MB / 1.166 GB, free: 212.7 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/2.561, allocations: 3.939 MB / 1.169 GB, free: 208.8 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006595/2.568, allocations: 0.8618 MB / 1.17 GB, free: 207.9 MB / 0.8107 GB Notification: Performance of SimCode: time 9.32e-07/2.568, allocations: 0 / 1.17 GB, free: 207.9 MB / 0.8107 GB Notification: Performance of Templates: time 0.2044/2.772, allocations: 207.3 MB / 1.373 GB, free: 464 kB / 0.8107 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_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/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.Validation.BESTEST.WD400CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.Validation.BESTEST.WD400CalcHelperMain.o] Error 1