Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007467/0.0007466, allocations: 98.72 kB / 16.02 MB, free: 72 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.0008791/0.0008792, allocations: 179.7 kB / 16.92 MB, free: 6.918 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.294/1.294, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8877/0.8877, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 13.11 kB / 0.5082 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004561/0.1612, allocations: 3.78 MB / 0.5923 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3843/0.5455, allocations: 146.6 MB / 0.7354 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.5459, allocations: 22.08 kB / 0.7355 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.5464, allocations: 130.7 kB / 0.7356 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.5477, allocations: 402.3 kB / 0.736 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.5494, allocations: 0.688 MB / 0.7366 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.5509, allocations: 1.132 MB / 0.7377 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.5518, allocations: 0.5298 MB / 0.7383 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.5524, allocations: 308.2 kB / 0.7386 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.5529, allocations: 343 kB / 0.7389 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.5529, allocations: 21.78 kB / 0.7389 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.5542, allocations: 0.7526 MB / 0.7396 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.5545, allocations: 177.8 kB / 0.7398 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.5548, allocations: 401.7 kB / 0.7402 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.556, allocations: 1.178 MB / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.556, allocations: 0 / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.556, allocations: 0 / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.556, allocations: 1.344 kB / 0.7413 GB, free: 12.38 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001848/0.5579, allocations: 1.168 MB / 0.7425 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.5579, allocations: 8.312 kB / 0.7425 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.559, allocations: 204.9 kB / 0.7427 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.5599, allocations: 0.6978 MB / 0.7434 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.56, allocations: 53.78 kB / 0.7434 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.5601, allocations: 65.12 kB / 0.7435 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5615, allocations: 0.8441 MB / 0.7443 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5616, allocations: 0 / 0.7443 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.5617, allocations: 32.25 kB / 0.7443 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.5617, allocations: 16.5 kB / 0.7443 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5635, allocations: 1.099 MB / 0.7454 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.5669, allocations: 2.388 MB / 0.7478 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.5682, allocations: 0.7581 MB / 0.7485 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.5688, allocations: 312.7 kB / 0.7488 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.5689, allocations: 25.19 kB / 0.7488 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008703/0.5698, allocations: 476.1 kB / 0.7493 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.863e-06/0.5698, allocations: 0 / 0.7493 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003173/0.573, allocations: 1.196 MB / 0.7504 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.5731, allocations: 195.3 kB / 0.7506 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.5737, allocations: 0.5939 MB / 0.7512 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.5738, allocations: 45.69 kB / 0.7512 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.5741, allocations: 352.4 kB / 0.7516 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.5743, allocations: 240.5 kB / 0.7518 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.5744, allocations: 61.69 kB / 0.7519 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5745, allocations: 382.8 kB / 0.7522 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.5751, allocations: 277.8 kB / 0.7525 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.5758, allocations: 375.9 kB / 0.7529 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5771, allocations: 0.6275 MB / 0.7535 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5771, allocations: 4 kB / 0.7535 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00201/0.5792, allocations: 0.8604 MB / 0.7543 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5792, allocations: 16.06 kB / 0.7543 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5792, allocations: 0 / 0.7543 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.5798, allocations: 84.77 kB / 0.7544 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.5805, allocations: 163.8 kB / 0.7546 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.5824, allocations: 1.532 MB / 0.7561 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.583, allocations: 101.6 kB / 0.7562 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.5831, allocations: 38.59 kB / 0.7562 GB, free: 0.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.5835, allocations: 254.2 kB / 0.7564 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5836, allocations: 79.06 kB / 0.7565 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.5863, allocations: 1.12 MB / 0.7576 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5863, allocations: 8 kB / 0.7576 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.5863, allocations: 0 / 0.7576 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5863, allocations: 3.984 kB / 0.7576 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008811/0.5872, allocations: 0.8428 MB / 0.7584 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5872, allocations: 0 / 0.7584 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.5878, allocations: 159.8 kB / 0.7586 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.5884, allocations: 92.7 kB / 0.7587 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.5884, allocations: 23.98 kB / 0.7587 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5901, allocations: 1.552 MB / 0.7602 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5901, allocations: 0 / 0.7602 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.5921, allocations: 0.9278 MB / 0.7611 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.5925, allocations: 275.7 kB / 0.7614 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5926, allocations: 20.06 kB / 0.7614 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.5932, allocations: 79.44 kB / 0.7615 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5933, allocations: 72.84 kB / 0.7616 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.5934, allocations: 36.11 kB / 0.7616 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004966/0.5939, allocations: 431 kB / 0.762 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5939, allocations: 0 / 0.762 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008202/0.5947, allocations: 307.3 kB / 0.7623 GB, free: 10 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.596, allocations: 0.6037 MB / 0.7629 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.5977, allocations: 0.839 MB / 0.7637 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5978, allocations: 0 / 0.7637 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.5987, allocations: 0.5198 MB / 0.7642 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.5998, allocations: 262.2 kB / 0.7645 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.6036, allocations: 2.117 MB / 0.7665 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.6041, allocations: 0.988 MB / 0.7675 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.6044, allocations: 115.4 kB / 0.7676 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6044, allocations: 0 / 0.7676 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.02136/0.6258, allocations: 17.36 MB / 0.7846 GB, free: 3.398 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.ReaderTMY3HDirNorCalcHelperMain.o] Error 1