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.00503/0.005034, allocations: 101.5 kB / 15.88 MB, free: 6.332 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.001175/0.001175, allocations: 195.3 kB / 16.79 MB, free: 6.258 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.1699/0.1699, allocations: 12.02 MB / 302.6 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005467/0.0005469, allocations: 23.92 kB / 355.7 MB, free: 4.02 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.958/1.958, allocations: 272.2 MB / 0.665 GB, free: 13.12 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 109.7 kB / 0.7848 GB, free: 31.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2226, allocations: 109.2 MB / 0.8914 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.002977/0.2257, allocations: 1.702 MB / 0.893 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.2265, allocations: 0.53 MB / 0.8936 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.2266, allocations: 4 kB / 0.8936 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.2268, allocations: 23.86 kB / 0.8936 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.2271, allocations: 55.75 kB / 0.8936 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2272, allocations: 63.92 kB / 0.8937 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2274, allocations: 119.6 kB / 0.8938 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.2276, allocations: 49.69 kB / 0.8939 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2277, allocations: 51.77 kB / 0.8939 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2278, allocations: 67.62 kB / 0.894 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.2278, allocations: 8 kB / 0.894 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.2279, allocations: 20 kB / 0.894 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.228, allocations: 43.88 kB / 0.894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.2281, allocations: 55.55 kB / 0.8941 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2282, allocations: 91.84 kB / 0.8942 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2282, allocations: 8 kB / 0.8942 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2282, allocations: 0 / 0.8942 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2283, allocations: 0 / 0.8942 GB, free: 9.926 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.0006152/0.2289, allocations: 466.6 kB / 0.8946 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2289, allocations: 12.53 kB / 0.8946 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.229, allocations: 20.69 kB / 0.8947 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.2292, allocations: 232.8 kB / 0.8949 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2292, allocations: 8.375 kB / 0.8949 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.2293, allocations: 4.375 kB / 0.8949 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2295, allocations: 125.1 kB / 0.895 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2296, allocations: 4 kB / 0.895 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2296, allocations: 4 kB / 0.895 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2296, allocations: 0 / 0.895 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2298, allocations: 63.94 kB / 0.8951 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.2304, allocations: 384.5 kB / 0.8955 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2305, allocations: 42.55 kB / 0.8955 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2306, allocations: 20.91 kB / 0.8955 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2307, allocations: 4 kB / 0.8955 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.231, allocations: 105 kB / 0.8956 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.231, allocations: 3.984 kB / 0.8956 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004281/0.2314, allocations: 117.4 kB / 0.8957 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2315, allocations: 81.11 kB / 0.8958 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2317, allocations: 260.9 kB / 0.8961 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2318, allocations: 29.7 kB / 0.8961 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.2319, allocations: 124 kB / 0.8962 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2319, allocations: 3.906 kB / 0.8962 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2319, allocations: 21.7 kB / 0.8962 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.232, allocations: 326.8 kB / 0.8965 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.2322, allocations: 19.97 kB / 0.8966 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.2323, allocations: 59.34 kB / 0.8966 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2325, allocations: 62.53 kB / 0.8967 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2325, allocations: 7.969 kB / 0.8967 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002706/0.2328, allocations: 101.4 kB / 0.8968 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2328, allocations: 4 kB / 0.8968 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2328, allocations: 4 kB / 0.8968 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2328, allocations: 3.938 kB / 0.8968 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.233, allocations: 15.92 kB / 0.8968 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.233, allocations: 4.094 kB / 0.8968 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.2331, allocations: 19.83 kB / 0.8968 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2331, allocations: 4 kB / 0.8968 GB, free: 6.961 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.0001067/0.2332, allocations: 125.8 kB / 0.897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2332, allocations: 15.81 kB / 0.897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2333, allocations: 21.23 kB / 0.897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2333, allocations: 7.938 kB / 0.897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2333, allocations: 0 / 0.897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2333, allocations: 4 kB / 0.897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2335, allocations: 213.5 kB / 0.8972 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2335, allocations: 3.984 kB / 0.8972 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.2336, allocations: 11.98 kB / 0.8972 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2336, allocations: 0 / 0.8972 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.2336, allocations: 0 / 0.8972 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2336, allocations: 7.938 kB / 0.8972 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2336, allocations: 0 / 0.8972 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2339, allocations: 124.8 kB / 0.8974 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.2339, allocations: 88.92 kB / 0.8974 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.234, allocations: 0 / 0.8974 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.2341, allocations: 19.92 kB / 0.8975 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.2341, allocations: 7.984 kB / 0.8975 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.2342, allocations: 4 kB / 0.8975 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001701/0.2343, allocations: 188.5 kB / 0.8976 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2343, allocations: 4 kB / 0.8976 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000219/0.2346, allocations: 23.91 kB / 0.8977 GB, free: 6.016 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.0002597/0.2348, allocations: 116.6 kB / 0.8978 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.2351, allocations: 67.8 kB / 0.8978 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2351, allocations: 4 kB / 0.8979 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2353, allocations: 23.98 kB / 0.8979 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2356, allocations: 37.48 kB / 0.8979 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.2363, allocations: 355.8 kB / 0.8982 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.2367, allocations: 0.7236 MB / 0.899 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.2367, allocations: 15.44 kB / 0.899 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2367, allocations: 0 / 0.899 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.004275/0.241, allocations: 2.108 MB / 0.901 GB, free: 2.527 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