Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") 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: 109.3 kB / 16.41 MB, free: 6.492 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.00115/0.00115, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7319/0.7319, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.19 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.01875/0.1685, allocations: 18.24 MB / 0.6831 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4907/0.6592, allocations: 162.6 MB / 0.8419 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/0.663, allocations: 82.47 kB / 0.842 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.6652, allocations: 0.797 MB / 0.8428 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.6704, allocations: 1.747 MB / 0.8445 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.6769, allocations: 4.011 MB / 0.8484 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009152/0.6861, allocations: 9.656 MB / 0.8578 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009106/0.6952, allocations: 9.106 MB / 0.8667 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006572/0.7018, allocations: 5.205 MB / 0.8718 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/0.7077, allocations: 5.783 MB / 0.8775 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.7098, allocations: 1.766 MB / 0.8792 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.7129, allocations: 2.253 MB / 0.8814 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.715, allocations: 3.311 MB / 0.8846 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005032/0.7201, allocations: 6.074 MB / 0.8906 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.7333, allocations: 17.2 MB / 0.9074 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7334, allocations: 0 / 0.9074 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7334, allocations: 0 / 0.9074 GB, free: 6.973 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002882/0.7337, allocations: 4 kB / 0.9074 GB, free: 6.969 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.01918/0.7529, allocations: 10.5 MB / 0.9176 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7529, allocations: 9.109 kB / 0.9176 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04552/0.7984, allocations: 7.227 MB / 0.9247 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00863/0.8071, allocations: 4.829 MB / 0.9294 GB, free: 216 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005499/0.8077, allocations: 0.8431 MB / 0.9302 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.8095, allocations: 1.094 MB / 0.9313 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03724/0.8467, allocations: 14.55 MB / 0.9455 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.8469, allocations: 0 / 0.9455 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/0.8482, allocations: 471.9 kB / 0.9459 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.8484, allocations: 284 kB / 0.9462 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04867/0.8971, allocations: 16.18 MB / 0.962 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07026/0.9673, allocations: 34.63 MB / 0.9958 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03008/0.9975, allocations: 9.801 MB / 1.005 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01516/1.013, allocations: 5.182 MB / 1.01 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.014, allocations: 0.6781 MB / 1.011 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01662/1.031, allocations: 5.948 MB / 1.017 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 8.877e-06/1.031, allocations: 0 / 1.017 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.04961/1.08, allocations: 14.86 MB / 1.031 GB, free: 7.035 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/1.08, allocations: 356.1 kB / 1.032 GB, free: 6.613 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/1.085, allocations: 3.245 MB / 1.035 GB, free: 3.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/1.087, allocations: 137.7 kB / 1.035 GB, free: 3.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002952/1.089, allocations: 3.648 MB / 1.039 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002947/1.092, allocations: 2.24 MB / 1.041 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/1.095, allocations: 1.234 MB / 1.042 GB, free: 12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.095, allocations: 301.1 kB / 1.042 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0137/1.109, allocations: 4.38 MB / 1.047 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01686/1.126, allocations: 4.913 MB / 1.051 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03029/1.156, allocations: 9.175 MB / 1.06 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/1.156, allocations: 0 / 1.06 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.6465/1.803, allocations: 10.63 MB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/1.803, allocations: 8.953 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.803, allocations: 5.281 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.804, allocations: 187.4 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/1.816, allocations: 1.991 MB / 1.073 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.82, allocations: 3.267 MB / 1.076 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.83, allocations: 1.132 MB / 1.077 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/1.832, allocations: 324.5 kB / 1.077 GB, free: 295.3 MB / 0.8263 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.004784/1.837, allocations: 1.561 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/1.839, allocations: 0.4998 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03733/1.876, allocations: 12.33 MB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/1.876, allocations: 72.25 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.876, allocations: 0 / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.468e-05/1.876, allocations: 35.3 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04298/1.919, allocations: 21.84 MB / 1.113 GB, free: 282.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/1.919, allocations: 6.312 kB / 1.113 GB, free: 282.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01085/1.93, allocations: 1.853 MB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/1.931, allocations: 164.3 kB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008065/1.932, allocations: 220.5 kB / 1.115 GB, free: 282 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/1.935, allocations: 3.322 MB / 1.118 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.935, allocations: 0 / 1.118 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/1.962, allocations: 10.5 MB / 1.129 GB, free: 273.5 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.965, allocations: 1.765 MB / 1.13 GB, free: 272 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.967, allocations: 166.7 kB / 1.131 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007646/1.974, allocations: 0.7549 MB / 1.131 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006816/1.975, allocations: 417.9 kB / 1.132 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005994/1.975, allocations: 276.3 kB / 1.132 GB, free: 271.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.002772/1.978, allocations: 2.426 MB / 1.134 GB, free: 270 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.1e-07/1.978, allocations: 0 / 1.134 GB, free: 270 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.00502/1.983, allocations: 2.346 MB / 1.137 GB, free: 268.3 MB / 0.8263 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.001854/1.985, allocations: 0.7887 MB / 1.137 GB, free: 267.8 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.02836/2.014, allocations: 10.61 MB / 1.148 GB, free: 257.1 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.014, allocations: 8 kB / 1.148 GB, free: 257.1 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01501/2.029, allocations: 5.7 MB / 1.153 GB, free: 251.4 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/2.033, allocations: 0.9259 MB / 1.154 GB, free: 250.5 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/2.062, allocations: 16.81 MB / 1.171 GB, free: 233.6 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/2.065, allocations: 3.935 MB / 1.174 GB, free: 229.6 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005483/2.07, allocations: 0.8618 MB / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of SimCode: time 9.12e-07/2.07, allocations: 0 / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of Templates: time 0.1822/2.253, allocations: 207.3 MB / 1.378 GB, free: 21.34 MB / 0.8263 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1