Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001413/0.001413, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7926/0.7926, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.89 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 80.93 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01399/0.3398, allocations: 18.21 MB / 0.6028 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5095/0.8493, allocations: 162.6 MB / 0.7617 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.8539, allocations: 79.62 kB / 0.7617 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.8563, allocations: 0.7953 MB / 0.7625 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.862, allocations: 1.687 MB / 0.7642 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007601/0.8696, allocations: 3.999 MB / 0.7681 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01316/0.8828, allocations: 9.586 MB / 0.7774 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.8941, allocations: 9.11 MB / 0.7863 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.9054, allocations: 5.126 MB / 0.7913 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009785/0.9152, allocations: 5.744 MB / 0.7969 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003735/0.9189, allocations: 1.766 MB / 0.7987 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/0.9239, allocations: 2.226 MB / 0.8008 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004112/0.928, allocations: 3.312 MB / 0.8041 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008677/0.9367, allocations: 6.08 MB / 0.81 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.9551, allocations: 16.89 MB / 0.8265 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9552, allocations: 0 / 0.8265 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9552, allocations: 4.781 kB / 0.8265 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005461/0.9558, allocations: 3.188 kB / 0.8265 GB, free: 9.363 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.02752/0.9833, allocations: 10.5 MB / 0.8368 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.9833, allocations: 13.86 kB / 0.8368 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04975/1.033, allocations: 7.234 MB / 0.8438 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/1.044, allocations: 4.778 MB / 0.8485 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007471/1.045, allocations: 0.843 MB / 0.8493 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/1.048, allocations: 1.094 MB / 0.8504 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/1.093, allocations: 14.54 MB / 0.8646 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/1.093, allocations: 0 / 0.8646 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002132/1.095, allocations: 468 kB / 0.865 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/1.096, allocations: 283.9 kB / 0.8653 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05255/1.148, allocations: 16.17 MB / 0.8811 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07556/1.224, allocations: 35.17 MB / 0.9155 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03095/1.255, allocations: 9.796 MB / 0.925 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01546/1.27, allocations: 5.193 MB / 0.9301 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.271, allocations: 0.6807 MB / 0.9308 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01741/1.289, allocations: 5.935 MB / 0.9366 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=689): time 8.726e-06/1.289, allocations: 4 kB / 0.9366 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=689): time 0.0491/1.338, allocations: 14.85 MB / 0.9511 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/1.338, allocations: 356.2 kB / 0.9514 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/1.343, allocations: 3.241 MB / 0.9546 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/1.344, allocations: 140.8 kB / 0.9547 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003413/1.348, allocations: 3.653 MB / 0.9583 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003126/1.351, allocations: 2.236 MB / 0.9605 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002632/1.354, allocations: 1.242 MB / 0.9617 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.354, allocations: 305.1 kB / 0.962 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/1.368, allocations: 4.369 MB / 0.9662 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/1.384, allocations: 4.916 MB / 0.971 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02976/1.414, allocations: 9.174 MB / 0.98 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.414, allocations: 0 / 0.98 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03565/1.449, allocations: 10.63 MB / 0.9904 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.449, allocations: 8 kB / 0.9904 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.449, allocations: 4 kB / 0.9904 GB, free: 4.191 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.45, allocations: 185.8 kB / 0.9906 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/1.463, allocations: 1.994 MB / 0.9925 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/1.468, allocations: 3.273 MB / 0.9957 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.478, allocations: 1.126 MB / 0.9968 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.48, allocations: 323.6 kB / 0.9971 GB, free: 13.09 MB / 0.7794 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.004455/1.484, allocations: 1.562 MB / 0.9986 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.486, allocations: 0.4977 MB / 0.9991 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03955/1.525, allocations: 12.35 MB / 1.011 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.886e-05/1.525, allocations: 72 kB / 1.011 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.525, allocations: 0 / 1.011 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/1.525, allocations: 35.86 kB / 1.011 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05263/1.578, allocations: 21.94 MB / 1.033 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.578, allocations: 0 / 1.033 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01222/1.59, allocations: 1.863 MB / 1.035 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008846/1.591, allocations: 157.5 kB / 1.035 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/1.593, allocations: 219.7 kB / 1.035 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/1.596, allocations: 3.329 MB / 1.038 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.596, allocations: 128 / 1.038 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3076/1.904, allocations: 10.49 MB / 1.048 GB, free: 357.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004595/1.909, allocations: 1.764 MB / 1.05 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.91, allocations: 162.2 kB / 1.05 GB, free: 357.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009153/1.92, allocations: 0.7539 MB / 1.051 GB, free: 357 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/1.921, allocations: 420 kB / 1.051 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008973/1.922, allocations: 281.9 kB / 1.052 GB, free: 356.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003447/1.925, allocations: 2.418 MB / 1.054 GB, free: 355.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/1.925, allocations: 3 kB / 1.054 GB, free: 355.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006492/1.932, allocations: 2.354 MB / 1.056 GB, free: 355.3 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.002738/1.934, allocations: 0.7873 MB / 1.057 GB, free: 355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.06621/2.001, allocations: 12.26 MB / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/2.001, allocations: 0 / 1.069 GB, free: 351.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/2.015, allocations: 5.705 MB / 1.075 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/2.02, allocations: 0.9274 MB / 1.076 GB, free: 348.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/2.049, allocations: 17.05 MB / 1.092 GB, free: 335.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002686/2.051, allocations: 3.933 MB / 1.096 GB, free: 332.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00504/2.056, allocations: 0.8672 MB / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.753e-06/2.056, allocations: 0 / 1.097 GB, free: 332.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.1847/2.241, allocations: 206.4 MB / 1.298 GB, free: 128.8 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300Functions.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.WD300CalcHelperMain.o] Error 1