Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.000891, allocations: 92.39 kB / 16.02 MB, free: 80 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.0009801/0.0009801, allocations: 178.8 kB / 16.92 MB, free: 6.629 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.272/1.272, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9051/0.9051, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8.625 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 82.31 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.01656/0.1555, allocations: 17.03 MB / 0.6052 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4595/0.6151, allocations: 158.4 MB / 0.7599 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004898/0.62, allocations: 77.25 kB / 0.76 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.6228, allocations: 0.5626 MB / 0.7605 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.6301, allocations: 1.405 MB / 0.7619 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008679/0.6388, allocations: 3.638 MB / 0.7654 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.6511, allocations: 8.735 MB / 0.774 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01286/0.664, allocations: 8.543 MB / 0.7823 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.6699, allocations: 2.809 MB / 0.7851 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005135/0.6751, allocations: 3.381 MB / 0.7884 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.6771, allocations: 204 kB / 0.7886 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.68, allocations: 0.6711 MB / 0.7892 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.682, allocations: 1.406 MB / 0.7906 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005347/0.6874, allocations: 3.94 MB / 0.7944 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.6999, allocations: 13.04 MB / 0.8072 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7, allocations: 4 kB / 0.8072 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.108e-06/0.7, allocations: 0 / 0.8072 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000497/0.7005, allocations: 0 / 0.8072 GB, free: 10.73 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.02037/0.7209, allocations: 8.037 MB / 0.815 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7209, allocations: 8.031 kB / 0.815 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0525/0.7734, allocations: 7.828 MB / 0.8227 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009108/0.7826, allocations: 4.782 MB / 0.8273 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007631/0.7834, allocations: 0.8391 MB / 0.8282 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003218/0.7866, allocations: 1.098 MB / 0.8292 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04389/0.8305, allocations: 14.78 MB / 0.8437 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/0.8308, allocations: 7.938 kB / 0.8437 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00237/0.8332, allocations: 472 kB / 0.8441 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.8334, allocations: 280 kB / 0.8444 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05217/0.8856, allocations: 16.62 MB / 0.8606 GB, free: 3.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5996/1.485, allocations: 35.27 MB / 0.8951 GB, free: 181.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03292/1.518, allocations: 9.839 MB / 0.9047 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01739/1.536, allocations: 5.219 MB / 0.9098 GB, free: 176.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/1.537, allocations: 0.6804 MB / 0.9104 GB, free: 175.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02078/1.558, allocations: 5.977 MB / 0.9163 GB, free: 173.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 2.693e-05/1.558, allocations: 0 / 0.9163 GB, free: 173.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.06072/1.619, allocations: 14.97 MB / 0.9309 GB, free: 168.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/1.619, allocations: 362.8 kB / 0.9312 GB, free: 167.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007206/1.626, allocations: 3.241 MB / 0.9344 GB, free: 166.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002282/1.629, allocations: 135.5 kB / 0.9345 GB, free: 166.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/1.632, allocations: 3.651 MB / 0.9381 GB, free: 163.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003796/1.636, allocations: 2.24 MB / 0.9403 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/1.638, allocations: 466.5 kB / 0.9407 GB, free: 161.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/1.638, allocations: 301.1 kB / 0.941 GB, free: 160.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01576/1.654, allocations: 4.415 MB / 0.9453 GB, free: 158.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01619/1.67, allocations: 4.953 MB / 0.9502 GB, free: 155.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03037/1.701, allocations: 9.236 MB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/1.701, allocations: 3.406 kB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04113/1.742, allocations: 10.71 MB / 0.9696 GB, free: 141.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/1.742, allocations: 6.656 kB / 0.9697 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.742, allocations: 8 kB / 0.9697 GB, free: 141.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.743, allocations: 181.6 kB / 0.9698 GB, free: 141.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01321/1.756, allocations: 2.013 MB / 0.9718 GB, free: 139.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/1.76, allocations: 3.056 MB / 0.9748 GB, free: 136.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/1.771, allocations: 1.152 MB / 0.9759 GB, free: 135.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/1.773, allocations: 331.6 kB / 0.9762 GB, free: 134.8 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.007074/1.781, allocations: 1.557 MB / 0.9777 GB, free: 133.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00256/1.783, allocations: 0.5053 MB / 0.9782 GB, free: 132.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04689/1.83, allocations: 12.41 MB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.83, allocations: 72 kB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/1.83, allocations: 0 / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001858/1.83, allocations: 35.86 kB / 0.9905 GB, free: 120.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06035/1.891, allocations: 22.01 MB / 1.012 GB, free: 98.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.314e-05/1.891, allocations: 0 / 1.012 GB, free: 98.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01318/1.904, allocations: 1.868 MB / 1.014 GB, free: 96.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/1.905, allocations: 189.5 kB / 1.014 GB, free: 96.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002348/1.908, allocations: 217 kB / 1.014 GB, free: 95.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/1.911, allocations: 3.1 MB / 1.017 GB, free: 92.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.911, allocations: 3.938 kB / 1.017 GB, free: 92.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/1.951, allocations: 10.56 MB / 1.028 GB, free: 81.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005389/1.957, allocations: 1.893 MB / 1.029 GB, free: 79.86 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/1.959, allocations: 120 kB / 1.029 GB, free: 79.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0106/1.97, allocations: 0.7999 MB / 1.03 GB, free: 78.94 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/1.972, allocations: 413.5 kB / 1.031 GB, free: 78.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001786/1.974, allocations: 275.7 kB / 1.031 GB, free: 78.26 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004549/1.978, allocations: 2.419 MB / 1.033 GB, free: 75.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.978, allocations: 4 kB / 1.033 GB, free: 75.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007865/1.986, allocations: 2.353 MB / 1.036 GB, free: 73.49 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.003223/1.989, allocations: 0.7862 MB / 1.036 GB, free: 72.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03365/2.023, allocations: 10.67 MB / 1.047 GB, free: 62.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.023, allocations: 4 kB / 1.047 GB, free: 62.22 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/2.04, allocations: 5.739 MB / 1.052 GB, free: 56.46 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006766/2.047, allocations: 0.8723 MB / 1.053 GB, free: 55.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/2.084, allocations: 21.79 MB / 1.075 GB, free: 33.74 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/2.087, allocations: 3.939 MB / 1.078 GB, free: 29.76 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005803/2.093, allocations: 0.8579 MB / 1.079 GB, free: 28.9 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/2.093, allocations: 0 / 1.079 GB, free: 28.9 MB / 0.67 GB Notification: Performance of Templates: time 0.4754/2.569, allocations: 205.1 MB / 1.279 GB, free: 91.85 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.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.WD500CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500Functions.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.WD500CalcHelperMain.o] Error 1