Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter") translateModel(AixLib.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.0009959, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1833/0.1833, allocations: 12.04 MB / 304.1 MB, free: 1.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002001/0.0002002, allocations: 11.98 kB / 358.2 MB, free: 3.129 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.858/1.858, allocations: 270.9 MB / 0.6672 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004997, allocations: 13.88 kB / 0.7887 GB, free: 31.53 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1973, allocations: 111 MB / 0.8971 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.CSVWriter): time 0.00254/0.1998, allocations: 1.323 MB / 0.8984 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2013, allocations: 0.6158 MB / 0.899 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.2014, allocations: 4 kB / 0.899 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.2016, allocations: 15.86 kB / 0.899 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2019, allocations: 35.83 kB / 0.8991 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.2024, allocations: 103.8 kB / 0.8992 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.2027, allocations: 159.6 kB / 0.8993 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2029, allocations: 33.09 kB / 0.8993 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.2031, allocations: 75.75 kB / 0.8994 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2033, allocations: 75.72 kB / 0.8995 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.2034, allocations: 4 kB / 0.8995 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.2035, allocations: 24 kB / 0.8995 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2036, allocations: 27.91 kB / 0.8995 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2037, allocations: 89.36 kB / 0.8996 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.204, allocations: 115.7 kB / 0.8997 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.204, allocations: 4 kB / 0.8997 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.204, allocations: 0 / 0.8997 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.204, allocations: 0 / 0.8997 GB, free: 9.762 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007879/0.2048, allocations: 0.5328 MB / 0.9003 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2049, allocations: 12.59 kB / 0.9003 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.2049, allocations: 16.84 kB / 0.9003 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.2053, allocations: 228.7 kB / 0.9005 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2053, allocations: 8.375 kB / 0.9005 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.2054, allocations: 12.38 kB / 0.9005 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.2058, allocations: 125.7 kB / 0.9007 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2058, allocations: 0 / 0.9007 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2058, allocations: 0 / 0.9007 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2059, allocations: 8 kB / 0.9007 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.2062, allocations: 75.94 kB / 0.9007 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.2071, allocations: 428.5 kB / 0.9011 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2073, allocations: 86.53 kB / 0.9012 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.2076, allocations: 80.81 kB / 0.9013 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2076, allocations: 4 kB / 0.9013 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.208, allocations: 174.7 kB / 0.9015 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.888e-06/0.208, allocations: 3.984 kB / 0.9015 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.001011/0.209, allocations: 376.9 kB / 0.9018 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2091, allocations: 166.2 kB / 0.902 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.2094, allocations: 179.4 kB / 0.9022 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2094, allocations: 29.7 kB / 0.9022 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2095, allocations: 112.3 kB / 0.9023 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.2096, allocations: 27.59 kB / 0.9023 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.2097, allocations: 25.7 kB / 0.9023 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2098, allocations: 330.8 kB / 0.9027 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.21, allocations: 51.97 kB / 0.9027 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2103, allocations: 106.8 kB / 0.9028 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.2108, allocations: 320.9 kB / 0.9031 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2108, allocations: 0 / 0.9031 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007675/0.2116, allocations: 360.1 kB / 0.9035 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.2117, allocations: 118.8 kB / 0.9036 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2117, allocations: 0 / 0.9036 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.2117, allocations: 4 kB / 0.9036 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2119, allocations: 24.17 kB / 0.9036 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2119, allocations: 8 kB / 0.9036 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.212, allocations: 19.98 kB / 0.9036 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.2121, allocations: 8 kB / 0.9036 GB, free: 5.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.2123, allocations: 205 kB / 0.9038 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2124, allocations: 15.81 kB / 0.9038 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.2124, allocations: 17.39 kB / 0.9039 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2125, allocations: 0 / 0.9039 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2125, allocations: 4 kB / 0.9039 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2125, allocations: 0 / 0.9039 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.2135, allocations: 0.5914 MB / 0.9044 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2135, allocations: 0 / 0.9044 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.2136, allocations: 15.98 kB / 0.9045 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2136, allocations: 4 kB / 0.9045 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.2136, allocations: 11.98 kB / 0.9045 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2136, allocations: 0 / 0.9045 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2136, allocations: 3.938 kB / 0.9045 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.2144, allocations: 410.9 kB / 0.9049 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.2145, allocations: 88.92 kB / 0.905 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.2146, allocations: 4 kB / 0.905 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2147, allocations: 15.92 kB / 0.905 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.2148, allocations: 19.91 kB / 0.905 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2148, allocations: 8 kB / 0.905 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001447/0.215, allocations: 132.8 kB / 0.9051 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.215, allocations: 0 / 0.9051 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004531/0.2155, allocations: 36 kB / 0.9052 GB, free: 3.633 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.000302/0.2158, allocations: 120.1 kB / 0.9053 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006506/0.2164, allocations: 373.6 kB / 0.9056 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2165, allocations: 0 / 0.9056 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.2168, allocations: 214.7 kB / 0.9058 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.2173, allocations: 15.98 kB / 0.9059 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.2181, allocations: 364.2 kB / 0.9062 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.2185, allocations: 0.7083 MB / 0.9069 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.2186, allocations: 23.42 kB / 0.9069 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2186, allocations: 0 / 0.9069 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of Templates: time 0.005812/0.2244, allocations: 2.148 MB / 0.909 GB, free: 15.58 MB / 0.6232 GB make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f AixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriter.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Resources/C-Sources/fileWriterInit.c:12: /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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 errors generated. make: *** [: OMCppAixLib_latest_AixLib.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1