Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_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.001285/0.001285, allocations: 103.4 kB / 16.41 MB, free: 6.5 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.001296/0.001296, allocations: 185.6 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.369/1.369, 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.8533/0.8533, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.84 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.93 MB / 0.6653 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.02065/0.1704, allocations: 18.21 MB / 0.6831 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5524/0.7228, allocations: 162.7 MB / 0.8419 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.7275, allocations: 80.09 kB / 0.842 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.7305, allocations: 0.7994 MB / 0.8428 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.7377, allocations: 1.746 MB / 0.8445 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008958/0.7467, allocations: 4.01 MB / 0.8484 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01424/0.7609, allocations: 9.654 MB / 0.8578 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.7735, allocations: 9.107 MB / 0.8667 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008898/0.7824, allocations: 5.205 MB / 0.8718 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009099/0.7916, allocations: 5.777 MB / 0.8774 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004999/0.7966, allocations: 1.766 MB / 0.8792 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/0.8026, allocations: 2.261 MB / 0.8814 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00532/0.8079, allocations: 3.304 MB / 0.8846 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.8186, allocations: 6.082 MB / 0.8905 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02331/0.842, allocations: 17.2 MB / 0.9073 GB, free: 7.004 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.842, allocations: 3.75 kB / 0.9073 GB, free: 7.004 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.304e-06/0.842, allocations: 0 / 0.9073 GB, free: 7.004 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006254/0.8427, allocations: 3.984 kB / 0.9073 GB, free: 7 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.03358/0.8763, allocations: 10.5 MB / 0.9176 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.8763, allocations: 9.109 kB / 0.9176 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05324/0.9296, allocations: 7.223 MB / 0.9246 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.9406, allocations: 4.832 MB / 0.9294 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/0.9415, allocations: 0.8431 MB / 0.9302 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/0.9454, allocations: 1.09 MB / 0.9313 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05082/0.9963, allocations: 14.55 MB / 0.9455 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003472/0.9967, allocations: 7.938 kB / 0.9455 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00347/1, allocations: 471.9 kB / 0.9459 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/1, allocations: 280 kB / 0.9462 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05562/1.056, allocations: 16.17 MB / 0.962 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08583/1.142, allocations: 34.64 MB / 0.9958 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03316/1.175, allocations: 9.8 MB / 1.005 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01682/1.192, allocations: 5.185 MB / 1.01 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.194, allocations: 0.675 MB / 1.011 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02003/1.214, allocations: 5.94 MB / 1.017 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.405e-05/1.214, allocations: 0 / 1.017 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05781/1.272, allocations: 14.86 MB / 1.031 GB, free: 7.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002365/1.272, allocations: 360.1 kB / 1.032 GB, free: 6.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006835/1.279, allocations: 3.234 MB / 1.035 GB, free: 3.395 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002098/1.281, allocations: 145.7 kB / 1.035 GB, free: 3.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003833/1.285, allocations: 3.647 MB / 1.039 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004032/1.289, allocations: 2.24 MB / 1.041 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006993/1.296, allocations: 1.234 MB / 1.042 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.296, allocations: 305.1 kB / 1.042 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01624/1.312, allocations: 4.369 MB / 1.047 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01724/1.329, allocations: 4.924 MB / 1.051 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03283/1.362, allocations: 9.171 MB / 1.06 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-05/1.362, allocations: 5.688 kB / 1.06 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.7933/2.156, allocations: 10.63 MB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/2.156, allocations: 11.09 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/2.156, allocations: 5.5 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/2.157, allocations: 185.8 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/2.171, allocations: 1.989 MB / 1.073 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/2.175, allocations: 3.275 MB / 1.076 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.187, allocations: 1.132 MB / 1.077 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/2.19, allocations: 326.7 kB / 1.077 GB, free: 295.4 MB / 0.8263 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.007102/2.197, allocations: 1.56 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002558/2.199, allocations: 0.5018 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04838/2.248, allocations: 12.32 MB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/2.248, allocations: 70.25 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/2.248, allocations: 5.062 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002123/2.248, allocations: 33.38 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06099/2.309, allocations: 21.85 MB / 1.113 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/2.309, allocations: 3.875 kB / 1.113 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/2.322, allocations: 1.845 MB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009816/2.323, allocations: 164.1 kB / 1.115 GB, free: 282 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002252/2.326, allocations: 225.1 kB / 1.115 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/2.329, allocations: 3.32 MB / 1.118 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.329, allocations: 0 / 1.118 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03939/2.368, allocations: 10.51 MB / 1.129 GB, free: 273.5 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005327/2.373, allocations: 1.762 MB / 1.13 GB, free: 272 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003311/2.377, allocations: 164.2 kB / 1.131 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/2.388, allocations: 0.7637 MB / 1.131 GB, free: 271.5 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/2.39, allocations: 421.5 kB / 1.132 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002259/2.392, allocations: 275.4 kB / 1.132 GB, free: 271.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005446/2.397, allocations: 2.417 MB / 1.134 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of sort global known variables: time 6.01e-07/2.397, allocations: 0 / 1.134 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.01055/2.408, allocations: 2.349 MB / 1.137 GB, free: 268.4 MB / 0.8263 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.004117/2.412, allocations: 0.7863 MB / 1.137 GB, free: 267.8 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03649/2.449, allocations: 10.6 MB / 1.148 GB, free: 257.2 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.449, allocations: 4 kB / 1.148 GB, free: 257.2 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01919/2.468, allocations: 5.715 MB / 1.153 GB, free: 251.4 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009488/2.477, allocations: 0.9325 MB / 1.154 GB, free: 250.5 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/2.519, allocations: 16.8 MB / 1.171 GB, free: 233.7 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/2.523, allocations: 3.935 MB / 1.174 GB, free: 229.7 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00661/2.529, allocations: 0.8618 MB / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of SimCode: time 1.032e-06/2.529, allocations: 0 / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of Templates: time 0.2043/2.733, allocations: 207.3 MB / 1.378 GB, free: 21.38 MB / 0.8263 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.makefile make -j1 -f IDEAS_dev_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-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.WD100CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100Functions.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.WD100CalcHelperMain.o] Error 1