Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_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.000944/0.0009444, allocations: 92.62 kB / 16.02 MB, free: 80 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.001083/0.001083, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8941/0.8941, allocations: 135.3 MB / 427.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 9.156 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.32 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.01642/0.158, allocations: 17.04 MB / 0.6053 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4169/0.5749, allocations: 158.4 MB / 0.7599 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.579, allocations: 73.31 kB / 0.76 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.5813, allocations: 0.5591 MB / 0.7605 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.5875, allocations: 1.401 MB / 0.7619 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007558/0.595, allocations: 3.645 MB / 0.7655 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.6058, allocations: 8.735 MB / 0.774 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.6167, allocations: 8.537 MB / 0.7823 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005818/0.6226, allocations: 2.802 MB / 0.7851 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.6277, allocations: 3.392 MB / 0.7884 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.6293, allocations: 200 kB / 0.7886 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.6316, allocations: 0.6712 MB / 0.7892 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.633, allocations: 1.41 MB / 0.7906 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004703/0.6377, allocations: 3.94 MB / 0.7944 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.6501, allocations: 13.04 MB / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6501, allocations: 0 / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6501, allocations: 0 / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004401/0.6505, allocations: 0 / 0.8072 GB, free: 10.77 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.01912/0.6697, allocations: 8.049 MB / 0.815 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6697, allocations: 8.031 kB / 0.815 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05144/0.7212, allocations: 7.828 MB / 0.8227 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008672/0.7299, allocations: 4.782 MB / 0.8274 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006128/0.7305, allocations: 0.843 MB / 0.8282 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/0.7335, allocations: 1.09 MB / 0.8292 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04248/0.776, allocations: 14.78 MB / 0.8437 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.7762, allocations: 3.938 kB / 0.8437 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/0.7777, allocations: 472 kB / 0.8441 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.7779, allocations: 280 kB / 0.8444 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05115/0.8291, allocations: 16.62 MB / 0.8606 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5977/1.427, allocations: 35.27 MB / 0.8951 GB, free: 181.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03075/1.458, allocations: 9.847 MB / 0.9047 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01628/1.474, allocations: 5.22 MB / 0.9098 GB, free: 176.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/1.475, allocations: 0.6747 MB / 0.9104 GB, free: 175.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01894/1.494, allocations: 5.979 MB / 0.9163 GB, free: 173.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.642e-05/1.494, allocations: 0 / 0.9163 GB, free: 173.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05595/1.55, allocations: 14.97 MB / 0.9309 GB, free: 168.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.55, allocations: 362.5 kB / 0.9312 GB, free: 167.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005502/1.556, allocations: 3.239 MB / 0.9344 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001829/1.558, allocations: 137.7 kB / 0.9345 GB, free: 166.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.561, allocations: 3.653 MB / 0.9381 GB, free: 163.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003283/1.564, allocations: 2.239 MB / 0.9403 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002072/1.566, allocations: 462.2 kB / 0.9407 GB, free: 161.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/1.566, allocations: 305.8 kB / 0.941 GB, free: 160.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01547/1.581, allocations: 4.411 MB / 0.9453 GB, free: 158.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01619/1.598, allocations: 4.951 MB / 0.9502 GB, free: 155.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03046/1.628, allocations: 9.24 MB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/1.628, allocations: 0 / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03913/1.667, allocations: 10.71 MB / 0.9696 GB, free: 141.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/1.667, allocations: 7.188 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/1.667, allocations: 8 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.669, allocations: 185.8 kB / 0.9698 GB, free: 141.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/1.682, allocations: 2.013 MB / 0.9718 GB, free: 139.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/1.685, allocations: 3.048 MB / 0.9748 GB, free: 136.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.697, allocations: 1.157 MB / 0.9759 GB, free: 135.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/1.699, 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.007576/1.706, allocations: 1.561 MB / 0.9777 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/1.709, allocations: 0.5053 MB / 0.9782 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04513/1.754, allocations: 12.41 MB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/1.755, allocations: 72 kB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-05/1.755, allocations: 0 / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002745/1.755, allocations: 39.86 kB / 0.9905 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05977/1.815, allocations: 21.99 MB / 1.012 GB, free: 98.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/1.815, allocations: 0 / 1.012 GB, free: 98.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01252/1.827, allocations: 1.865 MB / 1.014 GB, free: 96.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/1.828, allocations: 201.3 kB / 1.014 GB, free: 96.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002049/1.83, allocations: 219.8 kB / 1.014 GB, free: 95.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/1.834, allocations: 3.095 MB / 1.017 GB, free: 92.53 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.834, allocations: 0 / 1.017 GB, free: 92.53 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04046/1.874, allocations: 10.58 MB / 1.028 GB, free: 81.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005789/1.88, allocations: 1.893 MB / 1.029 GB, free: 79.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00306/1.883, allocations: 120 kB / 1.029 GB, free: 79.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/1.894, allocations: 0.801 MB / 1.03 GB, free: 79.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001759/1.896, allocations: 413.5 kB / 1.031 GB, free: 78.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001923/1.898, allocations: 275.7 kB / 1.031 GB, free: 78.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004669/1.902, allocations: 2.418 MB / 1.033 GB, free: 75.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/1.902, allocations: 4 kB / 1.033 GB, free: 75.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008929/1.911, allocations: 2.357 MB / 1.036 GB, free: 73.57 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.003604/1.915, allocations: 0.7753 MB / 1.036 GB, free: 73.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0342/1.949, allocations: 10.67 MB / 1.047 GB, free: 62.31 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.949, allocations: 4 kB / 1.047 GB, free: 62.31 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01784/1.967, allocations: 5.747 MB / 1.052 GB, free: 56.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008228/1.975, allocations: 0.8575 MB / 1.053 GB, free: 55.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03979/2.015, allocations: 21.79 MB / 1.075 GB, free: 33.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/2.018, allocations: 3.939 MB / 1.078 GB, free: 29.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006051/2.025, allocations: 0.8618 MB / 1.079 GB, free: 28.98 MB / 0.67 GB Notification: Performance of SimCode: time 9.51e-07/2.025, allocations: 4 kB / 1.079 GB, free: 28.98 MB / 0.67 GB Notification: Performance of Templates: time 0.4892/2.514, allocations: 205.1 MB / 1.279 GB, free: 91.95 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.WD400CalcHelperMain.o] Error 1