Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 102.2 kB / 16.27 MB, free: 5.965 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.001197/0.001197, allocations: 192.5 kB / 17.2 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8072/0.8072, allocations: 135.1 MB / 426.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.506 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.315, allocations: 80.9 MB / 0.585 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.01522/0.3303, allocations: 18.22 MB / 0.6028 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4682/0.7986, allocations: 162.6 MB / 0.7616 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.8026, allocations: 78.38 kB / 0.7617 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.8053, allocations: 0.7936 MB / 0.7625 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.8134, allocations: 1.685 MB / 0.7641 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/0.8215, allocations: 3.992 MB / 0.768 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.8333, allocations: 9.596 MB / 0.7774 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.8462, allocations: 9.108 MB / 0.7863 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007797/0.854, allocations: 5.124 MB / 0.7913 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007972/0.862, allocations: 5.741 MB / 0.7969 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00401/0.866, allocations: 1.766 MB / 0.7986 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.871, allocations: 2.233 MB / 0.8008 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.875, allocations: 3.306 MB / 0.804 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008491/0.8835, allocations: 6.079 MB / 0.8099 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.9003, allocations: 16.9 MB / 0.8264 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9003, allocations: 0 / 0.8264 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9003, allocations: 0.9375 kB / 0.8264 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005265/0.9009, allocations: 0 / 0.8264 GB, free: 9.422 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.02666/0.9275, allocations: 10.5 MB / 0.8367 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.9276, allocations: 9.109 kB / 0.8367 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05285/0.9804, allocations: 7.233 MB / 0.8438 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/0.9905, allocations: 4.784 MB / 0.8484 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/0.9912, allocations: 0.8391 MB / 0.8493 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003612/0.9949, allocations: 1.09 MB / 0.8503 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0457/1.041, allocations: 14.55 MB / 0.8645 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/1.041, allocations: 0 / 0.8645 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00283/1.044, allocations: 468 kB / 0.865 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/1.044, allocations: 283.9 kB / 0.8653 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05361/1.098, allocations: 16.18 MB / 0.8811 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07953/1.177, allocations: 35.16 MB / 0.9154 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03485/1.212, allocations: 9.8 MB / 0.925 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01703/1.229, allocations: 5.188 MB / 0.93 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.231, allocations: 0.6738 MB / 0.9307 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01963/1.25, allocations: 5.947 MB / 0.9365 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=689): time 1.101e-05/1.25, allocations: 0 / 0.9365 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=689): time 0.0572/1.308, allocations: 14.85 MB / 0.951 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002062/1.308, allocations: 359.2 kB / 0.9513 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/1.313, allocations: 3.241 MB / 0.9545 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002313/1.316, allocations: 137.7 kB / 0.9546 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003153/1.319, allocations: 3.651 MB / 0.9582 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003415/1.322, allocations: 2.246 MB / 0.9604 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005428/1.328, allocations: 1.226 MB / 0.9616 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/1.328, allocations: 301.1 kB / 0.9619 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01647/1.344, allocations: 4.38 MB / 0.9662 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01727/1.362, allocations: 4.917 MB / 0.971 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03376/1.396, allocations: 9.165 MB / 0.9799 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.951e-05/1.396, allocations: 3.094 kB / 0.9799 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.0428/1.438, allocations: 10.63 MB / 0.9903 GB, free: 4.332 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.438, allocations: 8 kB / 0.9903 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.438, allocations: 8 kB / 0.9903 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/1.44, allocations: 189 kB / 0.9905 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/1.454, allocations: 1.992 MB / 0.9924 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/1.459, allocations: 3.262 MB / 0.9956 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/1.47, allocations: 1.143 MB / 0.9967 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/1.472, allocations: 323.6 kB / 0.997 GB, free: 13.22 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.006127/1.478, allocations: 1.567 MB / 0.9986 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/1.481, allocations: 0.4938 MB / 0.9991 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04802/1.529, allocations: 12.35 MB / 1.011 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/1.529, allocations: 68 kB / 1.011 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/1.529, allocations: 4 kB / 1.011 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001706/1.529, allocations: 35.88 kB / 1.011 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06313/1.592, allocations: 21.94 MB / 1.033 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/1.592, allocations: 0 / 1.033 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01347/1.606, allocations: 1.847 MB / 1.034 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/1.607, allocations: 161.5 kB / 1.035 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001821/1.609, allocations: 223.7 kB / 1.035 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/1.613, allocations: 3.327 MB / 1.038 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.613, allocations: 96 / 1.038 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3125/1.925, allocations: 10.5 MB / 1.048 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00553/1.931, allocations: 1.758 MB / 1.05 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002605/1.933, allocations: 169.5 kB / 1.05 GB, free: 357 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01114/1.945, allocations: 0.7483 MB / 1.051 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001607/1.946, allocations: 421.3 kB / 1.051 GB, free: 356.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001768/1.948, allocations: 276 kB / 1.052 GB, free: 356.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005753/1.954, allocations: 2.421 MB / 1.054 GB, free: 355.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.71e-07/1.954, allocations: 0 / 1.054 GB, free: 355.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009172/1.963, allocations: 2.349 MB / 1.056 GB, free: 355.2 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.003427/1.966, allocations: 0.7915 MB / 1.057 GB, free: 355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07749/2.044, 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.125e-06/2.044, allocations: 0 / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01842/2.062, allocations: 5.709 MB / 1.075 GB, free: 349.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009014/2.071, allocations: 0.9252 MB / 1.075 GB, free: 348.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/2.113, 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.005085/2.118, allocations: 3.94 MB / 1.096 GB, free: 332.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007259/2.126, allocations: 0.8609 MB / 1.097 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.302e-06/2.126, allocations: 0 / 1.097 GB, free: 332.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.1894/2.315, allocations: 206.4 MB / 1.298 GB, free: 129 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100Functions.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.WD100CalcHelperMain.o] Error 1