Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Validation.BESTEST.WD300") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_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.001344/0.001344, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.001054/0.001054, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8236/0.8236, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 59.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3436, allocations: 80.19 MB / 0.5807 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01601/0.3596, allocations: 18.21 MB / 0.5985 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4913/0.851, allocations: 162.6 MB / 0.7573 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004544/0.8556, allocations: 80.56 kB / 0.7574 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.858, allocations: 0.791 MB / 0.7582 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006008/0.8641, allocations: 1.694 MB / 0.7598 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007453/0.8715, allocations: 3.993 MB / 0.7637 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.885, allocations: 9.589 MB / 0.7731 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.8964, allocations: 9.112 MB / 0.782 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008147/0.9046, allocations: 5.127 MB / 0.787 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008265/0.9129, allocations: 5.738 MB / 0.7926 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005278/0.9182, allocations: 1.762 MB / 0.7943 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006068/0.9243, allocations: 2.233 MB / 0.7965 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005123/0.9294, allocations: 3.312 MB / 0.7998 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008254/0.9377, allocations: 6.077 MB / 0.8057 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.9551, allocations: 16.89 MB / 0.8222 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9551, allocations: 0.9375 kB / 0.8222 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9551, allocations: 0 / 0.8222 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005442/0.9557, allocations: 3.219 kB / 0.8222 GB, free: 12.76 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.0295/0.9852, allocations: 10.5 MB / 0.8324 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9852, allocations: 8.906 kB / 0.8325 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05632/1.042, allocations: 7.233 MB / 0.8395 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009876/1.051, allocations: 4.779 MB / 0.8442 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/1.052, allocations: 0.8391 MB / 0.845 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00341/1.056, allocations: 1.097 MB / 0.8461 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04372/1.099, allocations: 14.55 MB / 0.8603 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/1.1, allocations: 0 / 0.8603 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/1.102, allocations: 468 kB / 0.8607 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/1.102, allocations: 283.9 kB / 0.861 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05424/1.156, allocations: 16.17 MB / 0.8768 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08039/1.237, allocations: 35.17 MB / 0.9111 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03435/1.271, allocations: 9.802 MB / 0.9207 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01742/1.289, allocations: 5.185 MB / 0.9258 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.29, allocations: 0.6797 MB / 0.9264 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01938/1.309, allocations: 5.942 MB / 0.9322 GB, free: 64 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 1.254e-05/1.309, allocations: 0 / 0.9322 GB, free: 64 kB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.05684/1.366, allocations: 14.85 MB / 0.9467 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.366, allocations: 356.2 kB / 0.9471 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/1.372, allocations: 3.247 MB / 0.9503 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00168/1.374, allocations: 137.7 kB / 0.9504 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00319/1.377, allocations: 3.645 MB / 0.9539 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003254/1.38, allocations: 2.243 MB / 0.9561 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003652/1.384, allocations: 1.23 MB / 0.9573 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/1.384, allocations: 304.2 kB / 0.9576 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01558/1.4, allocations: 4.384 MB / 0.9619 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0171/1.417, allocations: 4.91 MB / 0.9667 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03434/1.451, allocations: 9.167 MB / 0.9757 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/1.451, allocations: 4 kB / 0.9757 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04231/1.494, allocations: 10.63 MB / 0.986 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/1.494, allocations: 8 kB / 0.9861 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.494, allocations: 7.984 kB / 0.9861 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/1.495, allocations: 186.5 kB / 0.9862 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/1.509, allocations: 1.997 MB / 0.9882 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/1.514, allocations: 3.266 MB / 0.9914 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/1.526, allocations: 1.13 MB / 0.9925 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/1.528, allocations: 327.6 kB / 0.9928 GB, free: 1.379 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.00662/1.535, allocations: 1.566 MB / 0.9943 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/1.537, allocations: 0.4938 MB / 0.9948 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04591/1.583, allocations: 12.35 MB / 1.007 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-05/1.584, allocations: 68 kB / 1.007 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.584, allocations: 4 kB / 1.007 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/1.584, allocations: 35.86 kB / 1.007 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05859/1.642, allocations: 21.93 MB / 1.028 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/1.642, allocations: 0 / 1.028 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01415/1.657, allocations: 1.844 MB / 1.03 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/1.658, allocations: 177.2 kB / 1.03 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001878/1.659, allocations: 219.8 kB / 1.031 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/1.663, allocations: 3.326 MB / 1.034 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.663, allocations: 0 / 1.034 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3566/2.02, allocations: 10.49 MB / 1.044 GB, free: 362.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004792/2.025, allocations: 1.763 MB / 1.046 GB, free: 361.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001667/2.026, allocations: 166.9 kB / 1.046 GB, free: 361.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/2.037, allocations: 0.7527 MB / 1.047 GB, free: 361.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.038, allocations: 419.4 kB / 1.047 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/2.039, allocations: 276.6 kB / 1.047 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005242/2.045, allocations: 2.423 MB / 1.05 GB, free: 360.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.002e-06/2.045, allocations: 0 / 1.05 GB, free: 360.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007205/2.052, allocations: 2.354 MB / 1.052 GB, free: 359.7 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.002434/2.054, allocations: 0.7879 MB / 1.053 GB, free: 359.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07803/2.132, allocations: 12.25 MB / 1.065 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.132, allocations: 0 / 1.065 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01739/2.15, allocations: 5.709 MB / 1.07 GB, free: 353.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007445/2.157, allocations: 0.9308 MB / 1.071 GB, free: 353.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/2.194, allocations: 17.04 MB / 1.088 GB, free: 342.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/2.198, allocations: 3.947 MB / 1.092 GB, free: 339.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006123/2.204, allocations: 0.8562 MB / 1.093 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.904e-06/2.204, allocations: 0 / 1.093 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.1989/2.403, allocations: 206.4 MB / 1.294 GB, free: 136.7 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD300Functions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.o] Error 1