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.001844/0.001844, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.002023/0.002023, allocations: 187 kB / 17.34 MB, free: 5.715 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8423/0.8423, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 66.28 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1739, allocations: 80.93 MB / 0.6653 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.02146/0.1954, allocations: 18.24 MB / 0.6832 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5995/0.7949, allocations: 163.1 MB / 0.8424 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006357/0.8012, allocations: 80.75 kB / 0.8425 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.8049, allocations: 0.8023 MB / 0.8433 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008655/0.8136, allocations: 1.746 MB / 0.845 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.8244, allocations: 4.004 MB / 0.8489 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01654/0.8409, allocations: 9.642 MB / 0.8583 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.8532, allocations: 6.449 MB / 0.8646 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.8637, allocations: 5.202 MB / 0.8697 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.8745, allocations: 5.781 MB / 0.8753 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005994/0.8805, allocations: 1.766 MB / 0.8771 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/0.8872, allocations: 2.257 MB / 0.8793 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.8932, allocations: 3.304 MB / 0.8825 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.9046, allocations: 6.082 MB / 0.8884 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02641/0.931, allocations: 17.26 MB / 0.9053 GB, free: 9.195 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.931, allocations: 0 / 0.9053 GB, free: 9.195 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.715e-06/0.931, allocations: 0 / 0.9053 GB, free: 9.195 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006534/0.9317, allocations: 0 / 0.9053 GB, free: 9.195 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.03526/0.9669, allocations: 10.77 MB / 0.9158 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.967, allocations: 13.11 kB / 0.9158 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05052/1.018, allocations: 7.284 MB / 0.9229 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/1.029, allocations: 4.85 MB / 0.9277 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008824/1.03, allocations: 0.843 MB / 0.9285 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004307/1.034, allocations: 1.097 MB / 0.9296 GB, free: 148 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04772/1.082, allocations: 14.55 MB / 0.9438 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/1.082, allocations: 3.938 kB / 0.9438 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/1.084, allocations: 475.9 kB / 0.9442 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/1.084, allocations: 280 kB / 0.9445 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05443/1.139, allocations: 16.17 MB / 0.9603 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08812/1.227, allocations: 34.74 MB / 0.9942 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03298/1.26, allocations: 9.21 MB / 1.003 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0173/1.277, allocations: 4.732 MB / 1.008 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/1.279, allocations: 0.6751 MB / 1.009 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/1.298, allocations: 5.941 MB / 1.014 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 9.729e-06/1.298, allocations: 3.938 kB / 1.014 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.0558/1.354, allocations: 14.88 MB / 1.029 GB, free: 9.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002535/1.354, allocations: 360.2 kB / 1.029 GB, free: 9.402 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/1.36, allocations: 3.242 MB / 1.032 GB, free: 6.141 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002173/1.362, allocations: 141.7 kB / 1.032 GB, free: 5.996 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004135/1.366, allocations: 3.748 MB / 1.036 GB, free: 2.219 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004311/1.37, allocations: 2.359 MB / 1.038 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/1.374, allocations: 1.238 MB / 1.04 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.374, allocations: 301.1 kB / 1.04 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01691/1.391, allocations: 4.38 MB / 1.044 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02423/1.415, allocations: 4.917 MB / 1.049 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03566/1.451, allocations: 9.167 MB / 1.058 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-05/1.451, allocations: 0 / 1.058 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04257/1.493, allocations: 10.66 MB / 1.068 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.493, allocations: 8 kB / 1.068 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.493, allocations: 4.25 kB / 1.068 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.495, allocations: 189.5 kB / 1.069 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7623/2.257, allocations: 1.994 MB / 1.071 GB, free: 299.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/2.26, allocations: 3.258 MB / 1.074 GB, free: 297 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/2.274, allocations: 1.147 MB / 1.075 GB, free: 297 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003155/2.277, allocations: 322 kB / 1.075 GB, free: 297 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.007759/2.285, allocations: 1.56 MB / 1.077 GB, free: 296.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/2.287, allocations: 0.5285 MB / 1.077 GB, free: 296.8 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05158/2.339, allocations: 12.33 MB / 1.089 GB, free: 293.5 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.835e-05/2.339, allocations: 69.92 kB / 1.089 GB, free: 293.5 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/2.339, allocations: 4.781 kB / 1.089 GB, free: 293.5 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001904/2.339, allocations: 40.56 kB / 1.089 GB, free: 293.5 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06377/2.403, allocations: 21.86 MB / 1.111 GB, free: 284.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.679e-05/2.403, allocations: 0 / 1.111 GB, free: 284.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/2.415, allocations: 1.846 MB / 1.112 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/2.416, allocations: 161.8 kB / 1.113 GB, free: 284.3 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002236/2.418, allocations: 223.3 kB / 1.113 GB, free: 284.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/2.422, allocations: 3.32 MB / 1.116 GB, free: 281.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.422, allocations: 0 / 1.116 GB, free: 281.1 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04155/2.463, allocations: 10.54 MB / 1.126 GB, free: 276.4 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005196/2.468, allocations: 1.79 MB / 1.128 GB, free: 274.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003085/2.471, allocations: 156.7 kB / 1.128 GB, free: 274.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01037/2.482, allocations: 0.7587 MB / 1.129 GB, free: 274.5 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001995/2.484, allocations: 415.4 kB / 1.129 GB, free: 274.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002012/2.486, allocations: 279.5 kB / 1.13 GB, free: 274.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005037/2.491, allocations: 2.417 MB / 1.132 GB, free: 272.9 MB / 0.8263 GB Notification: Performance of sort global known variables: time 3e-07/2.491, allocations: 0 / 1.132 GB, free: 272.9 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.009835/2.501, allocations: 2.389 MB / 1.134 GB, free: 271.3 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.004066/2.505, allocations: 0.7965 MB / 1.135 GB, free: 270.8 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03491/2.54, allocations: 10.14 MB / 1.145 GB, free: 260.6 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.54, allocations: 0.6875 kB / 1.145 GB, free: 260.6 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01821/2.558, allocations: 5.278 MB / 1.15 GB, free: 255.3 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/2.566, allocations: 0.9337 MB / 1.151 GB, free: 254.4 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/2.608, allocations: 17.11 MB / 1.168 GB, free: 237.2 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/2.614, allocations: 3.935 MB / 1.172 GB, free: 233.2 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007967/2.622, allocations: 0.8618 MB / 1.173 GB, free: 232.3 MB / 0.8263 GB Notification: Performance of SimCode: time 1.934e-06/2.622, allocations: 0 / 1.173 GB, free: 232.3 MB / 0.8263 GB Notification: Performance of Templates: time 0.1917/2.813, allocations: 207.6 MB / 1.375 GB, free: 24.57 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