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.006169/0.006169, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.001225/0.001225, allocations: 199 kB / 16.79 MB, free: 6.258 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.38 kB / 0.5053 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 80.92 MB / 0.5843 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00627/0.2182, allocations: 4.195 MB / 0.5884 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.537/0.7553, allocations: 148.2 MB / 0.7331 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.7561, allocations: 19.91 kB / 0.7332 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.7567, allocations: 131.2 kB / 0.7333 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.7582, allocations: 402.7 kB / 0.7337 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.7602, allocations: 0.6924 MB / 0.7343 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.7617, allocations: 1.133 MB / 0.7354 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.7628, allocations: 0.5351 MB / 0.736 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.7635, allocations: 367.6 kB / 0.7363 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.764, allocations: 405.6 kB / 0.7367 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.7641, allocations: 48.25 kB / 0.7367 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.7659, allocations: 0.7739 MB / 0.7375 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.7662, allocations: 206.2 kB / 0.7377 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.7667, allocations: 432.5 kB / 0.7381 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.7683, allocations: 1.199 MB / 0.7393 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.7683, allocations: 0 / 0.7393 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7683, allocations: 0 / 0.7393 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.7683, allocations: 0 / 0.7393 GB, free: 11.11 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.002795/0.7711, allocations: 1.35 MB / 0.7406 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7712, allocations: 14.59 kB / 0.7406 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7724, allocations: 193.5 kB / 0.7408 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7735, allocations: 0.6994 MB / 0.7415 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.7735, allocations: 54.88 kB / 0.7415 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7736, allocations: 64 kB / 0.7416 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.7753, allocations: 0.833 MB / 0.7424 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7753, allocations: 0 / 0.7424 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.7754, allocations: 32.19 kB / 0.7424 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.7754, allocations: 17.72 kB / 0.7425 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.7775, allocations: 1.078 MB / 0.7435 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.7814, allocations: 2.363 MB / 0.7458 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.7828, allocations: 0.7471 MB / 0.7465 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.7835, allocations: 307.1 kB / 0.7468 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.7836, allocations: 32.41 kB / 0.7469 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.7847, allocations: 460.8 kB / 0.7473 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.474e-06/0.7847, allocations: 0 / 0.7473 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003553/0.7883, allocations: 1.173 MB / 0.7485 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.7884, allocations: 188.6 kB / 0.7486 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.7893, allocations: 0.6017 MB / 0.7492 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.7893, allocations: 41.7 kB / 0.7493 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.7897, allocations: 348.4 kB / 0.7496 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.79, allocations: 240.5 kB / 0.7498 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.7902, allocations: 155.8 kB / 0.75 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7904, allocations: 390.8 kB / 0.7503 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.7911, allocations: 257.8 kB / 0.7506 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/0.7919, allocations: 367.9 kB / 0.7509 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.7932, allocations: 0.612 MB / 0.7515 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7932, allocations: 3.938 kB / 0.7515 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002193/0.7954, allocations: 0.8409 MB / 0.7524 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7954, allocations: 4 kB / 0.7524 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.7954, allocations: 8.109 kB / 0.7524 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.7961, allocations: 76.78 kB / 0.7525 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.7969, allocations: 171.8 kB / 0.7526 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7992, allocations: 1.531 MB / 0.7541 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/0.8, allocations: 83.45 kB / 0.7542 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.8001, allocations: 39.91 kB / 0.7542 GB, free: 14.64 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.000466/0.8006, allocations: 254.2 kB / 0.7545 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.8008, allocations: 75.94 kB / 0.7545 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.8036, allocations: 1.109 MB / 0.7556 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.8037, allocations: 8 kB / 0.7556 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8037, allocations: 0.8125 kB / 0.7556 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.8037, allocations: 3.984 kB / 0.7556 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.8048, allocations: 0.841 MB / 0.7565 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8048, allocations: 0 / 0.7565 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.8056, allocations: 159.7 kB / 0.7566 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.8061, allocations: 80.78 kB / 0.7567 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.8062, allocations: 31.98 kB / 0.7567 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.8081, allocations: 1.556 MB / 0.7582 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8081, allocations: 0 / 0.7582 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.8103, allocations: 0.9044 MB / 0.7591 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.8107, allocations: 259.8 kB / 0.7594 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.8109, allocations: 20 kB / 0.7594 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.8115, allocations: 63.92 kB / 0.7595 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.8116, allocations: 60.91 kB / 0.7595 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.8117, allocations: 35.92 kB / 0.7595 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005625/0.8123, allocations: 431 kB / 0.76 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8123, allocations: 4 kB / 0.76 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009083/0.8132, allocations: 299.3 kB / 0.7602 GB, free: 8.234 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.001397/0.8146, allocations: 0.6144 MB / 0.7608 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.8165, allocations: 0.8195 MB / 0.7616 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8165, allocations: 3.938 kB / 0.7616 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.8175, allocations: 0.5081 MB / 0.7621 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.8186, allocations: 256.8 kB / 0.7624 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.8226, allocations: 2.061 MB / 0.7644 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.8232, allocations: 0.9919 MB / 0.7654 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.8235, allocations: 111.4 kB / 0.7655 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.8235, allocations: 3.938 kB / 0.7655 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.02385/0.8474, allocations: 17.47 MB / 0.7825 GB, free: 1.605 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