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.001312/0.001312, allocations: 106 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.001444/0.001444, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.98 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.01969/0.1719, allocations: 18.22 MB / 0.6781 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5455/0.7175, allocations: 162.6 MB / 0.837 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004422/0.7219, allocations: 79.91 kB / 0.837 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.7243, allocations: 0.8029 MB / 0.8378 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.7298, allocations: 1.684 MB / 0.8395 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007285/0.7371, allocations: 4.002 MB / 0.8434 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.7485, allocations: 9.655 MB / 0.8528 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.7589, allocations: 9.114 MB / 0.8617 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008156/0.7671, allocations: 5.199 MB / 0.8668 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007522/0.7747, allocations: 5.781 MB / 0.8724 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.7776, allocations: 1.762 MB / 0.8741 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.7814, allocations: 2.249 MB / 0.8763 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002995/0.7844, allocations: 3.311 MB / 0.8796 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006878/0.7913, allocations: 6.074 MB / 0.8855 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.8068, allocations: 17.2 MB / 0.9023 GB, free: 13.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8069, allocations: 0 / 0.9023 GB, free: 13.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8069, allocations: 0 / 0.9023 GB, free: 13.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004362/0.8073, allocations: 0 / 0.9023 GB, free: 13.75 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.02513/0.8325, allocations: 10.51 MB / 0.9126 GB, free: 3.145 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8325, allocations: 12.03 kB / 0.9126 GB, free: 3.133 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04935/0.8819, allocations: 7.231 MB / 0.9196 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.8925, allocations: 4.825 MB / 0.9244 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007167/0.8933, allocations: 0.843 MB / 0.9252 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003869/0.8972, allocations: 1.094 MB / 0.9262 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04657/0.9438, allocations: 14.55 MB / 0.9405 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/0.9441, allocations: 0 / 0.9405 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.9473, allocations: 471.9 kB / 0.9409 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/0.9475, allocations: 280 kB / 0.9412 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05319/1.001, allocations: 16.18 MB / 0.957 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08409/1.085, allocations: 34.62 MB / 0.9908 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03382/1.119, allocations: 9.793 MB / 1 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0171/1.136, allocations: 5.196 MB / 1.005 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/1.138, allocations: 0.6751 MB / 1.006 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02001/1.158, allocations: 5.948 MB / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.696e-05/1.158, allocations: 0 / 1.012 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05779/1.215, allocations: 14.85 MB / 1.026 GB, free: 13.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/1.216, allocations: 364.1 kB / 1.027 GB, free: 13.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006551/1.222, allocations: 3.245 MB / 1.03 GB, free: 10.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001769/1.224, allocations: 145.6 kB / 1.03 GB, free: 9.984 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003518/1.228, allocations: 3.647 MB / 1.034 GB, free: 6.297 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003649/1.231, allocations: 2.233 MB / 1.036 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005934/1.237, allocations: 1.238 MB / 1.037 GB, free: 2.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.237, allocations: 301.1 kB / 1.037 GB, free: 2.484 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01563/1.253, allocations: 4.372 MB / 1.042 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/1.27, allocations: 4.921 MB / 1.046 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7189/1.989, allocations: 9.167 MB / 1.055 GB, free: 287.2 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/1.989, allocations: 1.062 kB / 1.055 GB, free: 287.2 MB / 0.8107 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04265/2.032, allocations: 10.64 MB / 1.066 GB, free: 285.8 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/2.032, allocations: 6.875 kB / 1.066 GB, free: 285.8 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/2.032, allocations: 8.594 kB / 1.066 GB, free: 285.8 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/2.033, allocations: 185 kB / 1.066 GB, free: 285.8 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.047, allocations: 1.996 MB / 1.068 GB, free: 285.7 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/2.051, allocations: 3.266 MB / 1.071 GB, free: 282.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.063, allocations: 1.128 MB / 1.072 GB, free: 282.5 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/2.065, allocations: 322.9 kB / 1.072 GB, free: 282.4 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.00608/2.071, allocations: 1.561 MB / 1.074 GB, free: 281.4 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/2.073, allocations: 0.5039 MB / 1.074 GB, free: 281.4 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04179/2.115, allocations: 12.33 MB / 1.086 GB, free: 276.9 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/2.115, allocations: 69.84 kB / 1.087 GB, free: 276.9 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/2.115, allocations: 0.875 kB / 1.087 GB, free: 276.9 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001608/2.115, allocations: 33.36 kB / 1.087 GB, free: 276.9 MB / 0.8107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05787/2.173, allocations: 21.85 MB / 1.108 GB, free: 267.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/2.173, allocations: 0 / 1.108 GB, free: 267.1 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01281/2.186, allocations: 1.851 MB / 1.11 GB, free: 266.5 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009334/2.187, allocations: 161.2 kB / 1.11 GB, free: 266.4 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00213/2.189, allocations: 221.4 kB / 1.11 GB, free: 266.3 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/2.192, allocations: 3.314 MB / 1.113 GB, free: 263.1 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.192, allocations: 7.922 kB / 1.113 GB, free: 263 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03857/2.231, allocations: 10.5 MB / 1.124 GB, free: 255 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005671/2.237, allocations: 1.772 MB / 1.125 GB, free: 253.2 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003153/2.24, allocations: 167.5 kB / 1.125 GB, free: 253.1 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/2.25, allocations: 0.7525 MB / 1.126 GB, free: 252.3 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/2.252, allocations: 417.5 kB / 1.127 GB, free: 251.9 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002084/2.255, allocations: 279.7 kB / 1.127 GB, free: 251.6 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.005148/2.26, allocations: 2.418 MB / 1.129 GB, free: 249.2 MB / 0.8107 GB Notification: Performance of sort global known variables: time 3.51e-07/2.26, allocations: 0 / 1.129 GB, free: 249.2 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.009645/2.269, allocations: 2.349 MB / 1.132 GB, free: 246.9 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.003269/2.273, allocations: 0.7889 MB / 1.132 GB, free: 246.4 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.03526/2.308, allocations: 10.61 MB / 1.143 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/2.308, allocations: 4 kB / 1.143 GB, free: 235.7 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.01789/2.326, allocations: 5.696 MB / 1.148 GB, free: 229.9 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008136/2.334, allocations: 0.9385 MB / 1.149 GB, free: 229.1 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/2.371, allocations: 16.82 MB / 1.166 GB, free: 212.2 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/2.374, allocations: 3.939 MB / 1.169 GB, free: 208.2 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006166/2.381, allocations: 0.8579 MB / 1.17 GB, free: 207.3 MB / 0.8107 GB Notification: Performance of SimCode: time 1.763e-06/2.381, allocations: 0 / 1.17 GB, free: 207.3 MB / 0.8107 GB Notification: Performance of Templates: time 0.592/2.973, allocations: 208.7 MB / 1.374 GB, free: 279.5 MB / 0.8107 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