Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_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.001328/0.001328, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001248/0.001248, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7813/0.7813, allocations: 135.1 MB / 426.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.39 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 80.91 MB / 0.6652 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.01853/0.1764, allocations: 18.23 MB / 0.683 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5605/0.7369, allocations: 162.7 MB / 0.8419 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005444/0.7424, allocations: 79.75 kB / 0.842 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.7456, allocations: 0.7895 MB / 0.8427 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00806/0.7537, allocations: 1.693 MB / 0.8444 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009089/0.7628, allocations: 3.996 MB / 0.8483 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01299/0.7758, allocations: 9.653 MB / 0.8577 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.7907, allocations: 9.106 MB / 0.8666 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009016/0.7998, allocations: 5.128 MB / 0.8716 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00886/0.8086, allocations: 5.778 MB / 0.8773 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005439/0.8141, allocations: 1.762 MB / 0.879 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0064/0.8205, allocations: 2.265 MB / 0.8812 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005603/0.8262, allocations: 3.304 MB / 0.8844 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/0.837, allocations: 6.082 MB / 0.8903 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.8575, allocations: 17.19 MB / 0.9071 GB, free: 7.133 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8575, allocations: 4 kB / 0.9071 GB, free: 7.129 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8575, allocations: 0 / 0.9071 GB, free: 7.129 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005882/0.8581, allocations: 0 / 0.9071 GB, free: 7.129 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.03334/0.8914, allocations: 10.5 MB / 0.9174 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.8915, allocations: 9.109 kB / 0.9174 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05109/0.9426, allocations: 7.227 MB / 0.9245 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.955, allocations: 4.84 MB / 0.9292 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008952/0.9559, allocations: 0.8431 MB / 0.93 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/0.9603, allocations: 1.09 MB / 0.9311 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/1.015, allocations: 14.55 MB / 0.9453 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004111/1.015, allocations: 0 / 0.9453 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004233/1.019, allocations: 475.9 kB / 0.9457 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002913/1.02, allocations: 280 kB / 0.946 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05778/1.078, allocations: 16.18 MB / 0.9618 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09136/1.169, allocations: 34.63 MB / 0.9956 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0343/1.203, allocations: 9.796 MB / 1.005 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0185/1.222, allocations: 5.19 MB / 1.01 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/1.224, allocations: 0.6858 MB / 1.011 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0209/1.245, allocations: 5.932 MB / 1.017 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.869e-05/1.245, allocations: 4 kB / 1.017 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.0576/1.303, allocations: 14.86 MB / 1.031 GB, free: 7.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/1.303, allocations: 364.1 kB / 1.032 GB, free: 6.762 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006886/1.31, allocations: 3.234 MB / 1.035 GB, free: 3.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001902/1.312, allocations: 137.7 kB / 1.035 GB, free: 3.367 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003655/1.315, allocations: 3.647 MB / 1.038 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003704/1.319, allocations: 2.244 MB / 1.041 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005738/1.325, allocations: 1.238 MB / 1.042 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.325, allocations: 305.1 kB / 1.042 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01566/1.341, allocations: 4.376 MB / 1.046 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01652/1.357, allocations: 4.917 MB / 1.051 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03119/1.388, allocations: 9.175 MB / 1.06 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/1.388, allocations: 4 kB / 1.06 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.9294/2.318, allocations: 10.63 MB / 1.071 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/2.318, allocations: 7.234 kB / 1.071 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/2.318, allocations: 7.062 kB / 1.071 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/2.319, allocations: 185.7 kB / 1.071 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.334, allocations: 1.991 MB / 1.073 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/2.338, allocations: 3.259 MB / 1.076 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.35, allocations: 1.137 MB / 1.077 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003088/2.354, allocations: 323.7 kB / 1.077 GB, free: 295.3 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.009854/2.363, allocations: 1.56 MB / 1.079 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003962/2.367, allocations: 0.4983 MB / 1.079 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0544/2.422, allocations: 12.33 MB / 1.091 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/2.422, allocations: 72.66 kB / 1.091 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-05/2.422, allocations: 1.219 kB / 1.091 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002384/2.422, allocations: 37.16 kB / 1.091 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0661/2.488, allocations: 21.84 MB / 1.113 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/2.489, allocations: 4 kB / 1.113 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/2.501, allocations: 1.846 MB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/2.502, allocations: 160.4 kB / 1.115 GB, free: 282 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002153/2.504, allocations: 229.5 kB / 1.115 GB, free: 281.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/2.508, allocations: 3.326 MB / 1.118 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/2.508, allocations: 0 / 1.118 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04041/2.548, allocations: 10.51 MB / 1.128 GB, free: 273.5 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005475/2.554, allocations: 1.759 MB / 1.13 GB, free: 272 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003137/2.557, allocations: 163 kB / 1.13 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/2.567, allocations: 0.7598 MB / 1.131 GB, free: 271.5 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001997/2.569, allocations: 415.1 kB / 1.131 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002079/2.571, allocations: 283.5 kB / 1.132 GB, free: 271.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005563/2.577, allocations: 2.419 MB / 1.134 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of sort global known variables: time 5.11e-07/2.577, allocations: 0 / 1.134 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.01133/2.588, allocations: 2.353 MB / 1.136 GB, free: 268.5 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.004006/2.592, allocations: 0.7878 MB / 1.137 GB, free: 268 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03597/2.628, allocations: 10.6 MB / 1.148 GB, free: 257.3 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.628, allocations: 7.938 kB / 1.148 GB, free: 257.3 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/2.648, allocations: 5.715 MB / 1.153 GB, free: 251.6 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/2.659, allocations: 0.9138 MB / 1.154 GB, free: 250.7 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04392/2.703, allocations: 16.8 MB / 1.17 GB, free: 233.8 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/2.705, allocations: 3.939 MB / 1.174 GB, free: 229.8 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005967/2.711, allocations: 0.8579 MB / 1.175 GB, free: 229 MB / 0.8263 GB Notification: Performance of SimCode: time 1.413e-06/2.711, allocations: 0 / 1.175 GB, free: 229 MB / 0.8263 GB Notification: Performance of Templates: time 0.2156/2.927, allocations: 206.4 MB / 1.377 GB, free: 22.41 MB / 0.8263 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_dev_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-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.WD600CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1