Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.00111/0.00111, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05536/0.05536, allocations: 12.05 MB / 303.1 MB, free: 3.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006006/0.0006006, allocations: 23.95 kB / 356.2 MB, free: 14.08 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 2.08/2.08, allocations: 272.3 MB / 0.6655 GB, free: 18.35 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002335, allocations: 115.8 kB / 0.7856 GB, free: 13.58 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2402, allocations: 109.2 MB / 0.8922 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.003668/0.2439, allocations: 1.643 MB / 0.8938 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.245, allocations: 0.5417 MB / 0.8944 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2451, allocations: 0 / 0.8944 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2453, allocations: 27.73 kB / 0.8944 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.2457, allocations: 59.73 kB / 0.8945 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2459, allocations: 71.84 kB / 0.8945 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.2462, allocations: 127.6 kB / 0.8947 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.2463, allocations: 49.69 kB / 0.8947 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2465, allocations: 59.77 kB / 0.8948 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2466, allocations: 55.7 kB / 0.8948 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.2467, allocations: 8 kB / 0.8948 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.2468, allocations: 31.91 kB / 0.8948 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2469, allocations: 39.91 kB / 0.8949 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.247, allocations: 67.53 kB / 0.8949 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.2472, allocations: 139.5 kB / 0.8951 GB, free: 13.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2472, allocations: 0 / 0.8951 GB, free: 13.41 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2472, allocations: 4 kB / 0.8951 GB, free: 13.4 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2472, allocations: 4 kB / 0.8951 GB, free: 13.4 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007255/0.248, allocations: 458.6 kB / 0.8955 GB, free: 12.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.248, allocations: 12.03 kB / 0.8955 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.2481, allocations: 20.75 kB / 0.8956 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2483, allocations: 236.8 kB / 0.8958 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2484, allocations: 4.375 kB / 0.8958 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2484, allocations: 4.375 kB / 0.8958 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.2487, allocations: 121.9 kB / 0.8959 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2487, allocations: 0 / 0.8959 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2487, allocations: 0 / 0.8959 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2487, allocations: 0 / 0.8959 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.249, allocations: 67.19 kB / 0.896 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.2496, allocations: 388.5 kB / 0.8963 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2498, allocations: 42.55 kB / 0.8964 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2499, allocations: 28.91 kB / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2499, allocations: 0 / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.2503, allocations: 105 kB / 0.8965 GB, free: 11.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2503, allocations: 0 / 0.8965 GB, free: 11.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0004824/0.2508, allocations: 121.3 kB / 0.8966 GB, free: 11.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2508, allocations: 81.11 kB / 0.8967 GB, free: 11.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.2511, allocations: 264.9 kB / 0.897 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2512, allocations: 25.7 kB / 0.897 GB, free: 11.26 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.2513, allocations: 128 kB / 0.8971 GB, free: 11.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2513, allocations: 7.906 kB / 0.8971 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.2513, allocations: 17.7 kB / 0.8971 GB, free: 11.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2515, allocations: 326.8 kB / 0.8974 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2516, allocations: 27.97 kB / 0.8975 GB, free: 10.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2517, allocations: 51.34 kB / 0.8975 GB, free: 10.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.252, allocations: 66.56 kB / 0.8976 GB, free: 10.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.252, allocations: 0 / 0.8976 GB, free: 10.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003055/0.2523, allocations: 101.4 kB / 0.8977 GB, free: 10.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2523, allocations: 4 kB / 0.8977 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2523, allocations: 0 / 0.8977 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2524, allocations: 11.88 kB / 0.8977 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2525, allocations: 16.08 kB / 0.8977 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2525, allocations: 3.938 kB / 0.8977 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2526, allocations: 23.83 kB / 0.8977 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2526, allocations: 0 / 0.8977 GB, free: 10.44 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.2527, allocations: 125.8 kB / 0.8979 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.2528, allocations: 15.81 kB / 0.8979 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.2528, allocations: 21.23 kB / 0.8979 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2528, allocations: 3.938 kB / 0.8979 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2528, allocations: 8 kB / 0.8979 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2529, allocations: 0 / 0.8979 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.253, allocations: 213.6 kB / 0.8981 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2531, allocations: 0 / 0.8981 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2531, allocations: 11.98 kB / 0.8981 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2532, allocations: 0 / 0.8981 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2532, allocations: 0 / 0.8981 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2532, allocations: 7.938 kB / 0.8981 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2532, allocations: 4 kB / 0.8981 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2535, allocations: 124.8 kB / 0.8982 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2536, allocations: 84.92 kB / 0.8983 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2536, allocations: 4 kB / 0.8983 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.2537, allocations: 15.92 kB / 0.8983 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2538, allocations: 7.984 kB / 0.8984 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.2538, allocations: 4 kB / 0.8984 GB, free: 9.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001868/0.254, allocations: 196.5 kB / 0.8985 GB, free: 9.512 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 0 / 0.8985 GB, free: 9.512 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002238/0.2542, allocations: 19.91 kB / 0.8986 GB, free: 9.492 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.2545, allocations: 118.4 kB / 0.8987 GB, free: 9.367 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.2548, allocations: 63.88 kB / 0.8987 GB, free: 9.305 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2548, allocations: 0 / 0.8987 GB, free: 9.305 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2549, allocations: 27.97 kB / 0.8988 GB, free: 9.277 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2552, allocations: 43.56 kB / 0.8988 GB, free: 9.238 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.2558, allocations: 326.1 kB / 0.8991 GB, free: 8.887 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2562, allocations: 0.7271 MB / 0.8998 GB, free: 8.133 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.2562, allocations: 19.44 kB / 0.8998 GB, free: 8.113 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2562, allocations: 0 / 0.8998 GB, free: 8.113 MB / 0.67 GB Notification: Performance of Templates: time 0.004686/0.2609, allocations: 2.104 MB / 0.9019 GB, free: 6.027 MB / 0.67 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.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/AixLib 1.4.0-development/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/AixLib 1.4.0-development/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:26:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:27:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:39:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = realloc(FileWriterNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:40:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = realloc(InstanceNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:45:40: error: assigning to 'char *' from incompatible type 'void *' FileWriterNames[FileWriterNames_n] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:46:38: error: assigning to 'char *' from incompatible type 'void *' InstanceNames[FileWriterNames_n] = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:58:24: error: assigning to 'char *' from incompatible type 'void *' ID->fileWriterName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:63:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:29:18: error: assigning to 'char **' from incompatible type 'void *' ID-> varKeys = malloc(numKeys * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:32:18: error: assigning to 'double *' from incompatible type 'void *' ID-> varVals = malloc(numKeys * sizeof(double)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:38:23: error: assigning to 'char *' from incompatible type 'void *' ID-> varKeys[i] = malloc((strlen(varKeys[i])+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:115:21: error: no matching function for call to 'jsonWriterInit' jsonWriter__ext = jsonWriterInit(instanceName_.c_str(), fileName_.c_str(), dumpAtDestruction__ext, varKeys_.getDim(1), varKeys__ext); ^~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:13:7: note: candidate function not viable: no known conversion from 'CStrArray' to 'char **' for 5th argument void* jsonWriterInit( ^ 12 errors generated. make: *** [: OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1