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.001654/0.001654, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001745/0.001745, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 425.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 59.91 kB / 0.5055 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4454, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.0161/0.4615, allocations: 17.93 MB / 0.602 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6521/1.114, allocations: 160.1 MB / 0.7583 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006706/1.12, allocations: 82.06 kB / 0.7584 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003566/1.124, allocations: 0.5586 MB / 0.759 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008787/1.133, allocations: 1.42 MB / 0.7603 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009355/1.142, allocations: 3.686 MB / 0.7639 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01736/1.16, allocations: 9.598 MB / 0.7733 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/1.174, allocations: 9.115 MB / 0.7822 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/1.186, allocations: 5.156 MB / 0.7873 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/1.197, allocations: 5.74 MB / 0.7929 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.008649/1.206, allocations: 1.766 MB / 0.7946 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/1.215, allocations: 2.232 MB / 0.7968 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.007907/1.223, allocations: 3.31 MB / 0.8 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01463/1.238, allocations: 6.086 MB / 0.8059 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01851/1.257, allocations: 13.64 MB / 0.8193 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/1.257, allocations: 0 / 0.8193 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.667e-06/1.257, allocations: 5.406 kB / 0.8193 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0008381/1.258, allocations: 0.75 kB / 0.8193 GB, free: 15.27 MB / 0.6075 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.03982/1.297, allocations: 10.49 MB / 0.8295 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/1.297, allocations: 11.48 kB / 0.8295 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05204/1.349, allocations: 7.234 MB / 0.8366 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/1.361, allocations: 4.781 MB / 0.8413 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/1.361, allocations: 0.8459 MB / 0.8421 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/1.366, allocations: 1.09 MB / 0.8431 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05093/1.417, allocations: 14.55 MB / 0.8573 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/1.417, allocations: 4 kB / 0.8573 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003585/1.42, allocations: 472 kB / 0.8578 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/1.421, allocations: 283.9 kB / 0.8581 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05336/1.474, allocations: 16.17 MB / 0.8739 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08811/1.562, allocations: 35.17 MB / 0.9082 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03227/1.595, allocations: 9.808 MB / 0.9178 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01655/1.611, allocations: 5.189 MB / 0.9229 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/1.613, allocations: 0.6828 MB / 0.9235 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02064/1.633, allocations: 5.947 MB / 0.9293 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 1.595e-05/1.634, allocations: 0 / 0.9293 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.05654/1.69, allocations: 14.84 MB / 0.9438 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/1.69, allocations: 360.1 kB / 0.9442 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/1.696, allocations: 3.238 MB / 0.9473 GB, free: 396 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.002553/1.699, allocations: 141.7 kB / 0.9475 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.702, allocations: 3.645 MB / 0.951 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004537/1.707, allocations: 2.238 MB / 0.9532 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00376/1.711, allocations: 1.246 MB / 0.9544 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.711, allocations: 301.1 kB / 0.9547 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01473/1.726, allocations: 4.369 MB / 0.959 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01634/1.742, allocations: 4.923 MB / 0.9638 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03105/1.773, allocations: 9.167 MB / 0.9727 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.254e-05/1.773, allocations: 0 / 0.9727 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03917/1.812, allocations: 10.64 MB / 0.9831 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/1.812, allocations: 6.5 kB / 0.9831 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.812, allocations: 8 kB / 0.9831 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.814, allocations: 181.8 kB / 0.9833 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01419/1.828, allocations: 1.992 MB / 0.9853 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/1.832, allocations: 3.27 MB / 0.9885 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/1.844, allocations: 1.13 MB / 0.9896 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/1.847, allocations: 319.6 kB / 0.9899 GB, free: 4.352 MB / 0.7637 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.007329/1.854, allocations: 1.56 MB / 0.9914 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/1.857, allocations: 0.5016 MB / 0.9919 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0485/1.905, allocations: 12.34 MB / 1.004 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.546e-05/1.905, allocations: 79.98 kB / 1.004 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/1.905, allocations: 0 / 1.004 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002668/1.906, allocations: 31.88 kB / 1.004 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06323/1.969, allocations: 21.95 MB / 1.025 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.969, allocations: 4 kB / 1.025 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01328/1.982, allocations: 1.845 MB / 1.027 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/1.983, allocations: 161.5 kB / 1.027 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002308/1.985, allocations: 223.7 kB / 1.028 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/1.989, allocations: 3.329 MB / 1.031 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.989, allocations: 0 / 1.031 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5021/2.492, allocations: 10.49 MB / 1.041 GB, free: 357.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006365/2.498, allocations: 1.761 MB / 1.043 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003167/2.501, allocations: 166.2 kB / 1.043 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01157/2.513, allocations: 0.7583 MB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002237/2.515, allocations: 415.1 kB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/2.517, allocations: 274.7 kB / 1.044 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005427/2.522, allocations: 2.423 MB / 1.047 GB, free: 356.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.51e-07/2.522, allocations: 0.625 kB / 1.047 GB, free: 356.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01273/2.535, allocations: 2.342 MB / 1.049 GB, free: 355.8 MB / 0.8106 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.004629/2.54, allocations: 0.813 MB / 1.05 GB, free: 355.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07545/2.615, allocations: 12.25 MB / 1.062 GB, free: 351.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/2.615, allocations: 0 / 1.062 GB, free: 351.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01975/2.635, allocations: 5.712 MB / 1.067 GB, free: 349.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009559/2.645, allocations: 0.9118 MB / 1.068 GB, free: 349.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/2.689, allocations: 21.69 MB / 1.089 GB, free: 336.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/2.692, allocations: 3.937 MB / 1.093 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006281/2.699, allocations: 0.8666 MB / 1.094 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of SimCode: time 1.473e-06/2.699, allocations: 6.344 kB / 1.094 GB, free: 333.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.2218/2.921, allocations: 206.4 MB / 1.296 GB, free: 131.6 MB / 0.8106 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