Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007999/0.0007999, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9323/0.9323, allocations: 135.3 MB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003879, allocations: 8 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.0181/0.1721, allocations: 17.04 MB / 0.6053 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4522/0.6244, allocations: 158.4 MB / 0.7599 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003682/0.6281, allocations: 75.75 kB / 0.76 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.6299, allocations: 0.5629 MB / 0.7605 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.6355, allocations: 1.4 MB / 0.7619 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.6424, allocations: 3.644 MB / 0.7654 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01105/0.6535, allocations: 8.73 MB / 0.774 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.6644, allocations: 8.548 MB / 0.7823 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.6699, allocations: 2.798 MB / 0.7851 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004702/0.6746, allocations: 3.391 MB / 0.7884 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.676, allocations: 204 kB / 0.7886 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.6784, allocations: 0.6633 MB / 0.7892 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.6798, allocations: 1.414 MB / 0.7906 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004508/0.6843, allocations: 3.936 MB / 0.7944 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.6968, allocations: 13.03 MB / 0.8072 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6968, allocations: 4 kB / 0.8072 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6968, allocations: 4 kB / 0.8072 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004197/0.6973, allocations: 0 / 0.8072 GB, free: 10.8 MB / 0.6231 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.02135/0.7186, allocations: 8.037 MB / 0.815 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7187, allocations: 15.97 kB / 0.815 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05251/0.7712, allocations: 7.824 MB / 0.8227 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.7805, allocations: 4.782 MB / 0.8273 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006965/0.7813, allocations: 0.843 MB / 0.8282 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/0.7849, allocations: 1.09 MB / 0.8292 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0443/0.8292, allocations: 14.78 MB / 0.8437 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.8295, allocations: 3.938 kB / 0.8437 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/0.8325, allocations: 476 kB / 0.8441 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.8327, allocations: 280 kB / 0.8444 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05409/0.8868, allocations: 16.63 MB / 0.8606 GB, free: 3.734 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5871/1.474, allocations: 35.26 MB / 0.8951 GB, free: 181.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02934/1.503, allocations: 9.845 MB / 0.9047 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0155/1.519, allocations: 5.223 MB / 0.9098 GB, free: 176.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.52, allocations: 0.6793 MB / 0.9104 GB, free: 175.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01872/1.539, allocations: 5.976 MB / 0.9163 GB, free: 173.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.411e-05/1.539, allocations: 0 / 0.9163 GB, free: 173.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05699/1.596, allocations: 14.97 MB / 0.9309 GB, free: 168.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/1.596, allocations: 357.6 kB / 0.9312 GB, free: 167.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006551/1.603, allocations: 3.235 MB / 0.9344 GB, free: 166.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002087/1.605, allocations: 142.5 kB / 0.9345 GB, free: 166.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.607, allocations: 3.652 MB / 0.9381 GB, free: 163.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003255/1.611, allocations: 2.24 MB / 0.9403 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.612, allocations: 466.3 kB / 0.9407 GB, free: 161.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/1.612, allocations: 307.2 kB / 0.941 GB, free: 160.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01439/1.626, allocations: 4.411 MB / 0.9453 GB, free: 158.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/1.642, allocations: 4.952 MB / 0.9502 GB, free: 155.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03006/1.672, allocations: 9.236 MB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/1.672, allocations: 3.812 kB / 0.9592 GB, free: 151 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03815/1.71, allocations: 10.71 MB / 0.9696 GB, free: 141.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.711, allocations: 8 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.711, allocations: 7.938 kB / 0.9697 GB, free: 141.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.712, allocations: 189.6 kB / 0.9698 GB, free: 141.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/1.725, allocations: 2.013 MB / 0.9718 GB, free: 139.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/1.728, allocations: 3.048 MB / 0.9748 GB, free: 136.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/1.74, allocations: 1.157 MB / 0.9759 GB, free: 135.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.742, allocations: 323.6 kB / 0.9762 GB, free: 134.9 MB / 0.67 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.0071/1.749, allocations: 1.561 MB / 0.9777 GB, free: 133.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002814/1.752, allocations: 0.5014 MB / 0.9782 GB, free: 132.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04343/1.795, allocations: 12.41 MB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.936e-05/1.795, allocations: 68 kB / 0.9904 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/1.795, allocations: 4 kB / 0.9904 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001606/1.796, allocations: 39.8 kB / 0.9905 GB, free: 120.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05512/1.851, allocations: 21.99 MB / 1.012 GB, free: 98.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/1.851, allocations: 4 kB / 1.012 GB, free: 98.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01264/1.863, allocations: 1.865 MB / 1.014 GB, free: 96.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.865, allocations: 181.5 kB / 1.014 GB, free: 96.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00223/1.867, allocations: 223.7 kB / 1.014 GB, free: 95.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/1.87, allocations: 3.102 MB / 1.017 GB, free: 92.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.87, allocations: 0 / 1.017 GB, free: 92.55 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03769/1.908, allocations: 10.57 MB / 1.027 GB, free: 81.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004843/1.913, allocations: 1.897 MB / 1.029 GB, free: 79.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002513/1.915, allocations: 123.9 kB / 1.029 GB, free: 79.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01011/1.925, allocations: 0.8005 MB / 1.03 GB, free: 79.04 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/1.927, allocations: 417.5 kB / 1.031 GB, free: 78.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001829/1.929, allocations: 278.5 kB / 1.031 GB, free: 78.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004574/1.933, allocations: 2.422 MB / 1.033 GB, free: 75.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/1.933, allocations: 0 / 1.033 GB, free: 75.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008335/1.942, allocations: 2.353 MB / 1.036 GB, free: 73.59 MB / 0.67 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.003327/1.945, allocations: 0.7819 MB / 1.036 GB, free: 73.07 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03438/1.979, allocations: 10.67 MB / 1.047 GB, free: 62.33 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.979, allocations: 0 / 1.047 GB, free: 62.33 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01755/1.997, allocations: 5.739 MB / 1.052 GB, free: 56.56 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007912/2.005, allocations: 0.8643 MB / 1.053 GB, free: 55.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/2.046, allocations: 21.8 MB / 1.074 GB, free: 33.85 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/2.049, allocations: 3.943 MB / 1.078 GB, free: 29.86 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00575/2.054, allocations: 0.854 MB / 1.079 GB, free: 29.01 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/2.054, allocations: 0 / 1.079 GB, free: 29.01 MB / 0.67 GB Notification: Performance of Templates: time 0.5414/2.596, allocations: 205.1 MB / 1.279 GB, free: 92 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile clang++ -std=c++14 -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.WD600CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1