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.001384/0.001384, allocations: 106.3 kB / 16.27 MB, free: 6.418 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.001309/0.001309, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7941/0.7941, allocations: 135.1 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.91 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4534, allocations: 80.92 MB / 0.585 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.01544/0.4689, allocations: 18.22 MB / 0.6028 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4423/0.9112, allocations: 162.6 MB / 0.7616 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.9152, allocations: 80.78 kB / 0.7617 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.9178, allocations: 0.7948 MB / 0.7625 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.9241, allocations: 1.684 MB / 0.7641 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.9318, allocations: 4.001 MB / 0.768 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.9436, allocations: 9.59 MB / 0.7774 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.9552, allocations: 9.107 MB / 0.7863 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006988/0.9622, allocations: 5.127 MB / 0.7913 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007395/0.9696, allocations: 5.742 MB / 0.7969 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00328/0.9729, allocations: 1.765 MB / 0.7986 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.9774, allocations: 2.232 MB / 0.8008 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003063/0.9804, allocations: 3.311 MB / 0.804 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006742/0.9872, allocations: 6.079 MB / 0.81 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01651/1.004, allocations: 16.89 MB / 0.8265 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.004, allocations: 0 / 0.8265 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/1.004, allocations: 1.031 kB / 0.8265 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005738/1.004, allocations: 0 / 0.8265 GB, free: 9.559 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.02698/1.031, allocations: 10.5 MB / 0.8367 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.031, allocations: 10.14 kB / 0.8367 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05345/1.085, allocations: 7.231 MB / 0.8438 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009298/1.094, allocations: 4.78 MB / 0.8485 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/1.095, allocations: 0.8423 MB / 0.8493 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003304/1.098, allocations: 1.097 MB / 0.8504 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04525/1.143, allocations: 14.54 MB / 0.8646 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/1.144, allocations: 4 kB / 0.8646 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/1.147, allocations: 468 kB / 0.865 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/1.147, allocations: 283.9 kB / 0.8653 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05255/1.199, allocations: 16.17 MB / 0.8811 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08134/1.281, allocations: 35.17 MB / 0.9154 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03379/1.315, allocations: 9.797 MB / 0.925 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01703/1.332, allocations: 5.181 MB / 0.93 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.333, allocations: 0.6809 MB / 0.9307 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01947/1.353, allocations: 5.937 MB / 0.9365 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=689): time 1.148e-05/1.353, allocations: 4 kB / 0.9365 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=689): time 0.057/1.41, allocations: 14.85 MB / 0.951 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/1.41, allocations: 360.2 kB / 0.9514 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005338/1.416, allocations: 3.241 MB / 0.9545 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001497/1.417, allocations: 137.7 kB / 0.9547 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.42, allocations: 3.645 MB / 0.9582 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003074/1.423, allocations: 2.246 MB / 0.9604 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004576/1.428, allocations: 1.234 MB / 0.9616 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.428, allocations: 305.1 kB / 0.9619 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01642/1.444, allocations: 4.377 MB / 0.9662 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/1.461, allocations: 4.916 MB / 0.971 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03292/1.494, allocations: 9.165 MB / 0.9799 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/1.494, allocations: 0 / 0.9799 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04102/1.535, allocations: 10.64 MB / 0.9903 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.535, allocations: 8 kB / 0.9903 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.535, allocations: 4 kB / 0.9903 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.536, allocations: 181.7 kB / 0.9905 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/1.551, allocations: 1.997 MB / 0.9925 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/1.555, allocations: 3.274 MB / 0.9956 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/1.567, allocations: 1.122 MB / 0.9967 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.569, allocations: 327.6 kB / 0.9971 GB, free: 13.37 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.006236/1.575, allocations: 1.563 MB / 0.9986 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/1.577, allocations: 0.4977 MB / 0.9991 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04709/1.624, allocations: 12.34 MB / 1.011 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.968e-05/1.624, allocations: 72 kB / 1.011 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/1.625, allocations: 7.094 kB / 1.011 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001829/1.625, allocations: 35.86 kB / 1.011 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06137/1.686, allocations: 21.94 MB / 1.033 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/1.686, allocations: 0 / 1.033 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01363/1.7, allocations: 1.848 MB / 1.034 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/1.701, allocations: 172.7 kB / 1.035 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001983/1.703, allocations: 215.8 kB / 1.035 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/1.707, allocations: 3.327 MB / 1.038 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.707, allocations: 0 / 1.038 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3262/2.033, allocations: 10.5 MB / 1.048 GB, free: 358 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004298/2.037, allocations: 1.761 MB / 1.05 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002309/2.04, allocations: 169.8 kB / 1.05 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01049/2.05, allocations: 0.7502 MB / 1.051 GB, free: 357 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001626/2.052, allocations: 421.6 kB / 1.051 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001579/2.053, allocations: 278.1 kB / 1.052 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004679/2.058, allocations: 2.418 MB / 1.054 GB, free: 356 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/2.058, allocations: 0 / 1.054 GB, free: 356 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007658/2.066, allocations: 2.349 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.002963/2.069, allocations: 0.7964 MB / 1.057 GB, free: 355.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07449/2.143, allocations: 12.25 MB / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/2.143, allocations: 3.875 kB / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01791/2.161, allocations: 5.706 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.008033/2.169, allocations: 0.9245 MB / 1.075 GB, free: 348.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/2.207, allocations: 17.03 MB / 1.092 GB, free: 335.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/2.209, allocations: 3.941 MB / 1.096 GB, free: 333.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005433/2.215, allocations: 0.8652 MB / 1.097 GB, free: 332.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.803e-06/2.215, allocations: 0 / 1.097 GB, free: 332.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.1816/2.397, allocations: 206.4 MB / 1.298 GB, free: 129.2 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