Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_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.001178/0.001178, allocations: 105.7 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.001372/0.001372, 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.825/0.825, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 80.18 MB / 0.5807 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.01581/0.3577, allocations: 18.23 MB / 0.5985 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4885/0.8463, allocations: 162.6 MB / 0.7574 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004367/0.8507, allocations: 82.09 kB / 0.7574 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.8529, allocations: 0.7869 MB / 0.7582 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005965/0.859, allocations: 1.686 MB / 0.7598 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007879/0.8669, allocations: 3.994 MB / 0.7637 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01341/0.8803, allocations: 9.59 MB / 0.7731 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.892, allocations: 9.116 MB / 0.782 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.9, allocations: 5.124 MB / 0.787 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00826/0.9082, allocations: 5.74 MB / 0.7926 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004879/0.9131, allocations: 1.764 MB / 0.7943 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/0.9192, allocations: 2.234 MB / 0.7965 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004589/0.9239, allocations: 3.306 MB / 0.7998 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0084/0.9323, allocations: 6.08 MB / 0.8057 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.9492, allocations: 16.89 MB / 0.8222 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9493, allocations: 6.188 kB / 0.8222 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9493, allocations: 1.031 kB / 0.8222 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000566/0.9499, allocations: 0 / 0.8222 GB, free: 12.77 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.02882/0.9787, allocations: 10.49 MB / 0.8324 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.9788, allocations: 8.875 kB / 0.8325 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05695/1.036, allocations: 7.229 MB / 0.8395 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009846/1.046, allocations: 4.78 MB / 0.8442 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006525/1.046, allocations: 0.843 MB / 0.845 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003442/1.05, allocations: 1.09 MB / 0.8461 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04407/1.094, allocations: 14.55 MB / 0.8603 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002026/1.094, allocations: 3.094 kB / 0.8603 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/1.096, allocations: 468 kB / 0.8607 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.096, allocations: 283.9 kB / 0.861 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05384/1.15, allocations: 16.18 MB / 0.8768 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07984/1.23, allocations: 35.16 MB / 0.9111 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03415/1.264, allocations: 9.804 MB / 0.9207 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01712/1.281, allocations: 5.193 MB / 0.9258 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.283, allocations: 0.6762 MB / 0.9264 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01861/1.301, allocations: 5.942 MB / 0.9322 GB, free: 56 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 8.366e-06/1.301, allocations: 0.75 kB / 0.9322 GB, free: 56 kB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.05242/1.354, allocations: 14.85 MB / 0.9467 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/1.354, allocations: 356.2 kB / 0.9471 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/1.359, allocations: 3.242 MB / 0.9503 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.36, allocations: 137.7 kB / 0.9504 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/1.363, allocations: 3.651 MB / 0.9539 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002888/1.366, allocations: 2.247 MB / 0.9561 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/1.369, allocations: 1.232 MB / 0.9573 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/1.369, allocations: 303.4 kB / 0.9576 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01555/1.384, allocations: 4.376 MB / 0.9619 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01688/1.401, allocations: 4.916 MB / 0.9667 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03352/1.435, allocations: 9.167 MB / 0.9757 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/1.435, allocations: 4 kB / 0.9757 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04191/1.477, allocations: 10.63 MB / 0.986 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/1.477, allocations: 8 kB / 0.9861 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.477, allocations: 4 kB / 0.9861 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/1.478, allocations: 185.8 kB / 0.9862 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/1.492, allocations: 1.994 MB / 0.9882 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/1.497, allocations: 3.27 MB / 0.9914 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/1.509, allocations: 1.137 MB / 0.9925 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/1.511, allocations: 323.6 kB / 0.9928 GB, free: 1.371 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.005727/1.516, allocations: 1.55 MB / 0.9943 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/1.518, allocations: 0.5054 MB / 0.9948 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04424/1.562, allocations: 12.35 MB / 1.007 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/1.563, allocations: 68 kB / 1.007 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.563, allocations: 0 / 1.007 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.563, allocations: 35.88 kB / 1.007 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05752/1.62, allocations: 21.94 MB / 1.028 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.62, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01378/1.634, allocations: 1.851 MB / 1.03 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.635, allocations: 161.5 kB / 1.03 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001758/1.637, allocations: 223.7 kB / 1.031 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/1.641, allocations: 3.32 MB / 1.034 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.641, allocations: 0 / 1.034 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3602/2.001, allocations: 10.49 MB / 1.044 GB, free: 361.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00474/2.006, allocations: 1.76 MB / 1.046 GB, free: 361.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.007, allocations: 166.6 kB / 1.046 GB, free: 361.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/2.017, allocations: 0.7509 MB / 1.047 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/2.018, allocations: 415.4 kB / 1.047 GB, free: 361 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007955/2.019, allocations: 275.4 kB / 1.047 GB, free: 361 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004354/2.023, allocations: 2.423 MB / 1.05 GB, free: 360.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.9e-07/2.023, allocations: 1.312 kB / 1.05 GB, free: 360.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006711/2.03, allocations: 2.354 MB / 1.052 GB, free: 359.6 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.002467/2.033, allocations: 0.7854 MB / 1.053 GB, free: 359.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07932/2.112, allocations: 12.25 MB / 1.065 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.112, allocations: 3.531 kB / 1.065 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01768/2.13, allocations: 5.703 MB / 1.07 GB, free: 353.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005749/2.136, allocations: 0.9338 MB / 1.071 GB, free: 353.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/2.171, 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.003288/2.175, allocations: 3.946 MB / 1.092 GB, free: 339.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005895/2.18, allocations: 0.8561 MB / 1.093 GB, free: 339.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.293e-06/2.18, allocations: 0 / 1.093 GB, free: 339.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.1975/2.378, allocations: 206.4 MB / 1.294 GB, free: 136.7 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.WD400CalcHelperMain.o] Error 1