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.001181/0.001181, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001281/0.001281, allocations: 187 kB / 17.34 MB, free: 5.742 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8697/0.8697, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.5 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.0221/0.189, allocations: 18.23 MB / 0.6831 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6555/0.8445, allocations: 162.7 MB / 0.8419 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005686/0.8502, allocations: 80.09 kB / 0.842 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.8539, allocations: 0.7996 MB / 0.8428 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008766/0.8627, allocations: 1.689 MB / 0.8444 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.8733, allocations: 3.994 MB / 0.8483 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01508/0.8884, allocations: 9.659 MB / 0.8578 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/0.9042, allocations: 9.1 MB / 0.8667 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009267/0.9135, allocations: 5.205 MB / 0.8717 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009381/0.9229, allocations: 5.775 MB / 0.8774 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.005283/0.9282, allocations: 1.762 MB / 0.8791 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/0.9349, allocations: 2.263 MB / 0.8813 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005539/0.9404, allocations: 3.307 MB / 0.8845 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.9542, allocations: 6.085 MB / 0.8905 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02208/0.9763, allocations: 17.19 MB / 0.9073 GB, free: 6.996 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9763, allocations: 0 / 0.9073 GB, free: 6.996 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9763, allocations: 0 / 0.9073 GB, free: 6.996 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006609/0.977, allocations: 0 / 0.9073 GB, free: 6.996 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.03342/1.01, allocations: 10.51 MB / 0.9175 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.01, allocations: 9.109 kB / 0.9175 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05204/1.063, allocations: 7.231 MB / 0.9246 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.074, allocations: 4.832 MB / 0.9293 GB, free: 228 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007926/1.075, allocations: 0.8392 MB / 0.9301 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004512/1.079, allocations: 1.094 MB / 0.9312 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05056/1.13, allocations: 14.55 MB / 0.9454 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003627/1.13, allocations: 4 kB / 0.9454 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00394/1.134, allocations: 471.9 kB / 0.9459 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/1.135, allocations: 280 kB / 0.9461 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05436/1.189, allocations: 16.18 MB / 0.9619 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09011/1.279, allocations: 34.63 MB / 0.9958 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03463/1.314, allocations: 9.788 MB / 1.005 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01788/1.332, allocations: 5.192 MB / 1.01 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/1.334, allocations: 0.6796 MB / 1.011 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02173/1.355, allocations: 5.936 MB / 1.017 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 1.574e-05/1.356, allocations: 3.938 kB / 1.017 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.06301/1.419, allocations: 14.87 MB / 1.031 GB, free: 7.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002528/1.419, allocations: 360.1 kB / 1.032 GB, free: 6.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007734/1.427, allocations: 3.238 MB / 1.035 GB, free: 3.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002688/1.429, allocations: 137.7 kB / 1.035 GB, free: 3.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004288/1.434, allocations: 3.647 MB / 1.039 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004527/1.438, allocations: 2.24 MB / 1.041 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008229/1.446, allocations: 1.238 MB / 1.042 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.447, allocations: 301.1 kB / 1.042 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01703/1.464, allocations: 4.38 MB / 1.047 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01793/1.482, allocations: 4.918 MB / 1.051 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03512/1.517, allocations: 9.167 MB / 1.06 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-05/1.517, allocations: 4 kB / 1.06 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.7733/2.29, allocations: 10.62 MB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/2.29, allocations: 10.28 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/2.29, allocations: 5.781 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/2.291, allocations: 187.2 kB / 1.071 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/2.305, allocations: 1.991 MB / 1.073 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/2.309, allocations: 3.268 MB / 1.076 GB, free: 295.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.321, allocations: 1.137 MB / 1.077 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002481/2.323, allocations: 325.4 kB / 1.077 GB, free: 295.4 MB / 0.8263 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.006556/2.33, allocations: 1.554 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002061/2.332, allocations: 0.5026 MB / 1.079 GB, free: 295.2 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04211/2.374, allocations: 12.33 MB / 1.091 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.094e-05/2.374, allocations: 70.06 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/2.374, allocations: 0 / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/2.375, allocations: 33.95 kB / 1.092 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05732/2.432, allocations: 21.85 MB / 1.113 GB, free: 282.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/2.432, allocations: 0 / 1.113 GB, free: 282.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01267/2.445, allocations: 1.846 MB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/2.446, allocations: 160.9 kB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002088/2.448, allocations: 225.4 kB / 1.115 GB, free: 282 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/2.451, allocations: 3.322 MB / 1.118 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.451, allocations: 3.094 kB / 1.118 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03363/2.485, allocations: 10.51 MB / 1.129 GB, free: 273.5 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00478/2.489, allocations: 1.761 MB / 1.13 GB, free: 272 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/2.492, allocations: 160.8 kB / 1.13 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009374/2.501, allocations: 0.7562 MB / 1.131 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/2.503, allocations: 429.4 kB / 1.132 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00135/2.504, allocations: 273.9 kB / 1.132 GB, free: 271.2 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.004257/2.508, allocations: 2.418 MB / 1.134 GB, free: 270 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.81e-07/2.508, allocations: 3.656 kB / 1.134 GB, free: 270 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.008211/2.517, allocations: 2.35 MB / 1.137 GB, free: 268.4 MB / 0.8263 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.002802/2.519, allocations: 0.7821 MB / 1.137 GB, free: 267.9 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03248/2.552, allocations: 10.61 MB / 1.148 GB, free: 257.2 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.552, allocations: 4 kB / 1.148 GB, free: 257.2 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01757/2.57, allocations: 5.708 MB / 1.153 GB, free: 251.4 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008528/2.578, allocations: 0.9374 MB / 1.154 GB, free: 250.5 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/2.618, allocations: 16.8 MB / 1.171 GB, free: 233.7 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/2.621, allocations: 3.939 MB / 1.174 GB, free: 229.7 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006537/2.628, allocations: 0.8579 MB / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of SimCode: time 9.72e-07/2.628, allocations: 0 / 1.175 GB, free: 228.8 MB / 0.8263 GB Notification: Performance of Templates: time 0.2036/2.831, allocations: 208.7 MB / 1.379 GB, free: 20.02 MB / 0.8263 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++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.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