Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.5 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.001927/0.001927, allocations: 183 kB / 17.34 MB, free: 5.762 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.632/1.632, 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-master/package.mo): time 0.8406/0.8406, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.56 kB / 0.5863 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 80.93 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.02331/0.2081, allocations: 18.26 MB / 0.6832 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6257/0.8338, allocations: 163.1 MB / 0.8425 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00619/0.84, allocations: 76.62 kB / 0.8425 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.8439, allocations: 0.8077 MB / 0.8433 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009187/0.8531, allocations: 1.748 MB / 0.845 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.8639, allocations: 4.009 MB / 0.8489 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01599/0.8799, allocations: 9.647 MB / 0.8584 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.8915, allocations: 6.451 MB / 0.8647 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.9016, allocations: 5.197 MB / 0.8697 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009814/0.9114, allocations: 5.769 MB / 0.8754 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00558/0.917, allocations: 1.766 MB / 0.8771 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006439/0.9235, allocations: 2.261 MB / 0.8793 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005739/0.9292, allocations: 3.315 MB / 0.8825 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.9401, allocations: 6.074 MB / 0.8885 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02378/0.9639, allocations: 17.26 MB / 0.9053 GB, free: 9.066 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9639, allocations: 7.938 kB / 0.9053 GB, free: 9.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9639, allocations: 0 / 0.9053 GB, free: 9.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006141/0.9645, allocations: 4 kB / 0.9053 GB, free: 9.055 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.03347/0.998, allocations: 10.77 MB / 0.9158 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.998, allocations: 9.109 kB / 0.9159 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05105/1.049, allocations: 7.28 MB / 0.923 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/1.06, allocations: 4.851 MB / 0.9277 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008849/1.061, allocations: 0.8476 MB / 0.9285 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0044/1.066, allocations: 1.094 MB / 0.9296 GB, free: 8 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05076/1.117, allocations: 14.54 MB / 0.9438 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002926/1.117, allocations: 0 / 0.9438 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003765/1.121, allocations: 475.9 kB / 0.9443 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/1.121, allocations: 284 kB / 0.9445 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05769/1.179, allocations: 16.18 MB / 0.9603 GB, free: 428 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09068/1.269, allocations: 34.74 MB / 0.9943 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03513/1.304, allocations: 9.212 MB / 1.003 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01775/1.322, allocations: 4.736 MB / 1.008 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/1.324, allocations: 0.6788 MB / 1.009 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02132/1.345, allocations: 5.941 MB / 1.014 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.188e-05/1.345, allocations: 0 / 1.014 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.06463/1.41, allocations: 14.88 MB / 1.029 GB, free: 9.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003138/1.41, allocations: 356.2 kB / 1.029 GB, free: 9.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006371/1.416, allocations: 3.246 MB / 1.032 GB, free: 6.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002414/1.419, allocations: 137.7 kB / 1.033 GB, free: 5.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004423/1.423, allocations: 3.759 MB / 1.036 GB, free: 2.074 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004978/1.428, allocations: 2.351 MB / 1.038 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00704/1.435, allocations: 1.238 MB / 1.04 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.435, allocations: 309.1 kB / 1.04 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0178/1.453, allocations: 4.376 MB / 1.044 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01891/1.472, allocations: 4.921 MB / 1.049 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7178/2.19, allocations: 9.165 MB / 1.058 GB, free: 281.4 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/2.19, allocations: 2.344 kB / 1.058 GB, free: 281.4 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04681/2.237, allocations: 10.65 MB / 1.068 GB, free: 278.4 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/2.237, allocations: 8.141 kB / 1.068 GB, free: 278.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/2.237, allocations: 6.125 kB / 1.068 GB, free: 278.4 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/2.238, allocations: 186.7 kB / 1.069 GB, free: 278.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/2.253, allocations: 1.999 MB / 1.071 GB, free: 278.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/2.256, allocations: 3.264 MB / 1.074 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/2.268, allocations: 1.142 MB / 1.075 GB, free: 275.2 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/2.271, allocations: 324.2 kB / 1.075 GB, free: 275.1 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.007266/2.278, allocations: 1.559 MB / 1.077 GB, free: 274.1 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002503/2.28, allocations: 0.5346 MB / 1.077 GB, free: 274 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04556/2.326, allocations: 12.34 MB / 1.089 GB, free: 269.6 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/2.326, allocations: 72.23 kB / 1.089 GB, free: 269.6 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/2.326, allocations: 0 / 1.089 GB, free: 269.6 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001686/2.326, allocations: 36.28 kB / 1.089 GB, free: 269.6 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05913/2.385, allocations: 21.85 MB / 1.111 GB, free: 259.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.125e-05/2.385, allocations: 0 / 1.111 GB, free: 259.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/2.398, allocations: 1.853 MB / 1.113 GB, free: 258.8 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/2.399, allocations: 162.5 kB / 1.113 GB, free: 258.7 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002303/2.401, allocations: 222.6 kB / 1.113 GB, free: 258.6 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/2.404, allocations: 3.326 MB / 1.116 GB, free: 255.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/2.404, allocations: 3.469 kB / 1.116 GB, free: 255.3 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03994/2.444, allocations: 10.53 MB / 1.126 GB, free: 246.6 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005073/2.449, allocations: 1.784 MB / 1.128 GB, free: 244.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003232/2.452, allocations: 171.9 kB / 1.128 GB, free: 244.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/2.463, allocations: 0.7531 MB / 1.129 GB, free: 244 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001945/2.465, allocations: 415.1 kB / 1.129 GB, free: 243.6 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002241/2.467, allocations: 279.7 kB / 1.13 GB, free: 243.3 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.005333/2.472, allocations: 2.418 MB / 1.132 GB, free: 240.9 MB / 0.8107 GB Notification: Performance of sort global known variables: time 2.01e-07/2.472, allocations: 4 kB / 1.132 GB, free: 240.9 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.01225/2.484, allocations: 2.38 MB / 1.134 GB, free: 238.8 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.004376/2.489, allocations: 0.7961 MB / 1.135 GB, free: 238.2 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.0352/2.524, allocations: 10.14 MB / 1.145 GB, free: 228 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/2.524, allocations: 4 kB / 1.145 GB, free: 228 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01828/2.542, allocations: 5.279 MB / 1.15 GB, free: 222.7 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009616/2.552, allocations: 0.933 MB / 1.151 GB, free: 221.8 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0437/2.596, allocations: 17.1 MB / 1.168 GB, free: 204.6 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006225/2.602, allocations: 3.932 MB / 1.172 GB, free: 200.7 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009154/2.611, allocations: 0.8657 MB / 1.173 GB, free: 199.8 MB / 0.8107 GB Notification: Performance of SimCode: time 1.754e-06/2.611, allocations: 0 / 1.173 GB, free: 199.8 MB / 0.8107 GB Notification: Performance of Templates: time 0.6075/3.218, allocations: 207.6 MB / 1.375 GB, free: 270.1 MB / 0.8107 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.WD400CalcHelperMain.o] Error 1