Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009273, allocations: 91.92 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008871/0.000887, allocations: 182.3 kB / 16.92 MB, free: 6.926 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.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8889/0.8889, allocations: 135.3 MB / 427.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 12 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.3 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.01738/0.1604, allocations: 17.04 MB / 0.6052 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4059/0.5663, allocations: 158.4 MB / 0.7599 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.5701, allocations: 76.12 kB / 0.76 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.5723, allocations: 0.5556 MB / 0.7605 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.5782, allocations: 1.405 MB / 0.7619 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007355/0.5856, allocations: 3.653 MB / 0.7654 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.5962, allocations: 8.73 MB / 0.774 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.6066, allocations: 8.545 MB / 0.7823 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.6118, allocations: 2.804 MB / 0.7851 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004546/0.6164, allocations: 3.384 MB / 0.7884 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.6175, allocations: 204 kB / 0.7886 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.6195, allocations: 0.6712 MB / 0.7892 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.6208, allocations: 1.402 MB / 0.7906 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003885/0.6246, allocations: 3.94 MB / 0.7944 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.6363, allocations: 13.03 MB / 0.8072 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.6364, allocations: 4 kB / 0.8072 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6364, allocations: 0 / 0.8072 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005154/0.6369, allocations: 0 / 0.8072 GB, free: 10.82 MB / 0.6231 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.01924/0.6562, allocations: 8.053 MB / 0.815 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6562, allocations: 8.031 kB / 0.815 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05246/0.7087, allocations: 7.821 MB / 0.8227 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008984/0.7177, allocations: 4.786 MB / 0.8273 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/0.7184, allocations: 0.8391 MB / 0.8282 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/0.7214, allocations: 1.094 MB / 0.8292 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/0.7617, allocations: 14.78 MB / 0.8437 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/0.762, allocations: 8 kB / 0.8437 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/0.7634, allocations: 468 kB / 0.8441 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.7636, allocations: 280 kB / 0.8444 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05091/0.8145, allocations: 16.63 MB / 0.8606 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5577/1.372, allocations: 35.27 MB / 0.8951 GB, free: 181.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03203/1.404, allocations: 9.839 MB / 0.9047 GB, free: 178.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01721/1.422, allocations: 5.22 MB / 0.9098 GB, free: 176.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.423, allocations: 0.678 MB / 0.9104 GB, free: 175.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01968/1.443, allocations: 5.98 MB / 0.9163 GB, free: 173.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.81e-05/1.443, allocations: 1.469 kB / 0.9163 GB, free: 173.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05598/1.499, allocations: 14.96 MB / 0.9309 GB, free: 168.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.499, allocations: 358.4 kB / 0.9312 GB, free: 167.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/1.504, allocations: 3.241 MB / 0.9344 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001894/1.505, allocations: 137.3 kB / 0.9345 GB, free: 166.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.508, allocations: 3.648 MB / 0.9381 GB, free: 163.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002924/1.511, allocations: 2.24 MB / 0.9403 GB, free: 161.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/1.512, allocations: 470.2 kB / 0.9407 GB, free: 161 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.154e-05/1.512, allocations: 306.4 kB / 0.941 GB, free: 160.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01526/1.527, allocations: 4.417 MB / 0.9453 GB, free: 158.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/1.543, allocations: 4.942 MB / 0.9502 GB, free: 155.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02874/1.572, allocations: 9.243 MB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/1.572, allocations: 3.469 kB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03477/1.607, allocations: 10.7 MB / 0.9696 GB, free: 142 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.607, allocations: 12.19 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.607, allocations: 11.94 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.608, allocations: 185.5 kB / 0.9698 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/1.62, allocations: 2.013 MB / 0.9718 GB, free: 139.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/1.624, allocations: 3.049 MB / 0.9748 GB, free: 136.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/1.634, allocations: 1.155 MB / 0.9759 GB, free: 135.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/1.636, allocations: 327.6 kB / 0.9762 GB, free: 134.9 MB / 0.67 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.005747/1.642, allocations: 1.565 MB / 0.9778 GB, free: 133.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.644, allocations: 0.5053 MB / 0.9782 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03877/1.682, allocations: 12.4 MB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/1.682, allocations: 72 kB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.682, allocations: 3.938 kB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/1.683, allocations: 35.86 kB / 0.9905 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0468/1.729, allocations: 21.99 MB / 1.012 GB, free: 98.22 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.729, allocations: 3.984 kB / 1.012 GB, free: 98.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01182/1.741, allocations: 1.864 MB / 1.014 GB, free: 96.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/1.742, allocations: 193.5 kB / 1.014 GB, free: 96.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001294/1.744, allocations: 219.7 kB / 1.014 GB, free: 95.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/1.746, allocations: 3.097 MB / 1.017 GB, free: 92.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.746, allocations: 8.094 kB / 1.017 GB, free: 92.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03181/1.778, allocations: 10.56 MB / 1.028 GB, free: 81.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/1.782, allocations: 1.897 MB / 1.029 GB, free: 79.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/1.784, allocations: 120 kB / 1.029 GB, free: 79.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009104/1.793, allocations: 0.8013 MB / 1.03 GB, free: 79.06 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.794, allocations: 417.5 kB / 1.031 GB, free: 78.65 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008282/1.795, allocations: 271.7 kB / 1.031 GB, free: 78.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003128/1.798, allocations: 2.422 MB / 1.033 GB, free: 75.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.798, allocations: 0 / 1.033 GB, free: 75.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005433/1.803, allocations: 2.354 MB / 1.036 GB, free: 73.61 MB / 0.67 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.002081/1.805, allocations: 0.7809 MB / 1.036 GB, free: 73.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03167/1.837, allocations: 10.67 MB / 1.047 GB, free: 62.35 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.837, allocations: 4 kB / 1.047 GB, free: 62.35 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/1.853, allocations: 5.739 MB / 1.052 GB, free: 56.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005289/1.858, allocations: 0.8735 MB / 1.053 GB, free: 55.72 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/1.894, allocations: 21.79 MB / 1.075 GB, free: 33.86 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.896, allocations: 3.932 MB / 1.078 GB, free: 29.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005823/1.902, allocations: 0.8657 MB / 1.079 GB, free: 29.02 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/1.902, allocations: 0 / 1.079 GB, free: 29.02 MB / 0.67 GB Notification: Performance of Templates: time 0.4696/2.372, allocations: 205.1 MB / 1.279 GB, free: 92.01 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.makefile clang++ -std=c++14 -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.WD200CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200Functions.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.WD200CalcHelperMain.o] Error 1