Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 110.3 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.00114/0.00114, allocations: 189.5 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7869/0.7869, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 66.77 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1457, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.02076/0.1665, allocations: 18.23 MB / 0.6781 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5086/0.6751, allocations: 162.6 MB / 0.837 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/0.6795, allocations: 76 kB / 0.837 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.6827, allocations: 0.7997 MB / 0.8378 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.6898, allocations: 1.683 MB / 0.8395 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008908/0.6987, allocations: 4.006 MB / 0.8434 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.7112, allocations: 9.655 MB / 0.8528 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.7252, allocations: 9.107 MB / 0.8617 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.7342, allocations: 5.201 MB / 0.8668 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008207/0.7424, allocations: 5.781 MB / 0.8724 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00473/0.7471, allocations: 1.762 MB / 0.8741 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00549/0.7526, allocations: 2.257 MB / 0.8763 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.7573, allocations: 3.304 MB / 0.8796 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009191/0.7665, allocations: 6.086 MB / 0.8855 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.7852, allocations: 17.19 MB / 0.9023 GB, free: 13.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7853, allocations: 4 kB / 0.9023 GB, free: 13.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7853, allocations: 3.844 kB / 0.9023 GB, free: 13.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004919/0.7858, allocations: 0 / 0.9023 GB, free: 13.74 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.02804/0.8138, allocations: 10.51 MB / 0.9126 GB, free: 3.137 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.8139, allocations: 8.031 kB / 0.9126 GB, free: 3.129 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05147/0.8654, allocations: 7.223 MB / 0.9196 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.8762, allocations: 4.829 MB / 0.9244 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006711/0.8769, allocations: 0.843 MB / 0.9252 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003816/0.8808, allocations: 1.098 MB / 0.9262 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/0.9229, allocations: 14.54 MB / 0.9404 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002284/0.9232, allocations: 0 / 0.9404 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/0.9262, allocations: 471.9 kB / 0.9409 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.9265, allocations: 280 kB / 0.9412 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04888/0.9753, allocations: 16.18 MB / 0.957 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07223/1.048, allocations: 34.64 MB / 0.9908 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02924/1.077, allocations: 9.789 MB / 1 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01523/1.092, allocations: 5.181 MB / 1.005 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.094, allocations: 0.6821 MB / 1.006 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01762/1.111, allocations: 5.94 MB / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.139e-05/1.111, allocations: 0 / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05291/1.164, allocations: 14.86 MB / 1.026 GB, free: 13.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/1.164, allocations: 356.1 kB / 1.027 GB, free: 13.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00512/1.17, allocations: 3.245 MB / 1.03 GB, free: 10.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002091/1.172, allocations: 145.6 kB / 1.03 GB, free: 9.984 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003254/1.175, allocations: 3.654 MB / 1.034 GB, free: 6.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003879/1.179, allocations: 2.229 MB / 1.036 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003259/1.182, allocations: 1.238 MB / 1.037 GB, free: 2.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.182, allocations: 301.1 kB / 1.037 GB, free: 2.484 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01488/1.197, allocations: 4.376 MB / 1.042 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/1.214, allocations: 4.917 MB / 1.046 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6973/1.911, allocations: 9.163 MB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-05/1.911, allocations: 2.875 kB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04075/1.952, allocations: 10.64 MB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.952, allocations: 8.656 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/1.952, allocations: 5.5 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.953, allocations: 192.9 kB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0139/1.967, allocations: 1.996 MB / 1.068 GB, free: 284 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/1.971, allocations: 3.268 MB / 1.071 GB, free: 281 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/1.983, allocations: 1.126 MB / 1.072 GB, free: 280.8 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/1.986, allocations: 324.4 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.006258/1.992, allocations: 1.556 MB / 1.074 GB, free: 279.8 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.994, allocations: 0.5043 MB / 1.074 GB, free: 279.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03685/2.031, allocations: 12.34 MB / 1.086 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/2.031, allocations: 69.66 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/2.031, allocations: 1.344 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/2.031, allocations: 34.28 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05081/2.082, allocations: 21.85 MB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/2.082, allocations: 3.984 kB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01181/2.094, allocations: 1.841 MB / 1.11 GB, free: 264.8 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008729/2.094, allocations: 163.6 kB / 1.11 GB, free: 264.8 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00156/2.096, allocations: 221.9 kB / 1.11 GB, free: 264.6 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/2.099, allocations: 3.316 MB / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.099, allocations: 7.922 kB / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03137/2.13, allocations: 10.51 MB / 1.124 GB, free: 254.8 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00444/2.135, allocations: 1.769 MB / 1.125 GB, free: 253 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/2.137, allocations: 159.4 kB / 1.125 GB, free: 252.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008928/2.146, allocations: 0.7548 MB / 1.126 GB, free: 252.1 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.147, allocations: 413.5 kB / 1.127 GB, free: 251.7 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007777/2.148, allocations: 275.7 kB / 1.127 GB, free: 251.4 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.003067/2.151, allocations: 2.422 MB / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.91e-07/2.151, allocations: 0 / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.00581/2.157, 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.002155/2.159, allocations: 0.7909 MB / 1.132 GB, free: 246.2 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.02947/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 9.798e-06/2.189, allocations: 0 / 1.143 GB, free: 235.5 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01541/2.204, allocations: 5.704 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.00554/2.21, allocations: 0.9326 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.03083/2.24, allocations: 16.81 MB / 1.166 GB, free: 212 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/2.243, allocations: 3.939 MB / 1.169 GB, free: 208 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005951/2.249, allocations: 0.8579 MB / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of SimCode: time 7.92e-07/2.249, allocations: 0 / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of Templates: time 0.5513/2.801, allocations: 208.7 MB / 1.374 GB, free: 279.5 MB / 0.8107 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1