Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.00153/0.001531, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001763/0.001763, allocations: 187 kB / 17.34 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 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.05974/0.05974, allocations: 12.04 MB / 303.2 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005328/0.0005329, allocations: 27.95 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.573/1.573, allocations: 268.3 MB / 0.6617 GB, free: 2.578 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 107.8 kB / 0.888 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6474, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.002818/0.6503, allocations: 1.627 MB / 0.9954 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.6512, allocations: 0.5392 MB / 0.9959 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.6513, allocations: 11.84 kB / 0.9959 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.6515, allocations: 28.95 kB / 0.996 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.6518, allocations: 60.5 kB / 0.996 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.6519, allocations: 59.61 kB / 0.9961 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.6521, allocations: 137.1 kB / 0.9962 GB, free: 10 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.6523, allocations: 50.17 kB / 0.9963 GB, free: 9.973 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.6524, allocations: 61.64 kB / 0.9963 GB, free: 9.934 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.6525, allocations: 59.36 kB / 0.9964 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.6526, allocations: 8.594 kB / 0.9964 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.6526, allocations: 22.83 kB / 0.9964 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.6527, allocations: 44.59 kB / 0.9965 GB, free: 9.859 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.6528, allocations: 59.91 kB / 0.9965 GB, free: 9.812 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.653, allocations: 145 kB / 0.9966 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.653, allocations: 0 / 0.9966 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.212e-06/0.653, allocations: 0 / 0.9966 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.653, allocations: 0 / 0.9966 GB, free: 9.711 MB / 0.6857 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.0005749/0.6536, allocations: 465.8 kB / 0.9971 GB, free: 9.262 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6536, allocations: 12.89 kB / 0.9971 GB, free: 9.258 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.6537, allocations: 18.56 kB / 0.9971 GB, free: 9.25 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.654, allocations: 248.5 kB / 0.9974 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.654, allocations: 2.062 kB / 0.9974 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.654, allocations: 11.83 kB / 0.9974 GB, free: 8.98 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.6543, allocations: 113.8 kB / 0.9975 GB, free: 8.906 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6543, allocations: 0 / 0.9975 GB, free: 8.906 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6543, allocations: 5.375 kB / 0.9975 GB, free: 8.902 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6543, allocations: 1.156 kB / 0.9975 GB, free: 8.902 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.6546, allocations: 63.12 kB / 0.9975 GB, free: 8.875 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.6551, allocations: 388.6 kB / 0.9979 GB, free: 8.504 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.6552, allocations: 44.45 kB / 0.998 GB, free: 8.465 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.6553, allocations: 26 kB / 0.998 GB, free: 8.449 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.6553, allocations: 5.094 kB / 0.998 GB, free: 8.445 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.6556, allocations: 97.7 kB / 0.9981 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6556, allocations: 0 / 0.9981 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.00042/0.656, allocations: 128.5 kB / 0.9982 GB, free: 8.273 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.656, allocations: 77.11 kB / 0.9983 GB, free: 8.18 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.6563, allocations: 257.3 kB / 0.9985 GB, free: 8.008 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6563, allocations: 25.7 kB / 0.9985 GB, free: 7.977 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.6564, allocations: 129.6 kB / 0.9987 GB, free: 7.855 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.6564, allocations: 5.094 kB / 0.9987 GB, free: 7.852 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.6564, allocations: 16.83 kB / 0.9987 GB, free: 7.832 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.6565, allocations: 331.8 kB / 0.999 GB, free: 7.504 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6566, allocations: 24.72 kB / 0.999 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.6567, allocations: 51.03 kB / 0.9991 GB, free: 7.445 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.6569, allocations: 72.72 kB / 0.9992 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6569, allocations: 0 / 0.9992 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002451/0.6572, allocations: 101.8 kB / 0.9992 GB, free: 7.328 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6572, allocations: 7.938 kB / 0.9993 GB, free: 7.328 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6572, allocations: 3.938 kB / 0.9993 GB, free: 7.324 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6572, allocations: 6.062 kB / 0.9993 GB, free: 7.32 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6573, allocations: 11.39 kB / 0.9993 GB, free: 7.316 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6574, allocations: 5.344 kB / 0.9993 GB, free: 7.312 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.6575, allocations: 18.42 kB / 0.9993 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6575, allocations: 2.25 kB / 0.9993 GB, free: 7.301 MB / 0.6857 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 7.953e-05/0.6576, allocations: 128.4 kB / 0.9994 GB, free: 7.176 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.6576, allocations: 16.25 kB / 0.9994 GB, free: 7.168 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.6576, allocations: 18.39 kB / 0.9995 GB, free: 7.152 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6576, allocations: 5.406 kB / 0.9995 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6576, allocations: 0 / 0.9995 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6576, allocations: 8.219 kB / 0.9995 GB, free: 7.141 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6578, allocations: 216.2 kB / 0.9997 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6578, allocations: 0 / 0.9997 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.6579, allocations: 10.95 kB / 0.9997 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6579, allocations: 1.188 kB / 0.9997 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.6579, allocations: 3.984 kB / 0.9997 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6579, allocations: 4.969 kB / 0.9997 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6579, allocations: 0 / 0.9997 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.6582, allocations: 129 kB / 0.9998 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.6582, allocations: 88.61 kB / 0.9999 GB, free: 6.688 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.6582, allocations: 1.219 kB / 0.9999 GB, free: 6.688 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.6583, allocations: 13.48 kB / 0.9999 GB, free: 6.68 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.6584, allocations: 6.547 kB / 0.9999 GB, free: 6.676 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.6584, allocations: 7.406 kB / 0.9999 GB, free: 6.672 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001377/0.6585, allocations: 192.8 kB / 1 GB, free: 6.547 MB / 0.6857 GB Notification: Performance of sort global known variables: time 8.91e-07/0.6585, allocations: 4 kB / 1 GB, free: 6.543 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.0002204/0.6588, allocations: 24.78 kB / 1 GB, free: 6.535 MB / 0.6857 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.0002125/0.659, allocations: 115.4 kB / 1 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.6593, allocations: 55.66 kB / 1 GB, free: 6.414 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6593, allocations: 1.031 kB / 1 GB, free: 6.414 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.6594, allocations: 28.2 kB / 1 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.6597, allocations: 62.2 kB / 1 GB, free: 6.371 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.6602, allocations: 304.8 kB / 1.001 GB, free: 6.133 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.6604, allocations: 0.7256 MB / 1.001 GB, free: 5.41 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.6605, allocations: 14.44 kB / 1.001 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of SimCode: time 2.71e-07/0.6605, allocations: 0 / 1.001 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of Templates: time 0.004122/0.6646, allocations: 2.127 MB / 1.003 GB, free: 4.297 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f AixLib_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.3.2/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.3.2/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppAixLib_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppAixLib_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Resources/C-Sources/jsonWriterInit.c:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppAixLib_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.3.2/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_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1