Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_dev_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.008661/0.008661, allocations: 100.9 kB / 15.87 MB, free: 5.871 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.001984/0.001984, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9362/0.9362, allocations: 135.1 MB / 425.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.14 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.93 MB / 0.5843 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.02023/0.1902, allocations: 17.94 MB / 0.6019 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5349/0.7251, allocations: 160 MB / 0.7582 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006014/0.7312, allocations: 77.28 kB / 0.7582 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.7348, allocations: 0.5596 MB / 0.7588 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007888/0.7427, allocations: 1.409 MB / 0.7601 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00925/0.7519, allocations: 3.652 MB / 0.7637 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01305/0.765, allocations: 8.747 MB / 0.7723 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.7774, allocations: 8.771 MB / 0.7808 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008255/0.7857, allocations: 4.185 MB / 0.7849 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.7934, allocations: 5.125 MB / 0.7899 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003915/0.7974, allocations: 0.8438 MB / 0.7907 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005193/0.8026, allocations: 1.316 MB / 0.792 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.8067, allocations: 2.389 MB / 0.7944 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008558/0.8152, allocations: 5.168 MB / 0.7994 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.8301, allocations: 13.51 MB / 0.8126 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.8301, allocations: 8 kB / 0.8126 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.016e-05/0.8302, allocations: 0 / 0.8126 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0006886/0.8309, allocations: 0 / 0.8126 GB, free: 3.027 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.03317/0.864, allocations: 10.49 MB / 0.8229 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.8641, allocations: 12.03 kB / 0.8229 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05197/0.9161, allocations: 7.231 MB / 0.8299 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.9295, allocations: 4.782 MB / 0.8346 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009788/0.9305, allocations: 0.843 MB / 0.8354 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004718/0.9353, allocations: 1.09 MB / 0.8365 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0533/0.9886, allocations: 14.55 MB / 0.8507 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003711/0.989, allocations: 0 / 0.8507 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004192/0.9932, allocations: 479.9 kB / 0.8512 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002584/0.9935, allocations: 280 kB / 0.8514 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.639/1.633, allocations: 16.16 MB / 0.8672 GB, free: 197.6 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09077/1.723, allocations: 35.18 MB / 0.9016 GB, free: 181.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03657/1.76, allocations: 9.8 MB / 0.9111 GB, free: 177.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01735/1.777, allocations: 5.188 MB / 0.9162 GB, free: 175.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/1.779, allocations: 0.6784 MB / 0.9169 GB, free: 175 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0217/1.801, allocations: 5.946 MB / 0.9227 GB, free: 173 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 3.418e-05/1.801, allocations: 0 / 0.9227 GB, free: 173 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.06258/1.864, allocations: 14.85 MB / 0.9372 GB, free: 165.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/1.864, allocations: 355 kB / 0.9375 GB, free: 165.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00691/1.871, allocations: 3.245 MB / 0.9407 GB, free: 163.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002769/1.874, allocations: 137.2 kB / 0.9408 GB, free: 163.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.877, allocations: 3.655 MB / 0.9444 GB, free: 160.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004205/1.881, allocations: 2.24 MB / 0.9466 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008333/1.89, allocations: 1.238 MB / 0.9478 GB, free: 157.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/1.89, allocations: 302.2 kB / 0.948 GB, free: 157.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01558/1.905, allocations: 4.378 MB / 0.9523 GB, free: 155.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01651/1.922, allocations: 4.912 MB / 0.9571 GB, free: 152.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03161/1.953, allocations: 9.168 MB / 0.9661 GB, free: 145.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/1.954, allocations: 0 / 0.9661 GB, free: 145.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04039/1.994, allocations: 10.64 MB / 0.9765 GB, free: 134.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.994, allocations: 4 kB / 0.9765 GB, free: 134.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.994, allocations: 8 kB / 0.9765 GB, free: 134.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/1.995, allocations: 185.8 kB / 0.9767 GB, free: 134.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/2.009, allocations: 1.989 MB / 0.9786 GB, free: 132.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/2.012, allocations: 3.042 MB / 0.9816 GB, free: 129.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.024, allocations: 1.134 MB / 0.9827 GB, free: 128.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/2.027, allocations: 327.5 kB / 0.983 GB, free: 127.7 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.008491/2.035, allocations: 1.565 MB / 0.9845 GB, free: 126.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003552/2.039, allocations: 0.4978 MB / 0.985 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04969/2.089, allocations: 12.35 MB / 0.9971 GB, free: 113.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-05/2.089, allocations: 68 kB / 0.9971 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.953e-05/2.089, allocations: 4 kB / 0.9971 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002497/2.089, allocations: 35.86 kB / 0.9972 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0772/2.166, allocations: 21.92 MB / 1.019 GB, free: 91.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.755e-05/2.166, allocations: 4 kB / 1.019 GB, free: 91.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01311/2.179, allocations: 1.849 MB / 1.02 GB, free: 89.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/2.181, allocations: 177.5 kB / 1.021 GB, free: 89.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003258/2.184, allocations: 219.7 kB / 1.021 GB, free: 88.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/2.187, allocations: 3.091 MB / 1.024 GB, free: 85.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.187, allocations: 0 / 1.024 GB, free: 85.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03781/2.225, allocations: 10.5 MB / 1.034 GB, free: 74.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/2.23, allocations: 1.769 MB / 1.036 GB, free: 73.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/2.233, allocations: 163.4 kB / 1.036 GB, free: 72.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0102/2.243, allocations: 0.757 MB / 1.037 GB, free: 72.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001721/2.245, allocations: 417.5 kB / 1.037 GB, free: 71.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001904/2.247, allocations: 271.7 kB / 1.037 GB, free: 71.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004723/2.252, allocations: 2.426 MB / 1.04 GB, free: 69.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 4e-07/2.252, allocations: 0 / 1.04 GB, free: 69.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00835/2.26, allocations: 2.354 MB / 1.042 GB, free: 66.75 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.003405/2.263, allocations: 0.7827 MB / 1.043 GB, free: 66.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03302/2.296, allocations: 10.59 MB / 1.053 GB, free: 55.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.297, allocations: 7.938 kB / 1.053 GB, free: 55.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/2.314, allocations: 5.704 MB / 1.059 GB, free: 49.81 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/2.325, allocations: 0.863 MB / 1.06 GB, free: 48.96 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/2.369, allocations: 21.69 MB / 1.081 GB, free: 27.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/2.373, allocations: 3.939 MB / 1.085 GB, free: 23.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007571/2.38, allocations: 0.8618 MB / 1.085 GB, free: 22.36 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/2.38, allocations: 0 / 1.085 GB, free: 22.36 MB / 0.67 GB Notification: Performance of Templates: time 0.6195/3, allocations: 206.4 MB / 1.287 GB, free: 88.32 MB / 0.6857 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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.WD200CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200Functions.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.WD200CalcHelperMain.o] Error 1