Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 105.2 kB / 15.98 MB, free: 6.352 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.001569/0.001569, allocations: 195.5 kB / 16.91 MB, free: 6.188 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 135.1 MB / 425.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.5055 GB, free: 8.766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4726, allocations: 80.91 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.01541/0.4881, allocations: 17.93 MB / 0.602 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6224/1.111, allocations: 160.1 MB / 0.7583 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005784/1.116, allocations: 75.06 kB / 0.7584 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/1.12, allocations: 0.5553 MB / 0.759 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/1.128, allocations: 1.419 MB / 0.7603 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01048/1.139, allocations: 3.681 MB / 0.7639 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01726/1.156, allocations: 9.607 MB / 0.7733 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/1.17, allocations: 9.119 MB / 0.7822 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.181, allocations: 5.152 MB / 0.7873 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/1.191, allocations: 5.753 MB / 0.7929 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.006126/1.197, allocations: 1.764 MB / 0.7946 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007716/1.205, allocations: 2.234 MB / 0.7968 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006955/1.212, allocations: 3.314 MB / 0.8 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01228/1.224, allocations: 6.077 MB / 0.8059 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/1.242, allocations: 13.64 MB / 0.8193 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.242, allocations: 0 / 0.8193 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.746e-06/1.242, allocations: 0.5625 kB / 0.8193 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0009234/1.243, allocations: 0.9062 kB / 0.8193 GB, free: 15.29 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.03515/1.279, allocations: 10.5 MB / 0.8295 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.279, allocations: 13.39 kB / 0.8295 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05306/1.332, allocations: 7.23 MB / 0.8366 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.345, allocations: 4.78 MB / 0.8413 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009245/1.346, allocations: 0.843 MB / 0.8421 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004863/1.351, allocations: 1.094 MB / 0.8432 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05473/1.406, allocations: 14.55 MB / 0.8574 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/1.406, allocations: 0 / 0.8574 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004222/1.41, allocations: 468 kB / 0.8578 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/1.411, allocations: 286.8 kB / 0.8581 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05615/1.467, allocations: 16.17 MB / 0.8739 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09466/1.561, allocations: 35.16 MB / 0.9082 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03377/1.595, allocations: 9.822 MB / 0.9178 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0174/1.613, allocations: 5.184 MB / 0.9229 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.615, allocations: 0.6733 MB / 0.9235 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02261/1.637, allocations: 5.947 MB / 0.9293 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 1.972e-05/1.637, allocations: 0 / 0.9293 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.06506/1.703, allocations: 14.85 MB / 0.9438 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002604/1.703, allocations: 360.2 kB / 0.9442 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008144/1.711, allocations: 3.245 MB / 0.9473 GB, free: 452 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.002825/1.714, allocations: 137.7 kB / 0.9475 GB, free: 308 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004259/1.718, allocations: 3.646 MB / 0.951 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004796/1.723, allocations: 2.243 MB / 0.9532 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008711/1.732, allocations: 1.234 MB / 0.9544 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.732, allocations: 305.1 kB / 0.9547 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02249/1.754, allocations: 4.372 MB / 0.959 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02309/1.778, allocations: 4.916 MB / 0.9638 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04614/1.824, allocations: 9.167 MB / 0.9727 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/1.824, allocations: 8 kB / 0.9727 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04778/1.872, allocations: 10.64 MB / 0.9831 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/1.872, allocations: 8 kB / 0.9831 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/1.872, allocations: 7.984 kB / 0.9831 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.873, allocations: 185.7 kB / 0.9833 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/1.888, allocations: 1.998 MB / 0.9853 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/1.892, allocations: 3.259 MB / 0.9885 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/1.905, allocations: 1.135 MB / 0.9896 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002951/1.908, allocations: 327.6 kB / 0.9899 GB, free: 4.406 MB / 0.7637 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.009441/1.918, allocations: 1.56 MB / 0.9914 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003964/1.922, allocations: 0.4977 MB / 0.9919 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0514/1.973, allocations: 12.35 MB / 1.004 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/1.973, allocations: 68 kB / 1.004 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.816e-05/1.973, allocations: 0 / 1.004 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002592/1.974, allocations: 35.86 kB / 1.004 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07057/2.044, allocations: 21.94 MB / 1.025 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-05/2.044, allocations: 0 / 1.025 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01364/2.058, allocations: 1.845 MB / 1.027 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/2.059, allocations: 169.5 kB / 1.027 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002801/2.062, allocations: 218.7 kB / 1.028 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/2.066, allocations: 3.33 MB / 1.031 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.066, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5072/2.574, allocations: 10.49 MB / 1.041 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007926/2.582, allocations: 1.761 MB / 1.043 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00465/2.586, allocations: 166.4 kB / 1.043 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01371/2.6, allocations: 0.7594 MB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002866/2.603, allocations: 416.7 kB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/2.605, allocations: 273.8 kB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006301/2.612, allocations: 2.42 MB / 1.047 GB, free: 356.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/2.612, allocations: 0.7188 kB / 1.047 GB, free: 356.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01417/2.626, allocations: 2.347 MB / 1.049 GB, free: 355.8 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.005005/2.631, allocations: 0.8025 MB / 1.05 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07499/2.706, allocations: 12.25 MB / 1.062 GB, free: 351.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/2.706, allocations: 6.906 kB / 1.062 GB, free: 351.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01909/2.725, allocations: 5.697 MB / 1.067 GB, free: 349.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01198/2.737, allocations: 0.9189 MB / 1.068 GB, free: 349.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/2.788, allocations: 21.69 MB / 1.089 GB, free: 337 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00781/2.795, allocations: 3.928 MB / 1.093 GB, free: 334.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/2.805, allocations: 0.8668 MB / 1.094 GB, free: 333.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.595e-06/2.806, allocations: 0 / 1.094 GB, free: 333.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.2283/3.034, allocations: 206.4 MB / 1.296 GB, free: 131.7 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1