Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001282/0.001282, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001322/0.001322, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8231/0.8231, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 55.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 80.19 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005214/0.3449, allocations: 4.193 MB / 0.5848 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1675/0.5124, allocations: 150.5 MB / 0.7318 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.5133, allocations: 15.88 kB / 0.7318 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.514, allocations: 170.4 kB / 0.7319 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.5157, allocations: 491.5 kB / 0.7324 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.5177, allocations: 0.7831 MB / 0.7332 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.519, allocations: 1.21 MB / 0.7344 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008236/0.5199, allocations: 0.5579 MB / 0.7349 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.5204, allocations: 418.5 kB / 0.7353 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.5209, allocations: 430.1 kB / 0.7357 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.5211, allocations: 104 kB / 0.7358 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5226, allocations: 0.827 MB / 0.7366 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.5228, allocations: 267.1 kB / 0.7369 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.5233, allocations: 481.4 kB / 0.7373 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.5252, allocations: 1.605 MB / 0.7389 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5252, allocations: 0 / 0.7389 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5252, allocations: 0 / 0.7389 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5253, allocations: 0 / 0.7389 GB, free: 11.71 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002219/0.5275, allocations: 1.342 MB / 0.7402 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5275, allocations: 16.03 kB / 0.7402 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5287, allocations: 195.5 kB / 0.7404 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.5296, allocations: 0.6955 MB / 0.7411 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.5297, allocations: 54 kB / 0.7411 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.5298, allocations: 71.98 kB / 0.7412 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.5313, allocations: 0.8333 MB / 0.742 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5313, allocations: 0 / 0.742 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.5314, allocations: 35.98 kB / 0.7421 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5315, allocations: 20 kB / 0.7421 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.5334, allocations: 1.073 MB / 0.7431 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.537, allocations: 2.367 MB / 0.7454 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5385, allocations: 0.7472 MB / 0.7462 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.5392, allocations: 302.7 kB / 0.7465 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.5393, allocations: 40.67 kB / 0.7465 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009884/0.5403, allocations: 459.2 kB / 0.7469 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.5403, allocations: 0 / 0.7469 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003604/0.5439, allocations: 1.167 MB / 0.7481 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.544, allocations: 196.5 kB / 0.7483 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.5447, allocations: 0.6017 MB / 0.7489 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.5448, allocations: 37.7 kB / 0.7489 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.5451, allocations: 352.4 kB / 0.7492 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.5453, allocations: 244.5 kB / 0.7495 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.5456, allocations: 154.5 kB / 0.7496 GB, free: 420 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5457, allocations: 386.8 kB / 0.75 GB, free: 24 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2663/0.812, allocations: 257.7 kB / 0.7502 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.8129, allocations: 360.9 kB / 0.7506 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.8144, allocations: 0.6129 MB / 0.7512 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.8144, allocations: 0.75 kB / 0.7512 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002393/0.8168, allocations: 0.8521 MB / 0.752 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.8169, allocations: 5.125 kB / 0.752 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8169, allocations: 1.562 kB / 0.752 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.8175, allocations: 80.28 kB / 0.7521 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.8183, allocations: 156.8 kB / 0.7522 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.8202, allocations: 1.65 MB / 0.7538 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.8209, allocations: 88.14 kB / 0.7539 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.821, allocations: 35.53 kB / 0.754 GB, free: 164.8 MB / 0.5762 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.0004332/0.8215, allocations: 259.5 kB / 0.7542 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.8216, allocations: 74.88 kB / 0.7543 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.8247, allocations: 1.101 MB / 0.7554 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8248, allocations: 7.906 kB / 0.7554 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8248, allocations: 6.578 kB / 0.7554 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.8248, allocations: 4.688 kB / 0.7554 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.8258, allocations: 0.8403 MB / 0.7562 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8258, allocations: 1.531 kB / 0.7562 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.8265, allocations: 153.6 kB / 0.7563 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.827, allocations: 72.44 kB / 0.7564 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.901e-05/0.8271, allocations: 27.8 kB / 0.7564 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.8289, allocations: 1.675 MB / 0.7581 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8289, allocations: 1 kB / 0.7581 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.8314, allocations: 0.9043 MB / 0.759 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.8317, allocations: 259.3 kB / 0.7592 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.8318, allocations: 20.88 kB / 0.7592 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.8325, allocations: 59.73 kB / 0.7593 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8327, allocations: 66.33 kB / 0.7593 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.8327, allocations: 38.66 kB / 0.7594 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004938/0.8332, allocations: 435.3 kB / 0.7598 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.253e-06/0.8333, allocations: 3 kB / 0.7598 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008658/0.8341, allocations: 297.1 kB / 0.7601 GB, free: 161.2 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.001403/0.8355, allocations: 0.6179 MB / 0.7607 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.8381, allocations: 1.011 MB / 0.7617 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8381, allocations: 9.781 kB / 0.7617 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.8392, allocations: 0.5052 MB / 0.7622 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8404, allocations: 289.4 kB / 0.7624 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.844, allocations: 1.701 MB / 0.7641 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.8445, allocations: 0.9873 MB / 0.7651 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.8448, allocations: 123.6 kB / 0.7652 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.8448, allocations: 1.281 kB / 0.7652 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.0177/0.8625, allocations: 17.48 MB / 0.7823 GB, free: 142.3 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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/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.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o] Error 1