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.001013/0.001013, allocations: 106.6 kB / 16.41 MB, free: 6 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.0009685/0.0009684, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.34/1.34, 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.05769/0.05769, allocations: 12.05 MB / 303.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005019/0.0005019, allocations: 31.94 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.529/1.529, allocations: 268.3 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 115.8 kB / 0.888 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6551/0.6573, 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.003107/0.6604, allocations: 1.643 MB / 0.9954 GB, free: 10.63 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.6612, allocations: 0.5506 MB / 0.9959 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.6613, allocations: 3.094 kB / 0.9959 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.6615, allocations: 22.05 kB / 0.996 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.6618, allocations: 68.27 kB / 0.996 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.6619, allocations: 62.66 kB / 0.9961 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.6621, allocations: 139 kB / 0.9962 GB, free: 9.992 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.6623, allocations: 44.8 kB / 0.9963 GB, free: 9.969 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.6624, allocations: 54.06 kB / 0.9963 GB, free: 9.938 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.6625, allocations: 66.88 kB / 0.9964 GB, free: 9.891 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.6626, allocations: 7.969 kB / 0.9964 GB, free: 9.891 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.6626, allocations: 27.78 kB / 0.9964 GB, free: 9.879 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.6627, allocations: 40.05 kB / 0.9965 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.6628, allocations: 57.3 kB / 0.9965 GB, free: 9.812 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.663, allocations: 150.4 kB / 0.9967 GB, free: 9.707 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.663, allocations: 1.062 kB / 0.9967 GB, free: 9.707 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.743e-06/0.663, allocations: 0 / 0.9967 GB, free: 9.707 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6631, allocations: 0 / 0.9967 GB, free: 9.707 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.0006242/0.6637, allocations: 477.9 kB / 0.9971 GB, free: 9.242 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6637, allocations: 9.188 kB / 0.9971 GB, free: 9.242 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.6638, allocations: 17.72 kB / 0.9971 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.6641, allocations: 245 kB / 0.9974 GB, free: 8.977 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6641, allocations: 6.844 kB / 0.9974 GB, free: 8.973 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.6642, allocations: 3.938 kB / 0.9974 GB, free: 8.973 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.6645, allocations: 113.6 kB / 0.9975 GB, free: 8.898 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6645, allocations: 0 / 0.9975 GB, free: 8.898 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.6645, allocations: 5.125 kB / 0.9975 GB, free: 8.895 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6645, allocations: 6.172 kB / 0.9975 GB, free: 8.891 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.6647, allocations: 62.44 kB / 0.9976 GB, free: 8.863 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.6653, allocations: 380.2 kB / 0.9979 GB, free: 8.5 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6654, allocations: 40.95 kB / 0.998 GB, free: 8.465 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.6655, allocations: 26.23 kB / 0.998 GB, free: 8.449 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.6655, allocations: 5 kB / 0.998 GB, free: 8.445 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.6657, allocations: 98.06 kB / 0.9981 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6657, allocations: 0 / 0.9981 GB, free: 8.355 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0004159/0.6662, allocations: 120.3 kB / 0.9982 GB, free: 8.281 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.6662, allocations: 78.23 kB / 0.9983 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.6665, allocations: 271.7 kB / 0.9985 GB, free: 8 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.6665, allocations: 26.7 kB / 0.9986 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.6665, allocations: 129 kB / 0.9987 GB, free: 7.848 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.6666, allocations: 9.219 kB / 0.9987 GB, free: 7.84 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.6666, allocations: 17.69 kB / 0.9987 GB, free: 7.82 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.6667, allocations: 330.3 kB / 0.999 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.6668, allocations: 22.38 kB / 0.999 GB, free: 7.484 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6669, allocations: 50.78 kB / 0.9991 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.6671, allocations: 71.31 kB / 0.9992 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6671, allocations: 0 / 0.9992 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002601/0.6674, allocations: 102.4 kB / 0.9993 GB, free: 7.32 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6674, allocations: 9.875 kB / 0.9993 GB, free: 7.316 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6674, allocations: 0 / 0.9993 GB, free: 7.316 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6674, allocations: 5.938 kB / 0.9993 GB, free: 7.312 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.6675, allocations: 11.02 kB / 0.9993 GB, free: 7.309 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6675, allocations: 9.266 kB / 0.9993 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.6676, allocations: 11.94 kB / 0.9993 GB, free: 7.297 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6677, allocations: 5.297 kB / 0.9993 GB, free: 7.293 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.519e-05/0.6677, allocations: 127.6 kB / 0.9994 GB, free: 7.168 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.6678, allocations: 24.81 kB / 0.9995 GB, free: 7.152 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.6678, allocations: 14.53 kB / 0.9995 GB, free: 7.141 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6678, allocations: 5.875 kB / 0.9995 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6678, allocations: 0 / 0.9995 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6678, allocations: 4 kB / 0.9995 GB, free: 7.133 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.6679, allocations: 219.7 kB / 0.9997 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.668, allocations: 0 / 0.9997 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.668, allocations: 11.48 kB / 0.9997 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.668, allocations: 0.875 kB / 0.9997 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.6681, allocations: 3.938 kB / 0.9997 GB, free: 6.887 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6681, allocations: 9.203 kB / 0.9997 GB, free: 6.879 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6681, allocations: 0 / 0.9997 GB, free: 6.879 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.6683, allocations: 120.5 kB / 0.9998 GB, free: 6.781 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.6684, allocations: 101.5 kB / 0.9999 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.6684, allocations: 0 / 0.9999 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.6685, allocations: 14.33 kB / 0.9999 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.6685, allocations: 6.625 kB / 0.9999 GB, free: 6.656 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6686, allocations: 4 kB / 0.9999 GB, free: 6.656 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001389/0.6687, allocations: 188 kB / 1 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6687, allocations: 4 kB / 1 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.0002081/0.6689, allocations: 22 kB / 1 GB, free: 6.527 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.0001899/0.6691, allocations: 119.4 kB / 1 GB, free: 6.426 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.6694, allocations: 62.97 kB / 1 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6694, allocations: 0 / 1 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.6695, allocations: 33.25 kB / 1 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.6698, allocations: 38.91 kB / 1 GB, free: 6.363 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.6703, allocations: 317.1 kB / 1.001 GB, free: 6.113 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.6704, allocations: 0.7211 MB / 1.001 GB, free: 5.395 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.6705, allocations: 14.12 kB / 1.001 GB, free: 5.387 MB / 0.6857 GB Notification: Performance of SimCode: time 2.3e-07/0.6705, allocations: 0 / 1.001 GB, free: 5.387 MB / 0.6857 GB Notification: Performance of Templates: time 0.003631/0.6741, allocations: 2.126 MB / 1.003 GB, free: 4.281 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