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.001343/0.001343, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001663/0.001663, allocations: 187 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.18 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.06111/0.06111, allocations: 12.04 MB / 303.2 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005495/0.0005494, allocations: 31.94 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.935/1.935, allocations: 272.3 MB / 0.6657 GB, free: 18.41 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 115.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6099, allocations: 109.1 MB / 1 GB, free: 8.176 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.00302/0.613, allocations: 1.632 MB / 1.002 GB, free: 6.902 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.6139, allocations: 0.5427 MB / 1.002 GB, free: 6.469 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.6141, allocations: 6.406 kB / 1.002 GB, free: 6.465 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.6143, allocations: 27.16 kB / 1.002 GB, free: 6.441 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.6146, allocations: 67.52 kB / 1.002 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.6148, allocations: 64.12 kB / 1.002 GB, free: 6.344 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.6151, allocations: 133.4 kB / 1.003 GB, free: 6.266 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.6152, allocations: 50.39 kB / 1.003 GB, free: 6.238 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.6154, allocations: 61.2 kB / 1.003 GB, free: 6.199 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.6155, allocations: 62.75 kB / 1.003 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.6156, allocations: 9.062 kB / 1.003 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.6156, allocations: 23.25 kB / 1.003 GB, free: 6.148 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.6157, allocations: 44.14 kB / 1.003 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.6158, allocations: 60.5 kB / 1.003 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.616, allocations: 143.8 kB / 1.003 GB, free: 5.973 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6161, allocations: 3.938 kB / 1.003 GB, free: 5.969 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6161, allocations: 1.031 kB / 1.003 GB, free: 5.969 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6161, allocations: 0 / 1.003 GB, free: 5.969 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.0005915/0.6167, allocations: 469 kB / 1.003 GB, free: 5.516 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6167, allocations: 8.969 kB / 1.003 GB, free: 5.516 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.6168, allocations: 17.69 kB / 1.003 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.6171, allocations: 245.3 kB / 1.004 GB, free: 5.25 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6171, allocations: 2.688 kB / 1.004 GB, free: 5.25 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.6171, allocations: 7.688 kB / 1.004 GB, free: 5.246 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.6174, allocations: 112.8 kB / 1.004 GB, free: 5.172 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6174, allocations: 1.125 kB / 1.004 GB, free: 5.172 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.6175, allocations: 5.344 kB / 1.004 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6175, allocations: 1.375 kB / 1.004 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.6177, allocations: 58.97 kB / 1.004 GB, free: 5.145 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.6182, allocations: 388 kB / 1.004 GB, free: 4.773 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.6184, allocations: 45.05 kB / 1.004 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.6185, allocations: 29.98 kB / 1.004 GB, free: 4.715 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6185, allocations: 1.094 kB / 1.004 GB, free: 4.715 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.6187, allocations: 93.47 kB / 1.004 GB, free: 4.629 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.6187, allocations: 0 / 1.004 GB, free: 4.629 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0003979/0.6191, allocations: 127.7 kB / 1.004 GB, free: 4.547 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.6192, allocations: 78.2 kB / 1.005 GB, free: 4.453 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.6194, allocations: 257 kB / 1.005 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6194, allocations: 25.7 kB / 1.005 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.6195, allocations: 129.2 kB / 1.005 GB, free: 4.129 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.6195, allocations: 8.828 kB / 1.005 GB, free: 4.121 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.6196, allocations: 17.59 kB / 1.005 GB, free: 4.102 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.6196, allocations: 327.5 kB / 1.005 GB, free: 3.777 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6197, allocations: 24.75 kB / 1.005 GB, free: 3.766 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.6199, allocations: 51.75 kB / 1.005 GB, free: 3.719 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.6201, allocations: 68.19 kB / 1.005 GB, free: 3.672 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.6201, allocations: 4.031 kB / 1.005 GB, free: 3.668 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000245/0.6203, allocations: 102.2 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6203, allocations: 5.156 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6203, allocations: 1.906 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6204, allocations: 3.938 kB / 1.006 GB, free: 3.598 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6205, allocations: 16.02 kB / 1.006 GB, free: 3.59 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6205, allocations: 9.297 kB / 1.006 GB, free: 3.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.6206, allocations: 14.78 kB / 1.006 GB, free: 3.574 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6206, allocations: 9.047 kB / 1.006 GB, free: 3.566 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.826e-05/0.6207, allocations: 125.9 kB / 1.006 GB, free: 3.445 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.6207, allocations: 19.86 kB / 1.006 GB, free: 3.434 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.6208, allocations: 23.05 kB / 1.006 GB, free: 3.414 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6208, allocations: 3.938 kB / 1.006 GB, free: 3.41 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.6208, allocations: 1.125 kB / 1.006 GB, free: 3.41 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6208, allocations: 7.938 kB / 1.006 GB, free: 3.402 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6209, allocations: 216.1 kB / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6209, allocations: 0 / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.621, allocations: 11.42 kB / 1.006 GB, free: 3.164 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.621, allocations: 1 kB / 1.006 GB, free: 3.164 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.621, allocations: 0 / 1.006 GB, free: 3.164 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.621, allocations: 5.031 kB / 1.006 GB, free: 3.16 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.621, allocations: 0 / 1.006 GB, free: 3.16 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.6213, allocations: 124.5 kB / 1.006 GB, free: 3.059 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.6213, allocations: 92.78 kB / 1.006 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.6214, allocations: 1.25 kB / 1.006 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.6215, allocations: 14.02 kB / 1.006 GB, free: 2.945 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.6215, allocations: 1.281 kB / 1.006 GB, free: 2.945 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.6215, allocations: 8.969 kB / 1.006 GB, free: 2.941 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001417/0.6217, allocations: 187.1 kB / 1.006 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.133e-06/0.6217, allocations: 5.406 kB / 1.006 GB, free: 2.812 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.0002224/0.6219, allocations: 24.81 kB / 1.006 GB, free: 2.805 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.0002102/0.6221, allocations: 125.4 kB / 1.007 GB, free: 2.699 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.6224, allocations: 55.53 kB / 1.007 GB, free: 2.676 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6224, allocations: 1 kB / 1.007 GB, free: 2.676 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.6226, allocations: 32.62 kB / 1.007 GB, free: 2.66 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.6228, allocations: 47.78 kB / 1.007 GB, free: 2.641 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.6233, allocations: 311.5 kB / 1.007 GB, free: 2.398 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.6235, allocations: 0.7278 MB / 1.008 GB, free: 1.672 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.6235, allocations: 15.06 kB / 1.008 GB, free: 1.664 MB / 0.6857 GB Notification: Performance of SimCode: time 2.3e-07/0.6236, allocations: 0 / 1.008 GB, free: 1.664 MB / 0.6857 GB Notification: Performance of Templates: time 0.003859/0.6274, allocations: 2.146 MB / 1.01 GB, free: 0.5508 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:26:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:27:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:39:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = realloc(FileWriterNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:40:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = realloc(InstanceNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:45:40: error: assigning to 'char *' from incompatible type 'void *' FileWriterNames[FileWriterNames_n] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:46:38: error: assigning to 'char *' from incompatible type 'void *' InstanceNames[FileWriterNames_n] = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:58:24: error: assigning to 'char *' from incompatible type 'void *' ID->fileWriterName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterStructure.c:63:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:29:18: error: assigning to 'char **' from incompatible type 'void *' ID-> varKeys = malloc(numKeys * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:32:18: error: assigning to 'double *' from incompatible type 'void *' ID-> varVals = malloc(numKeys * sizeof(double)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:38:23: error: assigning to 'char *' from incompatible type 'void *' ID-> varKeys[i] = malloc((strlen(varKeys[i])+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:115:21: error: no matching function for call to 'jsonWriterInit' jsonWriter__ext = jsonWriterInit(instanceName_.c_str(), fileName_.c_str(), dumpAtDestruction__ext, varKeys_.getDim(1), varKeys__ext); ^~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/jsonWriterInit.c:13:7: note: candidate function not viable: no known conversion from 'CStrArray' to 'char **' for 5th argument void* jsonWriterInit( ^ 12 errors generated. make: *** [: OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1