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.001187/0.001187, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001298/0.001299, allocations: 183 kB / 17.34 MB, free: 5.766 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.03 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01901/0.1877, allocations: 18.23 MB / 0.6831 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6604/0.8481, allocations: 162.7 MB / 0.8419 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006429/0.8546, allocations: 80.69 kB / 0.842 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.8579, allocations: 0.8004 MB / 0.8428 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.8659, allocations: 1.744 MB / 0.8445 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/0.8748, allocations: 4.003 MB / 0.8484 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.8896, allocations: 9.659 MB / 0.8578 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.9022, allocations: 9.1 MB / 0.8667 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009249/0.9115, allocations: 5.214 MB / 0.8718 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008828/0.9204, allocations: 5.773 MB / 0.8775 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005045/0.9255, allocations: 1.766 MB / 0.8792 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006509/0.932, allocations: 2.253 MB / 0.8814 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.9372, allocations: 3.315 MB / 0.8846 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.9481, allocations: 6.078 MB / 0.8906 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02276/0.9709, allocations: 17.2 MB / 0.9073 GB, free: 7.133 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.971, allocations: 0 / 0.9073 GB, free: 7.133 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.275e-06/0.971, allocations: 0 / 0.9073 GB, free: 7.133 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007046/0.9717, allocations: 0 / 0.9073 GB, free: 7.133 MB / 0.67 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.03224/1.004, allocations: 10.51 MB / 0.9176 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.004, allocations: 9.109 kB / 0.9176 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05212/1.056, allocations: 7.227 MB / 0.9247 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.067, allocations: 4.836 MB / 0.9294 GB, free: 368 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007691/1.068, allocations: 0.8392 MB / 0.9302 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004122/1.072, allocations: 1.097 MB / 0.9313 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04661/1.119, allocations: 14.55 MB / 0.9455 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/1.119, allocations: 0 / 0.9455 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/1.121, allocations: 471.9 kB / 0.9459 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/1.121, allocations: 280 kB / 0.9462 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05303/1.174, allocations: 16.18 MB / 0.962 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0817/1.256, allocations: 34.63 MB / 0.9958 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0327/1.289, allocations: 9.792 MB / 1.005 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01666/1.306, allocations: 5.19 MB / 1.01 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.307, allocations: 0.6816 MB / 1.011 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01906/1.326, allocations: 5.94 MB / 1.017 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.158e-05/1.326, allocations: 0 / 1.017 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05596/1.382, allocations: 14.86 MB / 1.031 GB, free: 7.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/1.383, allocations: 360.1 kB / 1.032 GB, free: 6.773 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/1.389, allocations: 3.238 MB / 1.035 GB, free: 3.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002549/1.391, allocations: 137.7 kB / 1.035 GB, free: 3.375 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003704/1.395, allocations: 3.654 MB / 1.039 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004268/1.399, allocations: 2.237 MB / 1.041 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003047/1.402, allocations: 1.238 MB / 1.042 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.402, allocations: 301.1 kB / 1.042 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01601/1.418, allocations: 4.372 MB / 1.047 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/1.436, allocations: 4.913 MB / 1.051 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8166/2.253, allocations: 9.171 MB / 1.06 GB, free: 282.6 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.654e-05/2.253, allocations: 1.938 kB / 1.06 GB, free: 282.6 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04148/2.295, allocations: 10.64 MB / 1.071 GB, free: 279.1 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/2.295, allocations: 7.125 kB / 1.071 GB, free: 279.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/2.295, allocations: 9.281 kB / 1.071 GB, free: 279.1 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/2.296, allocations: 182.4 kB / 1.071 GB, free: 279.1 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/2.31, allocations: 1.995 MB / 1.073 GB, free: 279 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/2.314, allocations: 3.269 MB / 1.076 GB, free: 276 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/2.326, allocations: 1.128 MB / 1.077 GB, free: 275.8 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/2.329, allocations: 329.5 kB / 1.077 GB, free: 275.8 MB / 0.8107 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.007668/2.336, allocations: 1.555 MB / 1.079 GB, free: 274.7 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/2.338, allocations: 0.5047 MB / 1.079 GB, free: 274.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03896/2.377, allocations: 12.33 MB / 1.092 GB, free: 270.1 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/2.377, allocations: 70.75 kB / 1.092 GB, free: 270.1 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/2.377, allocations: 0 / 1.092 GB, free: 270.1 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/2.378, allocations: 35.2 kB / 1.092 GB, free: 270.1 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05404/2.432, allocations: 21.84 MB / 1.113 GB, free: 259.5 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/2.432, allocations: 2.25 kB / 1.113 GB, free: 259.5 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01214/2.444, allocations: 1.855 MB / 1.115 GB, free: 259 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/2.445, allocations: 159.8 kB / 1.115 GB, free: 258.9 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001902/2.447, allocations: 218 kB / 1.115 GB, free: 258.7 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/2.45, allocations: 3.329 MB / 1.118 GB, free: 255.5 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/2.45, allocations: 3.938 kB / 1.118 GB, free: 255.5 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03821/2.488, allocations: 10.51 MB / 1.129 GB, free: 244.9 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004892/2.493, allocations: 1.758 MB / 1.13 GB, free: 243.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002869/2.496, allocations: 167.5 kB / 1.131 GB, free: 242.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/2.507, allocations: 0.758 MB / 1.131 GB, free: 242.2 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/2.508, allocations: 417.5 kB / 1.132 GB, free: 241.7 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001694/2.51, allocations: 275.7 kB / 1.132 GB, free: 241.5 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.005281/2.515, allocations: 2.418 MB / 1.134 GB, free: 239.1 MB / 0.8107 GB Notification: Performance of sort global known variables: time 4.11e-07/2.515, allocations: 0 / 1.134 GB, free: 239.1 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.009343/2.525, allocations: 2.349 MB / 1.137 GB, free: 236.7 MB / 0.8107 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.003322/2.528, allocations: 0.793 MB / 1.137 GB, free: 236.2 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.034/2.562, allocations: 10.6 MB / 1.148 GB, free: 225.5 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.562, allocations: 4 kB / 1.148 GB, free: 225.5 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01951/2.582, allocations: 5.716 MB / 1.153 GB, free: 219.7 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009502/2.591, allocations: 0.9383 MB / 1.154 GB, free: 218.8 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04194/2.633, allocations: 16.8 MB / 1.171 GB, free: 202 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/2.636, allocations: 3.935 MB / 1.174 GB, free: 198 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007155/2.643, allocations: 0.8618 MB / 1.175 GB, free: 197.1 MB / 0.8107 GB Notification: Performance of SimCode: time 1.212e-06/2.644, allocations: 0 / 1.175 GB, free: 197.1 MB / 0.8107 GB Notification: Performance of Templates: time 0.6247/3.268, allocations: 207.3 MB / 1.378 GB, free: 272.9 MB / 0.8107 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++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-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