Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_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.001579/0.001579, allocations: 105.3 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.001817/0.001817, 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8124/0.8124, allocations: 132.2 MB / 423.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3363, allocations: 80.18 MB / 0.5807 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.0157/0.3521, allocations: 18.23 MB / 0.5985 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4885/0.8406, allocations: 162.6 MB / 0.7573 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005396/0.8461, allocations: 81.22 kB / 0.7574 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.8495, allocations: 0.7951 MB / 0.7582 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008201/0.8577, allocations: 1.685 MB / 0.7598 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.8681, allocations: 3.999 MB / 0.7637 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.8815, allocations: 9.596 MB / 0.7731 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.8941, allocations: 9.112 MB / 0.782 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007105/0.9013, allocations: 5.13 MB / 0.787 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00741/0.9087, allocations: 5.736 MB / 0.7926 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003951/0.9126, allocations: 1.764 MB / 0.7943 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.9173, allocations: 2.235 MB / 0.7965 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003556/0.9209, allocations: 3.304 MB / 0.7998 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00706/0.9279, allocations: 6.088 MB / 0.8057 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.9435, allocations: 16.88 MB / 0.8222 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.9436, allocations: 4.938 kB / 0.8222 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9436, allocations: 2.438 kB / 0.8222 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000614/0.9442, allocations: 0 / 0.8222 GB, free: 12.99 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.02835/0.9725, allocations: 10.49 MB / 0.8324 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.9726, allocations: 8.938 kB / 0.8325 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05473/1.027, allocations: 7.232 MB / 0.8395 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009643/1.037, allocations: 4.781 MB / 0.8442 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/1.038, allocations: 0.843 MB / 0.845 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003137/1.041, allocations: 1.097 MB / 0.8461 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.083, allocations: 14.54 MB / 0.8603 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/1.083, allocations: 0 / 0.8603 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/1.086, allocations: 472 kB / 0.8607 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/1.086, allocations: 287.9 kB / 0.861 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05411/1.14, allocations: 16.17 MB / 0.8768 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08358/1.223, allocations: 35.16 MB / 0.9111 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03528/1.259, allocations: 9.808 MB / 0.9207 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01771/1.277, allocations: 5.189 MB / 0.9258 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.278, allocations: 0.6779 MB / 0.9264 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0204/1.299, allocations: 5.945 MB / 0.9322 GB, free: 300 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 1.356e-05/1.299, allocations: 0 / 0.9322 GB, free: 300 kB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.05994/1.358, allocations: 14.84 MB / 0.9467 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/1.359, allocations: 364.1 kB / 0.9471 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006636/1.365, allocations: 3.245 MB / 0.9503 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001886/1.367, allocations: 137.7 kB / 0.9504 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003572/1.371, allocations: 3.649 MB / 0.954 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003683/1.375, allocations: 2.239 MB / 0.9561 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006072/1.381, allocations: 1.238 MB / 0.9573 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.381, allocations: 305.1 kB / 0.9576 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01726/1.398, allocations: 4.372 MB / 0.9619 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01811/1.416, allocations: 4.921 MB / 0.9667 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03492/1.451, allocations: 9.163 MB / 0.9757 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.296e-05/1.451, allocations: 0 / 0.9757 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04246/1.494, allocations: 10.63 MB / 0.986 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/1.494, allocations: 12.25 kB / 0.9861 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.494, allocations: 11.97 kB / 0.9861 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.495, allocations: 186.2 kB / 0.9862 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/1.51, allocations: 1.99 MB / 0.9882 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.514, allocations: 3.271 MB / 0.9914 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/1.526, allocations: 1.122 MB / 0.9925 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/1.528, allocations: 327.7 kB / 0.9928 GB, free: 1.617 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.006152/1.534, allocations: 1.563 MB / 0.9943 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002419/1.537, allocations: 0.5016 MB / 0.9948 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0492/1.586, allocations: 12.34 MB / 1.007 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.047e-05/1.586, allocations: 72 kB / 1.007 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/1.586, allocations: 0 / 1.007 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001529/1.586, allocations: 35.86 kB / 1.007 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0602/1.647, allocations: 21.94 MB / 1.028 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/1.647, allocations: 0 / 1.028 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01385/1.661, allocations: 1.852 MB / 1.03 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/1.662, allocations: 165.2 kB / 1.03 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00175/1.663, allocations: 219.7 kB / 1.031 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/1.667, allocations: 3.319 MB / 1.034 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.667, allocations: 0 / 1.034 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3178/1.985, allocations: 10.49 MB / 1.044 GB, free: 361.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004498/1.99, allocations: 1.76 MB / 1.046 GB, free: 361.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/1.992, allocations: 160.1 kB / 1.046 GB, free: 361.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/2.003, allocations: 0.7607 MB / 1.047 GB, free: 361 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/2.005, allocations: 412.7 kB / 1.047 GB, free: 361 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001384/2.006, allocations: 277.5 kB / 1.047 GB, free: 360.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005191/2.011, allocations: 2.417 MB / 1.05 GB, free: 360 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/2.011, allocations: 0.6562 kB / 1.05 GB, free: 360 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007178/2.018, allocations: 2.354 MB / 1.052 GB, free: 359.5 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.002649/2.021, allocations: 0.7838 MB / 1.053 GB, free: 359.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07964/2.101, allocations: 12.26 MB / 1.065 GB, free: 355.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/2.101, allocations: 0 / 1.065 GB, free: 355.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/2.119, allocations: 5.705 MB / 1.07 GB, free: 353.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008622/2.127, allocations: 0.934 MB / 1.071 GB, free: 353 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/2.165, allocations: 17.04 MB / 1.088 GB, free: 342.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/2.168, allocations: 3.94 MB / 1.092 GB, free: 340 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005508/2.173, allocations: 0.8652 MB / 1.093 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/2.174, allocations: 0 / 1.093 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.191/2.364, allocations: 206.4 MB / 1.294 GB, free: 137 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD200Functions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.o] Error 1