Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 100.1 kB / 15.88 MB, free: 12 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.001133/0.001133, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.56 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 80.93 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.01948/0.2093, allocations: 17.91 MB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5395/0.7488, allocations: 160.1 MB / 0.7581 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005991/0.7549, allocations: 77.97 kB / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.7586, allocations: 0.5557 MB / 0.7588 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007991/0.7666, allocations: 1.4 MB / 0.7601 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009335/0.776, allocations: 3.657 MB / 0.7637 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.7886, allocations: 8.749 MB / 0.7722 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.8006, allocations: 8.781 MB / 0.7808 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008167/0.8088, allocations: 4.183 MB / 0.7849 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007879/0.8167, allocations: 5.132 MB / 0.7899 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004016/0.8207, allocations: 0.8398 MB / 0.7907 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005253/0.826, allocations: 1.312 MB / 0.792 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004436/0.8305, allocations: 2.386 MB / 0.7943 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008462/0.839, allocations: 5.16 MB / 0.7994 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.854, allocations: 13.52 MB / 0.8126 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.854, allocations: 0 / 0.8126 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.364e-06/0.854, allocations: 7.688 kB / 0.8126 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0007175/0.8548, allocations: 0 / 0.8126 GB, free: 3.148 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.03431/0.8891, allocations: 10.51 MB / 0.8228 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8892, allocations: 8.031 kB / 0.8229 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05293/0.9421, allocations: 7.227 MB / 0.8299 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.9544, allocations: 4.778 MB / 0.8346 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009011/0.9554, allocations: 0.8508 MB / 0.8354 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004483/0.9599, allocations: 1.094 MB / 0.8365 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05511/1.015, allocations: 14.54 MB / 0.8507 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/1.015, allocations: 4 kB / 0.8507 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004091/1.02, allocations: 471.9 kB / 0.8511 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/1.02, allocations: 280 kB / 0.8514 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6404/1.66, allocations: 16.17 MB / 0.8672 GB, free: 197.6 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09089/1.751, allocations: 35.17 MB / 0.9015 GB, free: 181.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03661/1.788, allocations: 9.8 MB / 0.9111 GB, free: 177.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01753/1.806, allocations: 5.189 MB / 0.9162 GB, free: 175.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/1.807, allocations: 0.675 MB / 0.9168 GB, free: 175.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02227/1.83, allocations: 5.938 MB / 0.9226 GB, free: 173.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 4.024e-05/1.83, allocations: 3.938 kB / 0.9226 GB, free: 173.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.06245/1.892, allocations: 14.85 MB / 0.9371 GB, free: 165.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/1.893, allocations: 360.1 kB / 0.9375 GB, free: 165.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006761/1.899, allocations: 3.243 MB / 0.9407 GB, free: 163.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00265/1.902, allocations: 141.2 kB / 0.9408 GB, free: 163.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003178/1.905, allocations: 3.647 MB / 0.9443 GB, free: 160.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004272/1.91, allocations: 2.24 MB / 0.9465 GB, free: 158.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008692/1.918, allocations: 1.235 MB / 0.9477 GB, free: 157.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/1.918, allocations: 305.1 kB / 0.948 GB, free: 157.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01582/1.934, allocations: 4.372 MB / 0.9523 GB, free: 155.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01618/1.95, allocations: 4.916 MB / 0.9571 GB, free: 152.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03093/1.981, allocations: 9.173 MB / 0.9661 GB, free: 145.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.335e-05/1.981, allocations: 4 kB / 0.9661 GB, free: 145.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04142/2.023, allocations: 10.63 MB / 0.9764 GB, free: 134.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/2.023, allocations: 8 kB / 0.9765 GB, free: 134.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/2.023, allocations: 8.25 kB / 0.9765 GB, free: 134.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/2.024, allocations: 185.5 kB / 0.9766 GB, free: 134.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.038, allocations: 1.997 MB / 0.9786 GB, free: 132.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/2.041, allocations: 3.052 MB / 0.9816 GB, free: 129.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.053, allocations: 1.117 MB / 0.9827 GB, free: 128.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002742/2.055, allocations: 323.6 kB / 0.983 GB, free: 128 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.008472/2.064, allocations: 1.573 MB / 0.9845 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003668/2.067, allocations: 0.5015 MB / 0.985 GB, free: 125.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05061/2.118, allocations: 12.34 MB / 0.997 GB, free: 113.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.313e-05/2.118, allocations: 72 kB / 0.9971 GB, free: 113.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-05/2.118, allocations: 0 / 0.9971 GB, free: 113.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002827/2.119, allocations: 35.86 kB / 0.9971 GB, free: 113.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06405/2.183, allocations: 21.93 MB / 1.019 GB, free: 91.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.438e-05/2.183, allocations: 4 kB / 1.019 GB, free: 91.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01267/2.195, allocations: 1.841 MB / 1.02 GB, free: 89.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/2.197, allocations: 189.5 kB / 1.021 GB, free: 89.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002442/2.199, allocations: 219.8 kB / 1.021 GB, free: 89.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/2.202, allocations: 3.091 MB / 1.024 GB, free: 85.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.202, allocations: 4.031 kB / 1.024 GB, free: 85.69 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/2.24, allocations: 10.49 MB / 1.034 GB, free: 75.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004997/2.245, allocations: 1.765 MB / 1.036 GB, free: 73.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002981/2.248, allocations: 167.3 kB / 1.036 GB, free: 73.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/2.259, allocations: 0.7554 MB / 1.037 GB, free: 72.39 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/2.261, allocations: 421.4 kB / 1.037 GB, free: 71.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002007/2.263, allocations: 275.7 kB / 1.037 GB, free: 71.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004928/2.268, allocations: 2.418 MB / 1.04 GB, free: 69.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.31e-07/2.268, allocations: 0 / 1.04 GB, free: 69.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009175/2.277, allocations: 2.346 MB / 1.042 GB, free: 66.94 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.003399/2.28, allocations: 0.7946 MB / 1.043 GB, free: 66.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03274/2.313, allocations: 10.59 MB / 1.053 GB, free: 55.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/2.313, allocations: 0 / 1.053 GB, free: 55.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01748/2.331, allocations: 5.708 MB / 1.059 GB, free: 49.99 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008308/2.339, allocations: 0.8622 MB / 1.059 GB, free: 49.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/2.383, allocations: 21.7 MB / 1.081 GB, free: 27.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005642/2.389, allocations: 3.935 MB / 1.085 GB, free: 23.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008759/2.398, allocations: 0.8696 MB / 1.085 GB, free: 22.53 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/2.398, allocations: 0 / 1.085 GB, free: 22.53 MB / 0.67 GB Notification: Performance of Templates: time 0.6319/3.03, allocations: 206.4 MB / 1.287 GB, free: 88.47 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100Functions.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.WD100CalcHelperMain.o] Error 1