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.001447/0.001447, allocations: 105.1 kB / 16.41 MB, free: 5.977 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.001458/0.001459, 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.08 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.05784/0.05784, allocations: 12.06 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005014/0.0005014, allocations: 19.92 kB / 356.3 MB, free: 13.95 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 2.075/2.075, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 111.8 kB / 0.8935 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6783, allocations: 109.1 MB / 1 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.002592/0.6809, allocations: 1.637 MB / 1.002 GB, free: 6.914 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.6817, allocations: 0.5466 MB / 1.002 GB, free: 6.477 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.6818, allocations: 6.094 kB / 1.002 GB, free: 6.473 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.682, allocations: 23.39 kB / 1.002 GB, free: 6.453 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.6823, allocations: 67.92 kB / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.6824, allocations: 67.28 kB / 1.002 GB, free: 6.352 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.6826, allocations: 129 kB / 1.003 GB, free: 6.277 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.6827, allocations: 50.2 kB / 1.003 GB, free: 6.25 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.6829, allocations: 57.5 kB / 1.003 GB, free: 6.215 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.683, allocations: 59.19 kB / 1.003 GB, free: 6.176 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.683, allocations: 12.75 kB / 1.003 GB, free: 6.172 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.6831, allocations: 23.78 kB / 1.003 GB, free: 6.164 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.6832, allocations: 51.69 kB / 1.003 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.6832, allocations: 56.08 kB / 1.003 GB, free: 6.086 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.6834, allocations: 139.8 kB / 1.003 GB, free: 5.988 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.6834, allocations: 5.359 kB / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6834, allocations: 0 / 1.003 GB, free: 5.984 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6834, allocations: 0 / 1.003 GB, free: 5.984 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.0005622/0.684, allocations: 469.3 kB / 1.003 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6841, allocations: 8.594 kB / 1.003 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.6841, allocations: 17.66 kB / 1.003 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.6844, allocations: 240.9 kB / 1.004 GB, free: 5.27 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.6844, allocations: 2.75 kB / 1.004 GB, free: 5.27 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.6844, allocations: 8.406 kB / 1.004 GB, free: 5.266 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.6847, allocations: 117.4 kB / 1.004 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6847, allocations: 3.984 kB / 1.004 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.6847, allocations: 9.125 kB / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6847, allocations: 1.125 kB / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.685, allocations: 59.53 kB / 1.004 GB, free: 5.152 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.6855, allocations: 388 kB / 1.004 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.6856, allocations: 41.2 kB / 1.004 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.6857, allocations: 29.64 kB / 1.004 GB, free: 4.727 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6857, allocations: 1.094 kB / 1.004 GB, free: 4.727 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.6859, allocations: 98.25 kB / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6859, allocations: 0 / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0004095/0.6864, allocations: 123.8 kB / 1.004 GB, free: 4.559 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.6864, allocations: 78.33 kB / 1.005 GB, free: 4.465 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.6866, allocations: 251.5 kB / 1.005 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.6866, allocations: 31.14 kB / 1.005 GB, free: 4.262 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.6867, allocations: 128.8 kB / 1.005 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.6867, allocations: 9.328 kB / 1.005 GB, free: 4.133 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.6868, allocations: 17.59 kB / 1.005 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.6868, allocations: 326.5 kB / 1.005 GB, free: 3.789 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.6869, allocations: 30.09 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.687, allocations: 54.16 kB / 1.005 GB, free: 3.723 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.6872, allocations: 64.03 kB / 1.005 GB, free: 3.68 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6872, allocations: 5.031 kB / 1.005 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002435/0.6875, allocations: 101.6 kB / 1.006 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6875, allocations: 5.781 kB / 1.006 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6875, allocations: 3.984 kB / 1.006 GB, free: 3.605 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6875, allocations: 5.125 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.6877, allocations: 16.08 kB / 1.006 GB, free: 3.594 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6877, allocations: 5.156 kB / 1.006 GB, free: 3.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.6878, allocations: 22.67 kB / 1.006 GB, free: 3.574 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6878, allocations: 2.344 kB / 1.006 GB, free: 3.574 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.915e-05/0.6879, allocations: 129 kB / 1.006 GB, free: 3.449 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.6879, allocations: 15.44 kB / 1.006 GB, free: 3.441 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.6879, allocations: 15.91 kB / 1.006 GB, free: 3.43 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6879, allocations: 3.938 kB / 1.006 GB, free: 3.426 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6879, allocations: 0 / 1.006 GB, free: 3.426 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.688, allocations: 5.422 kB / 1.006 GB, free: 3.422 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6881, allocations: 214.8 kB / 1.006 GB, free: 3.188 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6881, allocations: 1.125 kB / 1.006 GB, free: 3.188 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.6882, allocations: 11.67 kB / 1.006 GB, free: 3.184 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6882, allocations: 0 / 1.006 GB, free: 3.184 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6882, allocations: 0 / 1.006 GB, free: 3.184 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6882, allocations: 5.031 kB / 1.006 GB, free: 3.18 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6882, allocations: 0 / 1.006 GB, free: 3.18 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.6884, allocations: 132.8 kB / 1.006 GB, free: 3.07 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.6885, allocations: 92.53 kB / 1.006 GB, free: 2.965 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.6885, allocations: 1.312 kB / 1.006 GB, free: 2.965 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.6886, allocations: 17.64 kB / 1.006 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.6886, allocations: 2.594 kB / 1.006 GB, free: 2.953 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.6887, allocations: 8.344 kB / 1.006 GB, free: 2.949 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001695/0.6888, allocations: 187.6 kB / 1.006 GB, free: 2.824 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6889, allocations: 4 kB / 1.006 GB, free: 2.82 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.0002397/0.6891, allocations: 21.28 kB / 1.006 GB, free: 2.816 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.0002144/0.6893, allocations: 129.4 kB / 1.007 GB, free: 2.711 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.6896, allocations: 60.34 kB / 1.007 GB, free: 2.684 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6896, allocations: 0 / 1.007 GB, free: 2.684 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.6897, allocations: 28.06 kB / 1.007 GB, free: 2.672 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.69, allocations: 44.22 kB / 1.007 GB, free: 2.652 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.6905, allocations: 308.1 kB / 1.007 GB, free: 2.41 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.6907, allocations: 0.7293 MB / 1.008 GB, free: 1.684 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.6907, allocations: 14.25 kB / 1.008 GB, free: 1.676 MB / 0.6857 GB Notification: Performance of SimCode: time 2.5e-07/0.6907, allocations: 0 / 1.008 GB, free: 1.676 MB / 0.6857 GB Notification: Performance of Templates: time 0.003575/0.6943, allocations: 2.128 MB / 1.01 GB, free: 0.5742 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