Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001157/0.001158, allocations: 189.8 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.0588/0.0588, allocations: 12.04 MB / 303.1 MB, free: 3.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000544/0.0005442, allocations: 27.95 kB / 356.2 MB, free: 14.07 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.517/1.517, allocations: 268.2 MB / 0.6616 GB, free: 2.66 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 125 kB / 0.7809 GB, free: 120 kB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.212, allocations: 108.4 MB / 0.8867 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5235/0.7356, allocations: 175.8 MB / 1.058 GB, free: 15.38 MB / 0.7482 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.7525, allocations: 12.64 MB / 1.071 GB, free: 2.707 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.7539, allocations: 31.81 kB / 1.071 GB, free: 2.676 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.7554, allocations: 440.7 kB / 1.071 GB, free: 2.242 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.7582, allocations: 0.9328 MB / 1.072 GB, free: 1.309 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.7629, allocations: 1.812 MB / 1.074 GB, free: 15.51 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.003175/0.7661, allocations: 2.268 MB / 1.076 GB, free: 13.24 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.7684, allocations: 1.594 MB / 1.078 GB, free: 11.6 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.772, allocations: 1.357 MB / 1.079 GB, free: 10.28 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.7732, allocations: 0.809 MB / 1.08 GB, free: 9.465 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.7734, allocations: 160 kB / 1.08 GB, free: 9.309 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.7763, allocations: 1.377 MB / 1.081 GB, free: 7.93 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.7768, allocations: 470.5 kB / 1.082 GB, free: 7.469 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.0009725/0.7777, allocations: 0.8007 MB / 1.082 GB, free: 6.664 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.7818, allocations: 2.582 MB / 1.085 GB, free: 4.074 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7818, allocations: 0 / 1.085 GB, free: 4.074 MB / 0.7638 GB Notification: Performance of FrontEnd: time 4.138e-06/0.7818, allocations: 3.984 kB / 1.085 GB, free: 4.07 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.7819, allocations: 0 / 1.085 GB, free: 4.07 MB / 0.7638 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003202/0.7851, allocations: 1.904 MB / 1.087 GB, free: 2.109 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7851, allocations: 8.031 kB / 1.087 GB, free: 2.102 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.7879, allocations: 405.6 kB / 1.087 GB, free: 1.703 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.7895, allocations: 0.9489 MB / 1.088 GB, free: 0.7109 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/0.7896, allocations: 98.62 kB / 1.088 GB, free: 0.6133 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.7898, allocations: 131.9 kB / 1.088 GB, free: 496 kB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.7924, allocations: 1.456 MB / 1.09 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.7924, allocations: 7.938 kB / 1.09 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.7926, allocations: 56 kB / 1.09 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.7926, allocations: 36 kB / 1.09 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.7954, allocations: 1.536 MB / 1.091 GB, free: 13.3 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00701/0.8024, allocations: 4.915 MB / 1.096 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.8051, allocations: 1.426 MB / 1.098 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.806, allocations: 449.8 kB / 1.098 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/0.8068, allocations: 429.3 kB / 1.098 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.808, allocations: 0.6216 MB / 1.099 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=98): time 2.966e-06/0.808, allocations: 7.938 kB / 1.099 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=98): time 0.004277/0.8123, allocations: 1.528 MB / 1.101 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.8124, allocations: 192.9 kB / 1.101 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.8136, allocations: 0.862 MB / 1.102 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/0.8137, allocations: 41.7 kB / 1.102 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.8141, allocations: 0.5701 MB / 1.102 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.8144, allocations: 331.2 kB / 1.102 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.8147, allocations: 198.4 kB / 1.103 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8148, allocations: 345.9 kB / 1.103 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.8156, allocations: 365.8 kB / 1.103 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.8165, allocations: 0.5365 MB / 1.104 GB, free: 15.94 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.8182, allocations: 0.8941 MB / 1.105 GB, free: 15 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8183, allocations: 0 / 1.105 GB, free: 15 MB / 0.795 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002783/0.8211, allocations: 1.153 MB / 1.106 GB, free: 13.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8211, allocations: 8 kB / 1.106 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8211, allocations: 3.938 kB / 1.106 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.8217, allocations: 85.19 kB / 1.106 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.8229, allocations: 243.6 kB / 1.106 GB, free: 13.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.825, allocations: 1.646 MB / 1.108 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.8261, allocations: 121.1 kB / 1.108 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/0.8262, allocations: 43.97 kB / 1.108 GB, free: 11.55 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006329/0.8268, allocations: 340.5 kB / 1.108 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.8271, allocations: 114.8 kB / 1.108 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.8304, allocations: 1.326 MB / 1.11 GB, free: 9.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.8304, allocations: 15.94 kB / 1.11 GB, free: 9.746 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8304, allocations: 3.984 kB / 1.11 GB, free: 9.742 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8304, allocations: 3.984 kB / 1.11 GB, free: 9.738 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.835, allocations: 2.693 MB / 1.112 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.8351, allocations: 4 kB / 1.112 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.8361, allocations: 211.8 kB / 1.113 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.8366, allocations: 72.78 kB / 1.113 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.8367, allocations: 31.98 kB / 1.113 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.8387, allocations: 1.681 MB / 1.114 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8387, allocations: 0 / 1.114 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.8414, allocations: 1.226 MB / 1.116 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.842, allocations: 331.3 kB / 1.116 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.8422, allocations: 24 kB / 1.116 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.843, allocations: 67.92 kB / 1.116 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.8432, allocations: 72.91 kB / 1.116 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.8433, allocations: 43.97 kB / 1.116 GB, free: 3.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008032/0.8441, allocations: 0.5941 MB / 1.117 GB, free: 2.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8441, allocations: 0 / 1.117 GB, free: 2.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001195/0.8453, allocations: 462.9 kB / 1.117 GB, free: 1.965 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/0.8469, allocations: 0.6979 MB / 1.118 GB, free: 1.484 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.8504, allocations: 1.359 MB / 1.119 GB, free: 116 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.8504, allocations: 3.75 kB / 1.119 GB, free: 112 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.8516, allocations: 0.6368 MB / 1.12 GB, free: 15.46 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.8539, allocations: 0.509 MB / 1.12 GB, free: 14.99 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.8592, allocations: 2.406 MB / 1.123 GB, free: 12.55 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.86, allocations: 1.174 MB / 1.124 GB, free: 11.34 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.8605, allocations: 151.4 kB / 1.124 GB, free: 11.2 MB / 0.8107 GB Notification: Performance of SimCode: time 6.21e-07/0.8605, allocations: 0 / 1.124 GB, free: 11.2 MB / 0.8107 GB Notification: Performance of Templates: time 0.03678/0.8973, allocations: 26.83 MB / 1.15 GB, free: 0.5391 MB / 0.8263 GB make -j1 -f AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f AixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherData.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppAixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp In file included from OMCppAixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppAixLib_AixLib.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1