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.001559/0.001559, allocations: 111.9 kB / 16.41 MB, free: 6.461 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.001689/0.001689, allocations: 187 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7956/0.7956, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.38 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01772/0.1548, allocations: 18.22 MB / 0.6781 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5245/0.6793, allocations: 162.7 MB / 0.837 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.6835, allocations: 80.69 kB / 0.8371 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.6868, allocations: 0.795 MB / 0.8378 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.6971, allocations: 1.675 MB / 0.8395 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008875/0.706, allocations: 4.01 MB / 0.8434 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.7187, allocations: 9.648 MB / 0.8528 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.7318, allocations: 9.106 MB / 0.8617 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009172/0.741, allocations: 5.208 MB / 0.8668 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007815/0.7489, allocations: 5.771 MB / 0.8724 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00524/0.7541, allocations: 1.766 MB / 0.8741 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006442/0.7606, allocations: 2.269 MB / 0.8764 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.7656, allocations: 3.3 MB / 0.8796 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009734/0.7754, allocations: 6.086 MB / 0.8855 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.7965, allocations: 17.19 MB / 0.9023 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.7966, allocations: 4 kB / 0.9023 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7966, allocations: 0 / 0.9023 GB, free: 13.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006817/0.7973, allocations: 0 / 0.9023 GB, free: 13.71 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.0292/0.8265, allocations: 10.51 MB / 0.9126 GB, free: 3.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8265, allocations: 8.031 kB / 0.9126 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04948/0.876, allocations: 7.223 MB / 0.9196 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/0.886, allocations: 4.836 MB / 0.9244 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/0.8868, allocations: 0.843 MB / 0.9252 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003876/0.8907, allocations: 1.094 MB / 0.9262 GB, free: 5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04673/0.9374, allocations: 14.54 MB / 0.9404 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.9377, allocations: 4 kB / 0.9405 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003125/0.9408, allocations: 471.9 kB / 0.9409 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.9411, allocations: 280 kB / 0.9412 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0533/0.9944, allocations: 16.18 MB / 0.957 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07903/1.073, allocations: 34.64 MB / 0.9908 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03209/1.106, allocations: 9.796 MB / 1 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01649/1.122, allocations: 5.189 MB / 1.005 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.124, allocations: 0.679 MB / 1.006 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01875/1.142, allocations: 5.94 MB / 1.012 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.099e-05/1.142, allocations: 0 / 1.012 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05432/1.197, allocations: 14.86 MB / 1.026 GB, free: 13.78 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/1.197, allocations: 356.2 kB / 1.027 GB, free: 13.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/1.202, allocations: 3.241 MB / 1.03 GB, free: 10.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001757/1.203, allocations: 141.7 kB / 1.03 GB, free: 9.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002959/1.206, allocations: 3.643 MB / 1.034 GB, free: 6.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003308/1.21, allocations: 2.24 MB / 1.036 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002726/1.213, allocations: 1.238 MB / 1.037 GB, free: 2.746 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/1.213, allocations: 305.1 kB / 1.037 GB, free: 2.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01474/1.227, allocations: 4.372 MB / 1.042 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/1.244, allocations: 4.921 MB / 1.046 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6999/1.943, allocations: 9.163 MB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/1.944, allocations: 2.031 kB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03909/1.983, allocations: 10.63 MB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.983, allocations: 6.812 kB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.983, allocations: 6.297 kB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/1.984, allocations: 187.9 kB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/1.997, allocations: 1.995 MB / 1.068 GB, free: 284 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/2.001, allocations: 3.266 MB / 1.071 GB, free: 281 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.011, allocations: 1.134 MB / 1.072 GB, free: 280.8 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/2.013, allocations: 324.2 kB / 1.072 GB, free: 280.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.00491/2.018, allocations: 1.558 MB / 1.074 GB, free: 279.7 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/2.02, allocations: 0.5029 MB / 1.074 GB, free: 279.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03918/2.059, allocations: 12.33 MB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/2.059, allocations: 71.06 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/2.059, allocations: 0 / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/2.059, allocations: 36.19 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04844/2.108, allocations: 21.84 MB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/2.108, allocations: 3.625 kB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01159/2.119, allocations: 1.843 MB / 1.11 GB, free: 264.8 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/2.12, allocations: 168.6 kB / 1.11 GB, free: 264.7 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001471/2.122, allocations: 232.5 kB / 1.11 GB, free: 264.5 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/2.125, allocations: 3.312 MB / 1.113 GB, free: 261.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/2.125, allocations: 0 / 1.113 GB, free: 261.3 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/2.158, allocations: 10.51 MB / 1.124 GB, free: 254.8 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004024/2.162, allocations: 1.765 MB / 1.125 GB, free: 253 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00142/2.163, allocations: 167.5 kB / 1.125 GB, free: 252.8 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008669/2.172, allocations: 0.7506 MB / 1.126 GB, free: 252.1 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001326/2.173, allocations: 417.5 kB / 1.127 GB, free: 251.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001039/2.174, allocations: 275.7 kB / 1.127 GB, free: 251.4 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.003356/2.178, allocations: 2.418 MB / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.5e-07/2.178, allocations: 0 / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.006948/2.184, allocations: 2.347 MB / 1.132 GB, free: 246.6 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.002439/2.187, allocations: 0.8015 MB / 1.132 GB, free: 246.1 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03148/2.218, allocations: 10.6 MB / 1.143 GB, free: 235.4 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/2.218, allocations: 3.938 kB / 1.143 GB, free: 235.4 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01622/2.235, allocations: 5.712 MB / 1.148 GB, free: 229.7 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/2.24, allocations: 0.9193 MB / 1.149 GB, free: 228.8 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/2.272, allocations: 16.81 MB / 1.166 GB, free: 211.9 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/2.275, allocations: 3.935 MB / 1.169 GB, free: 207.9 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006225/2.281, allocations: 0.8657 MB / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of SimCode: time 6.01e-07/2.281, allocations: 0 / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of Templates: time 0.5178/2.799, allocations: 208.7 MB / 1.374 GB, free: 279.5 MB / 0.8107 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