Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, 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.001976/0.001976, 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.376/1.376, 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.812/0.812, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 61.33 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 80.21 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.01963/0.1646, allocations: 18.22 MB / 0.6781 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4994/0.664, allocations: 162.6 MB / 0.8369 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.6678, allocations: 82.28 kB / 0.837 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.6703, allocations: 0.7968 MB / 0.8378 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.6761, allocations: 1.685 MB / 0.8394 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007759/0.6839, allocations: 4.004 MB / 0.8434 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.6948, allocations: 9.652 MB / 0.8528 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.7071, allocations: 9.11 MB / 0.8617 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00806/0.7151, allocations: 5.199 MB / 0.8668 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008825/0.724, allocations: 5.781 MB / 0.8724 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005315/0.7293, allocations: 1.766 MB / 0.8741 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005202/0.7346, allocations: 2.253 MB / 0.8763 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004441/0.739, allocations: 3.307 MB / 0.8796 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.7475, allocations: 6.078 MB / 0.8855 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.018/0.7655, allocations: 17.2 MB / 0.9023 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7655, allocations: 0 / 0.9023 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7655, allocations: 0 / 0.9023 GB, free: 13.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005237/0.7661, allocations: 0 / 0.9023 GB, free: 13.8 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.02776/0.7938, allocations: 10.52 MB / 0.9126 GB, free: 3.191 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7939, allocations: 12.02 kB / 0.9126 GB, free: 3.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04964/0.8436, allocations: 7.223 MB / 0.9196 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009301/0.8529, allocations: 4.825 MB / 0.9243 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/0.8536, allocations: 0.8469 MB / 0.9252 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00341/0.857, allocations: 1.09 MB / 0.9262 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04455/0.9015, allocations: 14.55 MB / 0.9404 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.9018, allocations: 7.938 kB / 0.9404 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/0.9055, allocations: 471.9 kB / 0.9409 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/0.9058, allocations: 280 kB / 0.9412 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06876/0.9746, allocations: 16.17 MB / 0.9569 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07869/1.053, allocations: 34.63 MB / 0.9908 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03264/1.086, allocations: 9.786 MB / 1 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01637/1.102, allocations: 5.193 MB / 1.005 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.104, allocations: 0.6751 MB / 1.006 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/1.123, allocations: 5.953 MB / 1.012 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.217e-05/1.123, allocations: 0 / 1.012 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05437/1.178, allocations: 14.85 MB / 1.026 GB, free: 13.88 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/1.178, allocations: 364.1 kB / 1.027 GB, free: 13.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/1.183, allocations: 3.234 MB / 1.03 GB, free: 10.19 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/1.185, allocations: 141.7 kB / 1.03 GB, free: 10.05 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003054/1.188, allocations: 3.65 MB / 1.034 GB, free: 6.355 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003506/1.192, allocations: 2.237 MB / 1.036 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005032/1.197, allocations: 1.242 MB / 1.037 GB, free: 2.832 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/1.197, allocations: 301.1 kB / 1.037 GB, free: 2.535 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01468/1.212, allocations: 4.372 MB / 1.042 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01615/1.228, allocations: 4.924 MB / 1.046 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6676/1.895, allocations: 9.165 MB / 1.055 GB, free: 285.6 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/1.895, allocations: 2.625 kB / 1.055 GB, free: 285.6 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04142/1.937, allocations: 10.63 MB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.937, allocations: 8.25 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.937, allocations: 5 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/1.938, allocations: 189.1 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01395/1.952, allocations: 1.993 MB / 1.068 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/1.956, allocations: 3.272 MB / 1.071 GB, free: 281.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/1.967, allocations: 1.132 MB / 1.072 GB, free: 280.9 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/1.969, allocations: 323.8 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.005853/1.975, allocations: 1.557 MB / 1.074 GB, free: 279.8 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/1.977, allocations: 0.506 MB / 1.074 GB, free: 279.8 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04368/2.021, allocations: 12.32 MB / 1.086 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/2.021, allocations: 69.44 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/2.021, allocations: 0 / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001523/2.021, allocations: 42.08 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0532/2.074, allocations: 21.84 MB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.196e-05/2.074, allocations: 3.984 kB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/2.086, allocations: 1.851 MB / 1.11 GB, free: 264.9 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000889/2.087, allocations: 165.3 kB / 1.11 GB, free: 264.8 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001851/2.089, allocations: 215.8 kB / 1.11 GB, free: 264.6 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/2.092, allocations: 3.314 MB / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.092, allocations: 3.531 kB / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03369/2.126, allocations: 10.51 MB / 1.124 GB, free: 254.9 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/2.13, allocations: 1.762 MB / 1.125 GB, free: 253.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/2.132, allocations: 167.3 kB / 1.125 GB, free: 252.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009148/2.141, allocations: 0.7545 MB / 1.126 GB, free: 252.2 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/2.142, allocations: 425.3 kB / 1.127 GB, free: 251.8 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000853/2.143, allocations: 271.7 kB / 1.127 GB, free: 251.5 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.003203/2.146, allocations: 2.422 MB / 1.129 GB, free: 249.1 MB / 0.8107 GB Notification: Performance of sort global known variables: time 2e-07/2.146, allocations: 0 / 1.129 GB, free: 249.1 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.006577/2.153, allocations: 2.349 MB / 1.132 GB, free: 246.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.002924/2.156, allocations: 0.7865 MB / 1.132 GB, free: 246.2 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03179/2.188, allocations: 10.61 MB / 1.143 GB, free: 235.5 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/2.188, allocations: 0.6875 kB / 1.143 GB, free: 235.5 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01654/2.204, allocations: 5.712 MB / 1.148 GB, free: 229.8 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/2.21, allocations: 0.9301 MB / 1.149 GB, free: 228.9 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/2.242, allocations: 16.8 MB / 1.166 GB, free: 212 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/2.244, allocations: 3.935 MB / 1.169 GB, free: 208.1 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00576/2.25, allocations: 0.8618 MB / 1.17 GB, free: 207.2 MB / 0.8107 GB Notification: Performance of SimCode: time 9.81e-07/2.25, allocations: 0 / 1.17 GB, free: 207.2 MB / 0.8107 GB Notification: Performance of Templates: time 0.5795/2.83, allocations: 208.7 MB / 1.374 GB, free: 279.5 MB / 0.8107 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD100Functions.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.WD100CalcHelperMain.o] Error 1