Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 91.53 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.001022/0.001022, allocations: 178.4 kB / 16.92 MB, free: 6.652 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9039/0.9039, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 8.781 kB / 0.5082 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 82.3 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01742/0.1658, allocations: 17.04 MB / 0.6052 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4233/0.5892, allocations: 158.4 MB / 0.7599 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00408/0.5933, allocations: 76.72 kB / 0.76 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.5955, allocations: 0.5591 MB / 0.7605 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.6016, allocations: 1.4 MB / 0.7619 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007913/0.6095, allocations: 3.651 MB / 0.7654 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.6206, allocations: 8.738 MB / 0.774 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.6327, allocations: 8.538 MB / 0.7823 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/0.6386, allocations: 2.806 MB / 0.7851 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006151/0.6447, allocations: 3.381 MB / 0.7884 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.6467, allocations: 207.9 kB / 0.7886 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.6497, allocations: 0.6672 MB / 0.7892 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.6521, allocations: 1.414 MB / 0.7906 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005415/0.6575, allocations: 3.936 MB / 0.7944 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.67, allocations: 13.03 MB / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6701, allocations: 0 / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.075e-06/0.6701, allocations: 4 kB / 0.8072 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004382/0.6705, 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.0198/0.6903, allocations: 8.045 MB / 0.815 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6904, allocations: 12.03 kB / 0.815 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05376/0.7442, allocations: 7.824 MB / 0.8227 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009438/0.7537, allocations: 4.782 MB / 0.8273 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009846/0.7547, allocations: 0.843 MB / 0.8282 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004003/0.7587, allocations: 1.09 MB / 0.8292 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04545/0.8042, allocations: 14.78 MB / 0.8437 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/0.8044, allocations: 4 kB / 0.8437 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/0.8064, allocations: 472 kB / 0.8441 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.8066, allocations: 280 kB / 0.8444 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05277/0.8594, allocations: 16.63 MB / 0.8606 GB, free: 3.695 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5835/1.443, allocations: 35.27 MB / 0.8951 GB, free: 181.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03313/1.476, allocations: 9.84 MB / 0.9047 GB, free: 178.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01787/1.494, allocations: 5.219 MB / 0.9098 GB, free: 176.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.495, allocations: 0.6806 MB / 0.9104 GB, free: 175.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02153/1.517, allocations: 5.976 MB / 0.9163 GB, free: 173.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 3.276e-05/1.517, allocations: 0 / 0.9163 GB, free: 173.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05928/1.576, allocations: 14.97 MB / 0.9309 GB, free: 168.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/1.577, allocations: 358.2 kB / 0.9312 GB, free: 167.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006374/1.583, allocations: 3.242 MB / 0.9344 GB, free: 166.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001917/1.585, allocations: 141.3 kB / 0.9345 GB, free: 166.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/1.588, allocations: 3.645 MB / 0.9381 GB, free: 163.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003534/1.591, allocations: 2.237 MB / 0.9403 GB, free: 161.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/1.594, allocations: 467 kB / 0.9407 GB, free: 160.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/1.594, allocations: 308.5 kB / 0.941 GB, free: 160.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01543/1.609, allocations: 4.414 MB / 0.9453 GB, free: 158.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01639/1.625, allocations: 4.95 MB / 0.9502 GB, free: 155.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03018/1.656, allocations: 9.243 MB / 0.9592 GB, free: 150.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/1.656, allocations: 3.5 kB / 0.9592 GB, free: 150.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03744/1.693, allocations: 10.7 MB / 0.9696 GB, free: 141.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.693, allocations: 8.25 kB / 0.9696 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.693, allocations: 8 kB / 0.9697 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.694, allocations: 189.5 kB / 0.9698 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/1.707, allocations: 2.009 MB / 0.9718 GB, free: 139.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/1.71, allocations: 3.052 MB / 0.9748 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.721, allocations: 1.153 MB / 0.9759 GB, free: 135.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.722, allocations: 327.6 kB / 0.9762 GB, free: 134.8 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.005209/1.728, allocations: 1.561 MB / 0.9777 GB, free: 133.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/1.729, allocations: 0.5053 MB / 0.9782 GB, free: 132.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03944/1.769, allocations: 12.41 MB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/1.769, allocations: 68 kB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.769, allocations: 1.312 kB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001125/1.769, allocations: 35.86 kB / 0.9905 GB, free: 120.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04855/1.818, allocations: 22 MB / 1.012 GB, free: 98.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/1.818, allocations: 3.984 kB / 1.012 GB, free: 98.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01203/1.83, allocations: 1.865 MB / 1.014 GB, free: 96.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/1.831, allocations: 189.5 kB / 1.014 GB, free: 96.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/1.832, allocations: 219.7 kB / 1.014 GB, free: 95.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/1.835, allocations: 3.099 MB / 1.017 GB, free: 92.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.835, allocations: 4.062 kB / 1.017 GB, free: 92.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03692/1.872, allocations: 10.57 MB / 1.028 GB, free: 81.79 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004553/1.877, allocations: 1.897 MB / 1.029 GB, free: 79.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00253/1.879, allocations: 116 kB / 1.029 GB, free: 79.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/1.889, allocations: 0.8081 MB / 1.03 GB, free: 78.94 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/1.891, allocations: 417.5 kB / 1.031 GB, free: 78.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001548/1.893, allocations: 271.7 kB / 1.031 GB, free: 78.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004135/1.897, allocations: 2.422 MB / 1.033 GB, free: 75.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.897, allocations: 0 / 1.033 GB, free: 75.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007437/1.904, allocations: 2.353 MB / 1.036 GB, free: 73.5 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.00291/1.907, allocations: 0.7839 MB / 1.036 GB, free: 72.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03359/1.941, allocations: 10.67 MB / 1.047 GB, free: 62.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.941, allocations: 4 kB / 1.047 GB, free: 62.24 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01733/1.958, allocations: 5.743 MB / 1.052 GB, free: 56.47 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007333/1.965, allocations: 0.864 MB / 1.053 GB, free: 55.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/2.003, allocations: 21.79 MB / 1.075 GB, free: 33.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/2.006, allocations: 3.935 MB / 1.078 GB, free: 29.78 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005779/2.012, allocations: 0.8618 MB / 1.079 GB, free: 28.92 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/2.012, allocations: 0 / 1.079 GB, free: 28.92 MB / 0.67 GB Notification: Performance of Templates: time 0.4918/2.504, allocations: 205.1 MB / 1.279 GB, free: 91.88 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300Functions.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.WD300CalcHelperMain.o] Error 1