Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001389/0.001389, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 135.1 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.00463/0.3304, allocations: 4.019 MB / 0.5889 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.485, allocations: 150.4 MB / 0.7358 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.486, allocations: 19.88 kB / 0.7359 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.4868, allocations: 162.5 kB / 0.736 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.4887, allocations: 456.5 kB / 0.7364 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.4906, allocations: 0.7116 MB / 0.7371 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.4921, allocations: 1.075 MB / 0.7382 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/0.493, allocations: 0.4946 MB / 0.7387 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.4936, allocations: 362.6 kB / 0.739 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.4942, allocations: 362.3 kB / 0.7394 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.4944, allocations: 88 kB / 0.7394 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.4952, allocations: 367.7 kB / 0.7398 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.4955, allocations: 219.3 kB / 0.74 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.496, allocations: 433.7 kB / 0.7404 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.4977, allocations: 1.235 MB / 0.7416 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4977, allocations: 0 / 0.7416 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4978, allocations: 0 / 0.7416 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.08e-05/0.4978, allocations: 0 / 0.7416 GB, free: 9.645 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002334/0.5001, allocations: 1.181 MB / 0.7428 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5002, allocations: 13.11 kB / 0.7428 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.5005, allocations: 95.81 kB / 0.7429 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.5015, allocations: 0.6599 MB / 0.7435 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.5016, allocations: 45.31 kB / 0.7436 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.5017, allocations: 60 kB / 0.7436 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5029, allocations: 0.7086 MB / 0.7443 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5029, allocations: 7.938 kB / 0.7443 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.503, allocations: 24 kB / 0.7443 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.503, allocations: 16 kB / 0.7444 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5044, allocations: 0.922 MB / 0.7453 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.5077, allocations: 2.345 MB / 0.7476 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5088, allocations: 0.5967 MB / 0.7481 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.5091, allocations: 219.3 kB / 0.7483 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.5092, allocations: 28.59 kB / 0.7484 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006319/0.5099, allocations: 346.4 kB / 0.7487 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 4.308e-06/0.5099, allocations: 3.984 kB / 0.7487 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001383/0.5113, allocations: 0.702 MB / 0.7494 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.5114, allocations: 255.9 kB / 0.7496 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.5122, allocations: 0.59 MB / 0.7502 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.5123, allocations: 37.7 kB / 0.7502 GB, free: 472 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5126, allocations: 332.5 kB / 0.7506 GB, free: 132 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.3113/0.8238, allocations: 199 kB / 0.7508 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.8243, allocations: 138.9 kB / 0.7509 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8245, allocations: 381.8 kB / 0.7513 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.8249, allocations: 186.5 kB / 0.7514 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.8254, allocations: 294.5 kB / 0.7517 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.8262, allocations: 476 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8262, allocations: 5.375 kB / 0.7522 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00112/0.8273, allocations: 0.6036 MB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.8274, allocations: 5.688 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.8274, allocations: 2.156 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.8274, allocations: 5.906 kB / 0.7528 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.828, allocations: 131 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.828, allocations: 4.5 kB / 0.7529 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.8286, allocations: 73.42 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.8286, allocations: 32.25 kB / 0.753 GB, free: 164.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000351/0.829, allocations: 247.1 kB / 0.7532 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8291, allocations: 70.69 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.8307, allocations: 0.753 MB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.8307, allocations: 7.844 kB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.8308, allocations: 4.719 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.8308, allocations: 4.047 kB / 0.7541 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.8319, allocations: 0.8866 MB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.832, allocations: 0.6562 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.8325, allocations: 120.3 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.8325, allocations: 7.5 kB / 0.755 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.8326, allocations: 21.91 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.8326, allocations: 4.391 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8326, allocations: 1.125 kB / 0.7551 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.8339, allocations: 0.6291 MB / 0.7557 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.8343, allocations: 246.7 kB / 0.7559 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.8344, allocations: 17.45 kB / 0.7559 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.8349, allocations: 43.73 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.835, allocations: 50.14 kB / 0.756 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.8351, allocations: 33.45 kB / 0.7561 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006584/0.8358, allocations: 430.9 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8358, allocations: 0 / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009134/0.8367, allocations: 242.3 kB / 0.7567 GB, free: 163.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.8383, allocations: 0.5926 MB / 0.7573 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.84, allocations: 0.6666 MB / 0.7579 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.84, allocations: 1 kB / 0.7579 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.8406, allocations: 276.8 kB / 0.7582 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8417, allocations: 255.8 kB / 0.7584 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.8438, allocations: 1.352 MB / 0.7598 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.8442, allocations: 0.9587 MB / 0.7607 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.8444, allocations: 102 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.8444, allocations: 1.656 kB / 0.7608 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01406/0.8585, allocations: 12.29 MB / 0.7728 GB, free: 150.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1