Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600") translateModel(IDEAS.BoundaryConditions.Validation.BESTEST.WD600,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="IDEAS_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.001581/0.001581, allocations: 110 kB / 15.99 MB, free: 6.344 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.001644/0.001644, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001097, allocations: 59.91 kB / 0.5019 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3868, allocations: 80.19 MB / 0.5802 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD600): time 0.01554/0.4024, allocations: 17.93 MB / 0.5977 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.55/0.9524, allocations: 160.1 MB / 0.754 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006804/0.9593, allocations: 76.97 kB / 0.7541 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.9624, allocations: 0.5539 MB / 0.7547 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007867/0.9703, allocations: 1.422 MB / 0.756 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008528/0.9788, allocations: 3.683 MB / 0.7596 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01601/0.9949, allocations: 9.604 MB / 0.769 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/1.009, allocations: 9.107 MB / 0.7779 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/1.019, allocations: 5.157 MB / 0.7829 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008683/1.028, allocations: 5.745 MB / 0.7886 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005285/1.033, allocations: 1.764 MB / 0.7903 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006601/1.04, allocations: 2.236 MB / 0.7925 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00553/1.046, allocations: 3.313 MB / 0.7957 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01092/1.056, allocations: 6.081 MB / 0.8016 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/1.072, allocations: 13.64 MB / 0.815 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.072, allocations: 0 / 0.815 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.424e-06/1.072, allocations: 0.9375 kB / 0.815 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0007493/1.073, allocations: 1.812 kB / 0.815 GB, free: 1.129 MB / 0.5919 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.03202/1.105, allocations: 10.5 MB / 0.8252 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.105, allocations: 14.16 kB / 0.8252 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05076/1.156, allocations: 7.23 MB / 0.8323 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/1.167, allocations: 4.785 MB / 0.837 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007841/1.168, allocations: 0.8391 MB / 0.8378 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0046/1.173, allocations: 1.094 MB / 0.8388 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04868/1.222, allocations: 14.55 MB / 0.8531 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.222, allocations: 3 kB / 0.8531 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003234/1.225, allocations: 468 kB / 0.8535 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/1.225, allocations: 280 kB / 0.8538 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05123/1.277, allocations: 16.18 MB / 0.8696 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0837/1.36, allocations: 35.17 MB / 0.9039 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03183/1.392, allocations: 9.798 MB / 0.9135 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01689/1.409, allocations: 5.188 MB / 0.9186 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/1.411, allocations: 0.6849 MB / 0.9192 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01973/1.43, allocations: 5.939 MB / 0.925 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=689): time 1.293e-05/1.431, allocations: 0 / 0.925 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=689): time 0.05609/1.487, allocations: 14.85 MB / 0.9395 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002217/1.487, allocations: 356.2 kB / 0.9399 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005598/1.492, allocations: 3.252 MB / 0.943 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.002474/1.495, allocations: 137.7 kB / 0.9432 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004093/1.499, allocations: 3.645 MB / 0.9467 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004655/1.504, allocations: 2.247 MB / 0.9489 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003642/1.507, allocations: 1.23 MB / 0.9501 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.508, allocations: 301.1 kB / 0.9504 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01535/1.523, allocations: 4.376 MB / 0.9547 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01676/1.54, allocations: 4.916 MB / 0.9595 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03213/1.572, allocations: 9.169 MB / 0.9684 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-05/1.572, allocations: 0 / 0.9684 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.05003/1.622, allocations: 10.63 MB / 0.9788 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.622, allocations: 8 kB / 0.9788 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/1.622, allocations: 4 kB / 0.9788 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/1.624, allocations: 192.5 kB / 0.979 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01818/1.642, allocations: 1.992 MB / 0.981 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/1.648, allocations: 3.266 MB / 0.9842 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/1.66, allocations: 1.137 MB / 0.9853 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002768/1.663, allocations: 323.6 kB / 0.9856 GB, free: 7.125 MB / 0.7637 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.007197/1.67, allocations: 1.552 MB / 0.9871 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.672, allocations: 0.4977 MB / 0.9876 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0438/1.716, allocations: 12.35 MB / 0.9996 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/1.716, allocations: 68 kB / 0.9997 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.716, allocations: 4 kB / 0.9997 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002024/1.716, allocations: 31.88 kB / 0.9997 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06314/1.779, allocations: 21.94 MB / 1.021 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.779, allocations: 0 / 1.021 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01295/1.792, allocations: 1.852 MB / 1.023 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009885/1.793, allocations: 157.6 kB / 1.023 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002103/1.795, allocations: 223.7 kB / 1.023 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/1.8, allocations: 3.32 MB / 1.027 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.8, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0382/1.838, allocations: 10.5 MB / 1.037 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0053/1.843, allocations: 1.762 MB / 1.039 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00274/1.846, allocations: 159.4 kB / 1.039 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3389/2.185, allocations: 0.7509 MB / 1.039 GB, free: 363.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/2.187, allocations: 420 kB / 1.04 GB, free: 363.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001679/2.189, allocations: 277.3 kB / 1.04 GB, free: 363.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004697/2.193, allocations: 2.424 MB / 1.042 GB, free: 363.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/2.193, allocations: 0 / 1.042 GB, free: 363.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009623/2.203, allocations: 2.35 MB / 1.045 GB, free: 363 MB / 0.8106 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.003644/2.207, allocations: 0.7905 MB / 1.046 GB, free: 362.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.07254/2.279, allocations: 12.25 MB / 1.057 GB, free: 359.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/2.279, allocations: 3.938 kB / 1.058 GB, free: 359.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/2.297, allocations: 5.711 MB / 1.063 GB, free: 357 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007456/2.305, allocations: 0.9259 MB / 1.064 GB, free: 356.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/2.345, allocations: 21.69 MB / 1.085 GB, free: 342.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004324/2.349, allocations: 3.938 MB / 1.089 GB, free: 339.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007503/2.357, allocations: 0.8628 MB / 1.09 GB, free: 339 MB / 0.8106 GB Notification: Performance of SimCode: time 1.423e-06/2.357, allocations: 0 / 1.09 GB, free: 339 MB / 0.8106 GB Notification: Performance of Templates: time 0.1991/2.556, allocations: 206.4 MB / 1.291 GB, free: 137.9 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600.makefile make -j1 -f IDEAS_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/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.WD600CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD600Functions.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.WD600CalcHelperMain.o] Error 1