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.001262/0.001262, allocations: 106.9 kB / 16.27 MB, free: 6.355 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.001269/0.001269, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.05819/0.05819, allocations: 12.05 MB / 303.1 MB, free: 3.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000548/0.0005479, allocations: 31.88 kB / 356.2 MB, free: 14.07 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.085/2.085, allocations: 272.3 MB / 0.6655 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002212, allocations: 112.6 kB / 0.7856 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2379, allocations: 109.2 MB / 0.8922 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.CSVWriter): time 0.003821/0.2417, allocations: 1.6 MB / 0.8938 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.243, allocations: 0.6234 MB / 0.8944 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2432, allocations: 4 kB / 0.8944 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.2434, allocations: 23.78 kB / 0.8944 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.2437, allocations: 43.77 kB / 0.8945 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.2442, allocations: 103.8 kB / 0.8946 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.2446, allocations: 199.6 kB / 0.8948 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2447, allocations: 25.39 kB / 0.8948 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.2449, allocations: 91.73 kB / 0.8949 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2451, allocations: 83.72 kB / 0.895 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2452, allocations: 16 kB / 0.895 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.2453, allocations: 27.94 kB / 0.895 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2454, allocations: 35.91 kB / 0.895 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2455, allocations: 67.72 kB / 0.8951 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.2458, allocations: 167.4 kB / 0.8953 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2458, allocations: 0 / 0.8953 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2458, allocations: 0 / 0.8953 GB, free: 13.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2458, allocations: 0 / 0.8953 GB, free: 13.25 MB / 0.67 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.0008458/0.2467, allocations: 0.5562 MB / 0.8958 GB, free: 12.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2467, allocations: 8.031 kB / 0.8958 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.2468, allocations: 16.84 kB / 0.8958 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2472, allocations: 242.1 kB / 0.8961 GB, free: 12.33 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2472, allocations: 8.375 kB / 0.8961 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.2473, allocations: 12.38 kB / 0.8961 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2476, allocations: 113.7 kB / 0.8962 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2476, allocations: 0 / 0.8962 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2476, allocations: 4 kB / 0.8962 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2476, allocations: 0 / 0.8962 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.2479, allocations: 75.94 kB / 0.8963 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.2486, allocations: 412.5 kB / 0.8967 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2488, allocations: 90.52 kB / 0.8967 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.249, allocations: 84.84 kB / 0.8968 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.249, allocations: 0 / 0.8968 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.2493, allocations: 178.7 kB / 0.897 GB, free: 11.28 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.2493, allocations: 0 / 0.897 GB, free: 11.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007623/0.2501, allocations: 352.9 kB / 0.8973 GB, free: 10.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2502, allocations: 174.2 kB / 0.8975 GB, free: 10.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2504, allocations: 177.2 kB / 0.8977 GB, free: 10.53 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2504, allocations: 33.7 kB / 0.8977 GB, free: 10.49 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.2505, allocations: 112.3 kB / 0.8978 GB, free: 10.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2506, allocations: 23.66 kB / 0.8978 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.2506, allocations: 41.7 kB / 0.8979 GB, free: 10.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2508, allocations: 330.8 kB / 0.8982 GB, free: 9.969 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2509, allocations: 51.97 kB / 0.8982 GB, free: 9.918 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2511, allocations: 102.8 kB / 0.8983 GB, free: 9.793 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.2515, allocations: 312.9 kB / 0.8986 GB, free: 9.426 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2515, allocations: 0 / 0.8986 GB, free: 9.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005684/0.2521, allocations: 352 kB / 0.899 GB, free: 9.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/0.2522, allocations: 122.8 kB / 0.8991 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2522, allocations: 0 / 0.8991 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2523, allocations: 4 kB / 0.8991 GB, free: 8.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2524, allocations: 15.98 kB / 0.8991 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2524, allocations: 7.938 kB / 0.8991 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2525, allocations: 12.25 kB / 0.8991 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2526, allocations: 12 kB / 0.8991 GB, free: 8.855 MB / 0.67 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.0001798/0.2527, allocations: 201.1 kB / 0.8993 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.2528, allocations: 15.81 kB / 0.8993 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.2528, allocations: 17.41 kB / 0.8994 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2528, allocations: 0 / 0.8994 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2528, allocations: 0 / 0.8994 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2529, allocations: 0 / 0.8994 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007963/0.2537, allocations: 0.5956 MB / 0.8999 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2537, allocations: 0 / 0.8999 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.2537, allocations: 19.86 kB / 0.9 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2538, allocations: 0 / 0.9 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2538, allocations: 8 kB / 0.9 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2538, allocations: 0 / 0.9 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2538, allocations: 3.938 kB / 0.9 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.2544, allocations: 398.7 kB / 0.9003 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.2544, allocations: 92.91 kB / 0.9004 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2545, allocations: 4 kB / 0.9004 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2546, allocations: 15.94 kB / 0.9005 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.2547, allocations: 11.86 kB / 0.9005 GB, free: 7.355 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2547, allocations: 8 kB / 0.9005 GB, free: 7.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001125/0.2548, allocations: 135.5 kB / 0.9006 GB, free: 7.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2548, allocations: 4 kB / 0.9006 GB, free: 7.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003346/0.2552, allocations: 32 kB / 0.9006 GB, free: 7.18 MB / 0.67 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.0002723/0.2555, allocations: 125.2 kB / 0.9008 GB, free: 7.055 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.256, allocations: 373.4 kB / 0.9011 GB, free: 6.641 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.256, allocations: 0 / 0.9011 GB, free: 6.641 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.2563, allocations: 202.8 kB / 0.9013 GB, free: 6.418 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2566, allocations: 23.94 kB / 0.9013 GB, free: 6.395 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.2573, allocations: 326.1 kB / 0.9016 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2577, allocations: 0.7117 MB / 0.9023 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2577, allocations: 19.44 kB / 0.9024 GB, free: 5.281 MB / 0.67 GB Notification: Performance of SimCode: time 2.11e-07/0.2577, allocations: 0 / 0.9024 GB, free: 5.281 MB / 0.67 GB Notification: Performance of Templates: time 0.005001/0.2627, allocations: 2.16 MB / 0.9045 GB, free: 3.148 MB / 0.67 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++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.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