Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 102.3 kB / 16.27 MB, free: 6.418 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.001407/0.001407, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.495/1.495, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.748/1.748, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.002029/0.00203, allocations: 74.88 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.283, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.629/0.9121, allocations: 7.563 MB / 0.7914 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2154/1.127, allocations: 151.8 MB / 0.9397 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/1.13, allocations: 27.88 kB / 0.9397 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/1.132, allocations: 0.6345 MB / 0.9403 GB, free: 10.64 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.003353/1.136, allocations: 0.6852 MB / 0.941 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/1.139, allocations: 1.089 MB / 0.9421 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003282/1.142, allocations: 2.047 MB / 0.9441 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/1.145, allocations: 1.883 MB / 0.9459 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/1.147, allocations: 0.8214 MB / 0.9467 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/1.148, allocations: 0.9141 MB / 0.9476 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/1.148, allocations: 208 kB / 0.9478 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/1.149, allocations: 0.6299 MB / 0.9484 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/1.15, allocations: 0.5219 MB / 0.9489 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008612/1.151, allocations: 0.9211 MB / 0.9498 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/1.154, allocations: 2.551 MB / 0.9523 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.154, allocations: 0 / 0.9523 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/1.154, allocations: 0 / 0.9523 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.81e-05/1.154, allocations: 8 kB / 0.9523 GB, free: 14.31 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004172/1.158, allocations: 2.068 MB / 0.9543 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.158, allocations: 8.031 kB / 0.9543 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006079/1.164, allocations: 0.8723 MB / 0.9552 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/1.166, allocations: 1.008 MB / 0.9562 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/1.167, allocations: 119.1 kB / 0.9563 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/1.167, allocations: 156 kB / 0.9564 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/1.172, allocations: 2.031 MB / 0.9584 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.172, allocations: 7.938 kB / 0.9584 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/1.172, allocations: 68 kB / 0.9585 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/1.172, allocations: 78.97 kB / 0.9586 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006293/1.179, allocations: 2.361 MB / 0.9609 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/1.191, allocations: 6.374 MB / 0.9671 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/1.196, allocations: 1.562 MB / 0.9686 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/1.197, allocations: 0.7354 MB / 0.9693 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/1.198, allocations: 490.5 kB / 0.9698 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/1.2, allocations: 0.9132 MB / 0.9707 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=128): time 3.026e-06/1.2, allocations: 0 / 0.9707 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of matching and sorting (n=128): time 0.006514/1.207, allocations: 2.16 MB / 0.9728 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/1.207, allocations: 307.7 kB / 0.9731 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.208, allocations: 0.836 MB / 0.9739 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.209, allocations: 49.7 kB / 0.974 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/1.209, allocations: 0.6284 MB / 0.9746 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/1.21, allocations: 429.7 kB / 0.975 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/1.21, allocations: 262.7 kB / 0.9752 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.211, allocations: 353.9 kB / 0.9756 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.212, allocations: 0.6149 MB / 0.9762 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.214, allocations: 0.7832 MB / 0.9769 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.218, allocations: 1.372 MB / 0.9783 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.218, allocations: 0 / 0.9783 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004483/1.223, allocations: 1.633 MB / 0.9799 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.223, allocations: 11.94 kB / 0.9799 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.223, allocations: 12.88 kB / 0.9799 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/1.223, allocations: 36.83 kB / 0.9799 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/1.225, allocations: 327.5 kB / 0.9802 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/1.226, allocations: 1.385 MB / 0.9816 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.228, allocations: 186.8 kB / 0.9818 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.228, allocations: 71.88 kB / 0.9818 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002587/1.231, allocations: 0.8812 MB / 0.9827 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002162/1.233, allocations: 0.7857 MB / 0.9835 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003805/1.237, allocations: 1.369 MB / 0.9848 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/1.237, allocations: 2.266 kB / 0.9848 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.004579/1.241, allocations: 1.628 MB / 0.9864 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.241, allocations: 8 kB / 0.9864 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.241, allocations: 4 kB / 0.9864 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.242, allocations: 8 kB / 0.9864 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.243, allocations: 335.9 kB / 0.9867 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/1.243, allocations: 11.94 kB / 0.9868 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.245, allocations: 181.8 kB / 0.9869 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.245, allocations: 63.94 kB / 0.987 GB, free: 9.777 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (156): * Single equations (assignments): 155 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006529/1.246, allocations: 261.6 kB / 0.9872 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/1.246, allocations: 118.5 kB / 0.9874 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/1.251, allocations: 1.798 MB / 0.9891 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.251, allocations: 16 kB / 0.9891 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.251, allocations: 11.38 kB / 0.9891 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.251, allocations: 11.97 kB / 0.9891 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/1.258, allocations: 3.632 MB / 0.9927 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.258, allocations: 4 kB / 0.9927 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.26, allocations: 299.7 kB / 0.993 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/1.26, allocations: 32.84 kB / 0.993 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-05/1.26, allocations: 39.95 kB / 0.993 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/1.261, allocations: 1.379 MB / 0.9944 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.261, allocations: 0 / 0.9944 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/1.266, allocations: 1.704 MB / 0.9961 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/1.267, allocations: 383.1 kB / 0.9964 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.267, allocations: 31.84 kB / 0.9965 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.268, allocations: 120.6 kB / 0.9966 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.268, allocations: 89.19 kB / 0.9967 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.268, allocations: 55.05 kB / 0.9967 GB, free: 15.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001025/1.27, allocations: 0.5983 MB / 0.9973 GB, free: 14.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.27, allocations: 0 / 0.9973 GB, free: 14.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002164/1.272, allocations: 0.7395 MB / 0.998 GB, free: 14.17 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (142): * Single equations (assignments): 139 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/1.273, allocations: 0.6004 MB / 0.9986 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008053/1.281, allocations: 2.787 MB / 1.001 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.281, allocations: 4 kB / 1.001 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.284, allocations: 0.9003 MB / 1.002 GB, free: 10.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.285, allocations: 365.3 kB / 1.003 GB, free: 9.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/1.292, allocations: 2.869 MB / 1.005 GB, free: 6.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.293, allocations: 1.257 MB / 1.007 GB, free: 5.555 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/1.293, allocations: 183.3 kB / 1.007 GB, free: 5.375 MB / 0.795 GB Notification: Performance of SimCode: time 7.22e-07/1.293, allocations: 0 / 1.007 GB, free: 5.375 MB / 0.795 GB Notification: Performance of Templates: time 0.04474/1.338, allocations: 28.59 MB / 1.035 GB, free: 8.941 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleFunctions.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.Electrical.DC.Sources.Examples.PVSimpleCalcHelperMain.o] Error 1