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.001318/0.001318, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.2154/0.2154, allocations: 12.03 MB / 304.1 MB, free: 1.707 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002071/0.0002073, allocations: 19.91 kB / 358.2 MB, free: 3.102 MB / 286.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 1.885/1.885, allocations: 270.9 MB / 0.6672 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004886, allocations: 16.38 kB / 0.7887 GB, free: 31.39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 111 MB / 0.8971 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.001991/0.2008, allocations: 1.358 MB / 0.8984 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.2016, allocations: 0.5184 MB / 0.8989 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.2017, allocations: 7.875 kB / 0.899 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2019, allocations: 31.84 kB / 0.899 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.2021, allocations: 58.56 kB / 0.899 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.2023, allocations: 59.81 kB / 0.8991 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2024, allocations: 127.5 kB / 0.8992 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2026, allocations: 49.69 kB / 0.8993 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2027, allocations: 47.78 kB / 0.8993 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.2028, allocations: 43.77 kB / 0.8994 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.2028, allocations: 4 kB / 0.8994 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.2029, allocations: 23.92 kB / 0.8994 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.203, allocations: 35.84 kB / 0.8994 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.203, allocations: 77.31 kB / 0.8995 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2032, allocations: 103.7 kB / 0.8996 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2032, allocations: 4 kB / 0.8996 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2032, allocations: 0 / 0.8996 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2032, allocations: 0 / 0.8996 GB, free: 9.879 MB / 0.6075 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.0005652/0.2038, allocations: 446.8 kB / 0.9 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2038, allocations: 12.59 kB / 0.9 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.2039, allocations: 16.75 kB / 0.9 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2041, allocations: 240.7 kB / 0.9003 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2042, allocations: 12.31 kB / 0.9003 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2042, allocations: 4.375 kB / 0.9003 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.2045, allocations: 114 kB / 0.9004 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2045, allocations: 0 / 0.9004 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2045, allocations: 4 kB / 0.9004 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2045, allocations: 8 kB / 0.9004 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.2048, allocations: 75.88 kB / 0.9005 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.2053, allocations: 384.6 kB / 0.9008 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.2055, allocations: 50.48 kB / 0.9009 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2056, allocations: 36.89 kB / 0.9009 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.2057, allocations: 0 / 0.9009 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.2059, allocations: 113 kB / 0.901 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2059, allocations: 0 / 0.901 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004578/0.2064, allocations: 145.3 kB / 0.9012 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.2064, allocations: 77.11 kB / 0.9013 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.2067, allocations: 256.9 kB / 0.9015 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2067, allocations: 29.7 kB / 0.9015 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.2068, allocations: 132 kB / 0.9016 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2068, allocations: 7.906 kB / 0.9017 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.2069, allocations: 9.719 kB / 0.9017 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.207, allocations: 330.8 kB / 0.902 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2071, allocations: 31.97 kB / 0.902 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2073, allocations: 63.58 kB / 0.9021 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2075, allocations: 82.5 kB / 0.9022 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2075, allocations: 0 / 0.9022 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002874/0.2078, allocations: 121.4 kB / 0.9023 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2078, allocations: 4 kB / 0.9023 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2078, allocations: 4 kB / 0.9023 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2078, allocations: 7.922 kB / 0.9023 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.208, allocations: 20.08 kB / 0.9023 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.208, allocations: 0 / 0.9023 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.2081, allocations: 19.92 kB / 0.9023 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2081, allocations: 0 / 0.9023 GB, free: 6.82 MB / 0.6075 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.0001047/0.2082, allocations: 133.8 kB / 0.9024 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.2082, allocations: 23.66 kB / 0.9025 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.2083, allocations: 13.25 kB / 0.9025 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2083, allocations: 7.938 kB / 0.9025 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2083, allocations: 0 / 0.9025 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2083, allocations: 4 kB / 0.9025 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.2085, allocations: 221.6 kB / 0.9027 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2085, allocations: 0 / 0.9027 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.2086, allocations: 15.98 kB / 0.9027 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2086, allocations: 0 / 0.9027 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2086, allocations: 0 / 0.9027 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2086, allocations: 3.938 kB / 0.9027 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2086, allocations: 4 kB / 0.9027 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2089, allocations: 140.9 kB / 0.9029 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.209, allocations: 92.91 kB / 0.903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.209, allocations: 0 / 0.903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2091, allocations: 19.92 kB / 0.903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2091, allocations: 11.92 kB / 0.903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2092, allocations: 4 kB / 0.903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001585/0.2093, allocations: 188.5 kB / 0.9032 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2093, allocations: 0 / 0.9032 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002296/0.2096, allocations: 24 kB / 0.9032 GB, free: 5.84 MB / 0.6075 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.0002411/0.2098, allocations: 122 kB / 0.9033 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.2101, allocations: 67.95 kB / 0.9034 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2101, allocations: 0 / 0.9034 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2103, allocations: 44.09 kB / 0.9034 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.2106, allocations: 32.41 kB / 0.9034 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.2111, allocations: 367.9 kB / 0.9038 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2115, allocations: 0.7314 MB / 0.9045 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2115, allocations: 11.44 kB / 0.9045 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2115, allocations: 0 / 0.9045 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.004219/0.2158, allocations: 2.089 MB / 0.9066 GB, free: 2.336 MB / 0.6075 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++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/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