Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107 kB / 16.41 MB, free: 6.492 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.001151/0.001152, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 64.56 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.02062/0.1705, allocations: 18.22 MB / 0.6781 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5714/0.742, allocations: 162.7 MB / 0.837 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005461/0.7475, allocations: 75.81 kB / 0.837 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.751, allocations: 0.7956 MB / 0.8378 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008376/0.7594, allocations: 1.686 MB / 0.8395 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009512/0.769, allocations: 4.006 MB / 0.8434 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.7828, allocations: 9.651 MB / 0.8528 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/0.7955, allocations: 9.109 MB / 0.8617 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009679/0.8052, allocations: 5.209 MB / 0.8668 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008492/0.8137, allocations: 5.773 MB / 0.8724 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005212/0.819, allocations: 1.766 MB / 0.8741 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.8253, allocations: 2.249 MB / 0.8763 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004933/0.8303, allocations: 3.315 MB / 0.8796 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01074/0.8411, allocations: 6.074 MB / 0.8855 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02145/0.8625, allocations: 17.2 MB / 0.9023 GB, free: 13.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8626, allocations: 0 / 0.9023 GB, free: 13.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8626, allocations: 4 kB / 0.9023 GB, free: 13.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006718/0.8633, allocations: 0 / 0.9023 GB, free: 13.73 MB / 0.67 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.03142/0.8947, allocations: 10.5 MB / 0.9126 GB, free: 3.137 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8948, allocations: 12.03 kB / 0.9126 GB, free: 3.125 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05085/0.9456, allocations: 7.231 MB / 0.9196 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.9565, allocations: 4.821 MB / 0.9244 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006568/0.9572, allocations: 0.843 MB / 0.9252 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004264/0.9615, allocations: 1.094 MB / 0.9262 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04797/1.009, allocations: 14.55 MB / 0.9405 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/1.01, allocations: 7.375 kB / 0.9405 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/1.012, allocations: 475.9 kB / 0.9409 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/1.012, allocations: 280 kB / 0.9412 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05317/1.065, allocations: 16.17 MB / 0.957 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08091/1.146, allocations: 34.62 MB / 0.9908 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03254/1.179, allocations: 9.801 MB / 1 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01619/1.195, allocations: 5.185 MB / 1.005 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.197, allocations: 0.6825 MB / 1.006 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0191/1.216, allocations: 5.936 MB / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.234e-05/1.216, allocations: 0 / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.07434/1.29, allocations: 14.85 MB / 1.026 GB, free: 13.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/1.29, allocations: 368.1 kB / 1.027 GB, free: 13.39 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/1.295, allocations: 3.241 MB / 1.03 GB, free: 10.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/1.297, allocations: 141.7 kB / 1.03 GB, free: 9.988 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003414/1.301, allocations: 3.647 MB / 1.034 GB, free: 6.301 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004223/1.305, allocations: 2.237 MB / 1.036 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003256/1.308, allocations: 1.234 MB / 1.037 GB, free: 2.785 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/1.308, allocations: 309.1 kB / 1.037 GB, free: 2.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01513/1.323, allocations: 4.372 MB / 1.042 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01673/1.34, allocations: 4.924 MB / 1.046 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7514/2.092, allocations: 9.161 MB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/2.092, allocations: 1.156 kB / 1.055 GB, free: 285.5 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03932/2.131, allocations: 10.64 MB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/2.131, allocations: 10.19 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/2.131, allocations: 6.016 kB / 1.066 GB, free: 284.2 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/2.132, allocations: 185.5 kB / 1.066 GB, free: 284.1 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/2.147, allocations: 1.996 MB / 1.068 GB, free: 284 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/2.15, allocations: 3.265 MB / 1.071 GB, free: 281 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.162, allocations: 1.13 MB / 1.072 GB, free: 280.8 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00228/2.164, allocations: 325.9 kB / 1.072 GB, free: 280.8 MB / 0.8107 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.005648/2.17, allocations: 1.558 MB / 1.074 GB, free: 279.8 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/2.172, allocations: 0.5065 MB / 1.074 GB, free: 279.7 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04116/2.213, allocations: 12.33 MB / 1.086 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/2.213, allocations: 73.28 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/2.213, allocations: 1.281 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001299/2.213, allocations: 33.61 kB / 1.087 GB, free: 275.3 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05099/2.264, allocations: 21.86 MB / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/2.264, allocations: 0 / 1.108 GB, free: 265.4 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01224/2.277, allocations: 1.85 MB / 1.11 GB, free: 264.8 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/2.278, allocations: 157.9 kB / 1.11 GB, free: 264.7 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00135/2.279, allocations: 220.9 kB / 1.11 GB, free: 264.6 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/2.282, allocations: 3.317 MB / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.282, allocations: 0 / 1.113 GB, free: 261.4 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03093/2.313, allocations: 10.51 MB / 1.124 GB, free: 254.8 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003946/2.317, allocations: 1.761 MB / 1.125 GB, free: 253 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/2.318, allocations: 163.4 kB / 1.125 GB, free: 252.8 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008757/2.327, allocations: 0.7563 MB / 1.126 GB, free: 252.1 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008231/2.328, allocations: 421.4 kB / 1.127 GB, free: 251.7 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006844/2.328, allocations: 279.7 kB / 1.127 GB, free: 251.4 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.00317/2.332, allocations: 2.422 MB / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.4e-07/2.332, allocations: 0 / 1.129 GB, free: 249 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.006055/2.338, allocations: 2.345 MB / 1.132 GB, free: 246.6 MB / 0.8107 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.002204/2.34, allocations: 0.7846 MB / 1.132 GB, free: 246.1 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03157/2.372, allocations: 10.61 MB / 1.143 GB, free: 235.4 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/2.372, allocations: 0 / 1.143 GB, free: 235.4 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01611/2.388, allocations: 5.704 MB / 1.148 GB, free: 229.7 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/2.393, allocations: 0.9443 MB / 1.149 GB, free: 228.8 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/2.424, allocations: 16.81 MB / 1.166 GB, free: 211.9 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/2.427, allocations: 3.935 MB / 1.169 GB, free: 208 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00602/2.433, allocations: 0.8618 MB / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of SimCode: time 1.213e-06/2.433, allocations: 0 / 1.17 GB, free: 207.1 MB / 0.8107 GB Notification: Performance of Templates: time 0.5139/2.947, allocations: 208.7 MB / 1.374 GB, free: 279.5 MB / 0.8107 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400Functions.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.WD400CalcHelperMain.o] Error 1