Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001379/0.001379, allocations: 187.8 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 114.5 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.4272/0.6742, allocations: 4.134 MB / 0.7881 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.8581, allocations: 150.2 MB / 0.9347 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.859, allocations: 19.88 kB / 0.9348 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.8596, allocations: 166.5 kB / 0.9349 GB, free: 76 kB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001777/0.8614, allocations: 424.5 kB / 0.9353 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.8636, allocations: 0.762 MB / 0.9361 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.8651, allocations: 1.176 MB / 0.9372 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.866, allocations: 0.5981 MB / 0.9378 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.8666, allocations: 418.6 kB / 0.9382 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.8672, allocations: 453.9 kB / 0.9386 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.8673, allocations: 100 kB / 0.9387 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.8681, allocations: 371.7 kB / 0.9391 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.8684, allocations: 263.1 kB / 0.9393 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.8689, allocations: 0.4896 MB / 0.9398 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.8705, allocations: 1.379 MB / 0.9412 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8705, allocations: 0 / 0.9412 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8705, allocations: 1.125 kB / 0.9412 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.8706, allocations: 0 / 0.9412 GB, free: 9.676 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002203/0.8728, allocations: 1.298 MB / 0.9424 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8728, allocations: 8.031 kB / 0.9424 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/0.8737, allocations: 179.5 kB / 0.9426 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009482/0.8747, allocations: 0.6955 MB / 0.9433 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.8748, allocations: 61.98 kB / 0.9433 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.8749, allocations: 76 kB / 0.9434 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.8763, allocations: 0.852 MB / 0.9443 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.8763, allocations: 4 kB / 0.9443 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.8764, allocations: 36 kB / 0.9443 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.8764, allocations: 17.97 kB / 0.9443 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.8781, allocations: 1.065 MB / 0.9453 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.8818, allocations: 2.35 MB / 0.9476 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.8831, allocations: 0.7972 MB / 0.9484 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.8836, allocations: 285.6 kB / 0.9487 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.8837, allocations: 36.67 kB / 0.9487 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008196/0.8845, allocations: 423.2 kB / 0.9491 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 4.588e-06/0.8845, allocations: 3.984 kB / 0.9491 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003018/0.8876, allocations: 1.084 MB / 0.9502 GB, free: 156 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.8877, allocations: 188.6 kB / 0.9504 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.8885, allocations: 0.5617 MB / 0.9509 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.8886, allocations: 45.64 kB / 0.951 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.8889, allocations: 368.3 kB / 0.9513 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.8891, allocations: 244.5 kB / 0.9516 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.8894, allocations: 150.5 kB / 0.9517 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8896, allocations: 374.8 kB / 0.9521 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.8901, allocations: 237.9 kB / 0.9523 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.8906, allocations: 331.1 kB / 0.9526 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.8917, allocations: 0.5548 MB / 0.9531 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8917, allocations: 4 kB / 0.9531 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001861/0.8935, allocations: 0.7785 MB / 0.9539 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.8936, allocations: 8 kB / 0.9539 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.8936, allocations: 0 / 0.9539 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.8942, allocations: 84.86 kB / 0.954 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.8948, allocations: 147.8 kB / 0.9541 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.897, allocations: 1.626 MB / 0.9557 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.8977, allocations: 77.55 kB / 0.9558 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.8978, allocations: 39.97 kB / 0.9558 GB, free: 10.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0004718/0.8982, allocations: 250.7 kB / 0.9561 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.8984, allocations: 79.05 kB / 0.9561 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.9005, allocations: 0.9462 MB / 0.9571 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.9005, allocations: 8 kB / 0.9571 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9005, allocations: 4 kB / 0.9571 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.9005, allocations: 3.984 kB / 0.9571 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.9036, allocations: 1.858 MB / 0.9589 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9036, allocations: 0 / 0.9589 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.9042, allocations: 150 kB / 0.959 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/0.9046, allocations: 72.73 kB / 0.9591 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.9047, allocations: 19.98 kB / 0.9591 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.9067, allocations: 1.658 MB / 0.9608 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9067, allocations: 0 / 0.9608 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.9086, allocations: 0.9219 MB / 0.9617 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.909, allocations: 251.9 kB / 0.9619 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.9091, allocations: 27.78 kB / 0.9619 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.9096, allocations: 55.95 kB / 0.962 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.9098, allocations: 60.91 kB / 0.962 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.9099, allocations: 31.98 kB / 0.9621 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005376/0.9104, allocations: 427 kB / 0.9625 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9104, allocations: 0 / 0.9625 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008426/0.9113, allocations: 263.4 kB / 0.9627 GB, free: 2.805 MB / 0.7481 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.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.001373/0.9127, allocations: 0.5592 MB / 0.9633 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.915, allocations: 0.9505 MB / 0.9642 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.915, allocations: 0 / 0.9642 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009322/0.9159, allocations: 0.4964 MB / 0.9647 GB, free: 1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.9173, allocations: 271.5 kB / 0.9649 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.9212, allocations: 1.706 MB / 0.9666 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.9219, allocations: 0.9993 MB / 0.9676 GB, free: 14 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.9222, allocations: 107.4 kB / 0.9677 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/0.9222, allocations: 0 / 0.9677 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.02588/0.9481, allocations: 16.69 MB / 0.984 GB, free: 13.32 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1