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.0009285/0.0009286, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008605/0.0008606, allocations: 185.9 kB / 16.92 MB, free: 6.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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9079/0.9079, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.01809/0.1707, allocations: 17.02 MB / 0.6052 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4263/0.597, allocations: 158.4 MB / 0.7599 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004526/0.6016, allocations: 77.56 kB / 0.76 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.6043, allocations: 0.5619 MB / 0.7605 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.611, allocations: 1.402 MB / 0.7619 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008417/0.6195, allocations: 3.646 MB / 0.7654 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.631, allocations: 8.733 MB / 0.774 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.6442, allocations: 8.532 MB / 0.7823 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006142/0.6503, allocations: 2.807 MB / 0.785 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00583/0.6562, allocations: 3.384 MB / 0.7883 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.6582, allocations: 207.9 kB / 0.7885 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.6614, allocations: 0.6634 MB / 0.7892 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.6639, allocations: 1.406 MB / 0.7906 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005562/0.6695, allocations: 3.943 MB / 0.7944 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.6829, allocations: 13.03 MB / 0.8071 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.6829, allocations: 0 / 0.8071 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6829, allocations: 4 kB / 0.8071 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005557/0.6835, allocations: 0 / 0.8071 GB, free: 10.81 MB / 0.6231 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.02144/0.7049, allocations: 8.038 MB / 0.815 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.705, allocations: 12.03 kB / 0.815 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05418/0.7592, allocations: 7.828 MB / 0.8227 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009867/0.7691, allocations: 4.79 MB / 0.8273 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008195/0.7699, allocations: 0.843 MB / 0.8282 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003672/0.7736, allocations: 1.09 MB / 0.8292 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04471/0.8183, allocations: 14.78 MB / 0.8436 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.8186, allocations: 3.938 kB / 0.8437 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.82, allocations: 472 kB / 0.8441 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002645/0.8202, allocations: 280 kB / 0.8444 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05298/0.8732, allocations: 16.63 MB / 0.8606 GB, free: 3.738 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5416/1.415, allocations: 35.27 MB / 0.8951 GB, free: 182.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/1.446, allocations: 9.841 MB / 0.9047 GB, free: 178.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01681/1.463, allocations: 5.223 MB / 0.9098 GB, free: 176.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/1.464, allocations: 0.6758 MB / 0.9104 GB, free: 176 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01935/1.484, allocations: 5.984 MB / 0.9163 GB, free: 173.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.825e-05/1.484, allocations: 4 kB / 0.9163 GB, free: 173.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05257/1.536, allocations: 14.96 MB / 0.9309 GB, free: 168.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.537, allocations: 359.5 kB / 0.9312 GB, free: 168.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.541, allocations: 3.238 MB / 0.9344 GB, free: 166.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001566/1.543, allocations: 145.3 kB / 0.9345 GB, free: 166.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/1.545, allocations: 3.653 MB / 0.9381 GB, free: 163.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002597/1.547, allocations: 2.236 MB / 0.9403 GB, free: 161.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.549, allocations: 467.3 kB / 0.9407 GB, free: 161.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/1.549, allocations: 302.5 kB / 0.941 GB, free: 160.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01367/1.562, allocations: 4.408 MB / 0.9453 GB, free: 158.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0149/1.577, allocations: 4.959 MB / 0.9502 GB, free: 156 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02833/1.606, allocations: 9.232 MB / 0.9592 GB, free: 151.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/1.606, allocations: 3.469 kB / 0.9592 GB, free: 151.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03322/1.639, allocations: 10.71 MB / 0.9696 GB, free: 142 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.639, allocations: 11.94 kB / 0.9696 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.639, allocations: 4 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.64, allocations: 185.8 kB / 0.9698 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01255/1.652, allocations: 2.012 MB / 0.9718 GB, free: 139.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/1.656, allocations: 3.052 MB / 0.9748 GB, free: 136.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/1.667, allocations: 1.157 MB / 0.9759 GB, free: 135.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.668, allocations: 323.6 kB / 0.9762 GB, free: 134.9 MB / 0.67 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.004806/1.673, allocations: 1.554 MB / 0.9777 GB, free: 133.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.674, allocations: 0.5131 MB / 0.9782 GB, free: 132.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03982/1.714, allocations: 12.42 MB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/1.714, allocations: 68 kB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.714, allocations: 4 kB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001303/1.714, allocations: 35.88 kB / 0.9905 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0532/1.768, allocations: 21.99 MB / 1.012 GB, free: 98.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/1.768, allocations: 0 / 1.012 GB, free: 98.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01257/1.78, allocations: 1.865 MB / 1.014 GB, free: 96.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/1.781, allocations: 193.5 kB / 1.014 GB, free: 96.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001799/1.783, allocations: 223.7 kB / 1.014 GB, free: 95.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/1.786, allocations: 3.095 MB / 1.017 GB, free: 92.58 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.786, allocations: 0 / 1.017 GB, free: 92.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03661/1.823, allocations: 10.57 MB / 1.027 GB, free: 81.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004696/1.828, allocations: 1.897 MB / 1.029 GB, free: 79.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002384/1.83, allocations: 120 kB / 1.029 GB, free: 79.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01003/1.84, allocations: 0.7992 MB / 1.03 GB, free: 79.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/1.841, allocations: 421.5 kB / 1.031 GB, free: 78.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001492/1.843, allocations: 271.7 kB / 1.031 GB, free: 78.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004229/1.847, allocations: 2.422 MB / 1.033 GB, free: 75.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.847, allocations: 0 / 1.033 GB, free: 75.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007402/1.855, allocations: 2.359 MB / 1.036 GB, free: 73.62 MB / 0.67 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.00311/1.858, allocations: 0.7725 MB / 1.036 GB, free: 73.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03229/1.89, allocations: 10.67 MB / 1.047 GB, free: 62.36 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.89, allocations: 3.938 kB / 1.047 GB, free: 62.36 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/1.907, allocations: 5.746 MB / 1.052 GB, free: 56.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007347/1.915, allocations: 0.8647 MB / 1.053 GB, free: 55.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/1.952, allocations: 21.79 MB / 1.074 GB, free: 33.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/1.955, allocations: 3.939 MB / 1.078 GB, free: 29.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005698/1.961, allocations: 0.8618 MB / 1.079 GB, free: 29.03 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/1.961, allocations: 0 / 1.079 GB, free: 29.03 MB / 0.67 GB Notification: Performance of Templates: time 0.4548/2.416, allocations: 205.1 MB / 1.279 GB, free: 92.02 MB / 0.6857 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++14 -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