Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001754/0.001754, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.908/1.908, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.00143/0.001431, allocations: 75.88 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.3786/0.6075, allocations: 4.138 MB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.7862, allocations: 150.2 MB / 0.9355 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.7872, allocations: 15.94 kB / 0.9355 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.7878, allocations: 162.5 kB / 0.9357 GB, free: 15.46 MB / 0.7325 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.001673/0.7895, allocations: 420.3 kB / 0.9361 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.7916, allocations: 0.7765 MB / 0.9368 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.7929, allocations: 1.164 MB / 0.938 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.7937, allocations: 0.6046 MB / 0.9386 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.7944, allocations: 430.5 kB / 0.939 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.7949, allocations: 438.1 kB / 0.9394 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.795, allocations: 104 kB / 0.9395 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000792/0.7958, allocations: 399.6 kB / 0.9399 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.7961, allocations: 271.2 kB / 0.9401 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.7965, allocations: 497.3 kB / 0.9406 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.7981, allocations: 1.429 MB / 0.942 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7981, allocations: 0 / 0.942 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7981, allocations: 4 kB / 0.942 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.7981, allocations: 0 / 0.942 GB, free: 8.977 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002075/0.8002, allocations: 1.29 MB / 0.9433 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8002, allocations: 12.88 kB / 0.9433 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8013, allocations: 195.5 kB / 0.9435 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.8025, allocations: 0.7228 MB / 0.9442 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.8025, allocations: 61.94 kB / 0.9442 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.8026, allocations: 76 kB / 0.9443 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.804, allocations: 0.8606 MB / 0.9452 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.8041, allocations: 3.984 kB / 0.9452 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.8042, allocations: 39.94 kB / 0.9452 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.8042, allocations: 21.12 kB / 0.9452 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.8059, allocations: 1.073 MB / 0.9463 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.8094, allocations: 2.363 MB / 0.9486 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.8116, allocations: 0.8085 MB / 0.9494 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.8121, allocations: 290.7 kB / 0.9496 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.479e-05/0.8122, allocations: 32.67 kB / 0.9497 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/0.813, allocations: 451.1 kB / 0.9501 GB, free: 488 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.8131, allocations: 4 kB / 0.9501 GB, free: 484 kB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002955/0.816, allocations: 1.113 MB / 0.9512 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8161, allocations: 196.6 kB / 0.9514 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.8169, allocations: 0.5616 MB / 0.9519 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.8169, allocations: 41.7 kB / 0.952 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.8172, allocations: 364.2 kB / 0.9523 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.8174, allocations: 240.5 kB / 0.9525 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.8176, allocations: 150.5 kB / 0.9527 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8178, allocations: 378.8 kB / 0.953 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.8183, allocations: 253.9 kB / 0.9533 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.8189, allocations: 339.1 kB / 0.9536 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.82, allocations: 0.5838 MB / 0.9542 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.82, allocations: 3.938 kB / 0.9542 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00185/0.8218, allocations: 0.8136 MB / 0.955 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8219, allocations: 4 kB / 0.955 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8219, allocations: 4.094 kB / 0.955 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.8225, allocations: 76.78 kB / 0.9551 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.8231, allocations: 157.2 kB / 0.9552 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.8252, allocations: 1.639 MB / 0.9568 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.8259, allocations: 82.08 kB / 0.9569 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.826, allocations: 39.97 kB / 0.9569 GB, free: 9.184 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.0004303/0.8264, allocations: 253.6 kB / 0.9572 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8266, allocations: 71.16 kB / 0.9572 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.8287, allocations: 0.9569 MB / 0.9582 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8287, allocations: 11.94 kB / 0.9582 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8287, allocations: 4 kB / 0.9582 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.8288, allocations: 5.109 kB / 0.9582 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.8297, allocations: 0.8488 MB / 0.959 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.8297, allocations: 0 / 0.959 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.8303, allocations: 147.8 kB / 0.9592 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.8308, allocations: 81.95 kB / 0.9592 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.8308, allocations: 19.98 kB / 0.9593 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.8327, allocations: 1.665 MB / 0.9609 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8327, allocations: 3.938 kB / 0.9609 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.8345, allocations: 0.8689 MB / 0.9617 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.8348, allocations: 259.8 kB / 0.962 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.8349, allocations: 16 kB / 0.962 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.8355, allocations: 56.44 kB / 0.9621 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8356, allocations: 61.94 kB / 0.9621 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.8357, allocations: 34.36 kB / 0.9621 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004832/0.8362, allocations: 415.1 kB / 0.9625 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.814e-06/0.8362, allocations: 4 kB / 0.9625 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007518/0.8369, allocations: 271.2 kB / 0.9628 GB, free: 2.914 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001282/0.8382, allocations: 0.5738 MB / 0.9634 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.8399, allocations: 0.7865 MB / 0.9641 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.8399, allocations: 4 kB / 0.9641 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.8408, allocations: 0.4887 MB / 0.9646 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.8419, allocations: 287.6 kB / 0.9649 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.8456, allocations: 1.686 MB / 0.9665 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.8461, allocations: 0.9954 MB / 0.9675 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.8464, allocations: 111.4 kB / 0.9676 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/0.8464, allocations: 0 / 0.9676 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of Templates: time 0.0216/0.868, allocations: 16.95 MB / 0.9842 GB, free: 13.35 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassFunctions.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1