Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtain.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.Airflow.AirCurtain.Examples.AirCurtain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=672,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtain") translateModel(AixLib.Airflow.AirCurtain.Examples.AirCurtain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=672,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 92.16 kB / 16.02 MB, free: 80 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.001752/0.001752, allocations: 175 kB / 16.92 MB, free: 6.652 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.618/1.618, allocations: 223.3 MB / 241 MB, free: 5.285 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.2119/0.2119, allocations: 12.03 MB / 304.1 MB, free: 1.645 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007927/0.0007928, allocations: 31.41 kB / 358.2 MB, free: 3.055 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 2.402/2.402, allocations: 270.9 MB / 0.6672 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005171, allocations: 20.45 kB / 0.7887 GB, free: 31.55 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 111 MB / 0.8971 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.AirCurtain.Examples.AirCurtain): time 0.004769/0.2152, allocations: 4.157 MB / 0.9012 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6225/0.8377, allocations: 146.6 MB / 1.044 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.8389, allocations: 19.25 kB / 1.044 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.8395, allocations: 134 kB / 1.045 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.8411, allocations: 411.5 kB / 1.045 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.8431, allocations: 0.6491 MB / 1.046 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.8445, allocations: 1.134 MB / 1.047 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008866/0.8454, allocations: 0.5821 MB / 1.047 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.8461, allocations: 307.5 kB / 1.048 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008153/0.8469, allocations: 348.8 kB / 1.048 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.847, allocations: 29.88 kB / 1.048 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.8478, allocations: 301.4 kB / 1.048 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.848, allocations: 179.9 kB / 1.048 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.8486, allocations: 433.6 kB / 1.049 GB, free: 21.35 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.85, allocations: 1.051 MB / 1.05 GB, free: 21.26 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.85, allocations: 0 / 1.05 GB, free: 21.26 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.335e-06/0.85, allocations: 0 / 1.05 GB, free: 21.26 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.8501, allocations: 4.875 kB / 1.05 GB, free: 21.26 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002112/0.8522, allocations: 1.189 MB / 1.051 GB, free: 20.52 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8522, allocations: 10.16 kB / 1.051 GB, free: 20.52 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.8525, allocations: 120.9 kB / 1.051 GB, free: 20.46 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.8535, allocations: 0.7172 MB / 1.052 GB, free: 20.15 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.8536, allocations: 91.31 kB / 1.052 GB, free: 20.12 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.8537, allocations: 83.73 kB / 1.052 GB, free: 20.11 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.8553, allocations: 0.8846 MB / 1.053 GB, free: 19.94 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.8553, allocations: 6.031 kB / 1.053 GB, free: 19.94 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.8554, allocations: 33.06 kB / 1.053 GB, free: 19.94 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.8554, allocations: 20.78 kB / 1.053 GB, free: 19.94 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.8572, allocations: 1.116 MB / 1.054 GB, free: 19.93 MB / 0.7482 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.003698/0.8609, allocations: 2.669 MB / 1.057 GB, free: 18.9 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.8621, allocations: 0.7142 MB / 1.057 GB, free: 18.86 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.8626, allocations: 280.8 kB / 1.058 GB, free: 18.85 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.8627, allocations: 25.16 kB / 1.058 GB, free: 18.85 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/0.8634, allocations: 403.4 kB / 1.058 GB, free: 18.78 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=72): time 2.905e-06/0.8634, allocations: 0 / 1.058 GB, free: 18.78 MB / 0.7482 GB Notification: Performance of matching and sorting (n=72): time 0.001768/0.8652, allocations: 0.8923 MB / 1.059 GB, free: 18.69 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.8653, allocations: 194.4 kB / 1.059 GB, free: 18.47 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.8663, allocations: 0.6455 MB / 1.06 GB, free: 18.34 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.8663, allocations: 39.38 kB / 1.06 GB, free: 18.3 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.8666, allocations: 391.4 kB / 1.06 GB, free: 18.12 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.8668, allocations: 240.1 kB / 1.06 GB, free: 17.98 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.8669, allocations: 65.81 kB / 1.06 GB, free: 17.96 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.867, allocations: 388.3 kB / 1.061 GB, free: 17.65 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.8676, allocations: 253.4 kB / 1.061 GB, free: 17.64 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.8682, allocations: 357 kB / 1.061 GB, free: 17.59 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.8724, allocations: 1.382 MB / 1.063 GB, free: 17.38 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8724, allocations: 5.031 kB / 1.063 GB, free: 17.37 MB / 0.7482 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001619/0.874, allocations: 0.7953 MB / 1.063 GB, free: 17.24 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.8741, allocations: 35.3 kB / 1.063 GB, free: 17.21 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8741, allocations: 1.188 kB / 1.063 GB, free: 17.21 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.8742, allocations: 4.469 kB / 1.063 GB, free: 17.21 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.8748, allocations: 164.2 kB / 1.064 GB, free: 17.21 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.8749, allocations: 4.125 kB / 1.064 GB, free: 17.21 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.8755, allocations: 101.2 kB / 1.064 GB, free: 17.18 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.8756, allocations: 35.8 kB / 1.064 GB, free: 17.18 MB / 0.7482 GB Warning: Assuming fixed start value for the following 1 variables: airload.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = airload.T0 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.always final = true ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * 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.0005894/0.8762, allocations: 269.5 kB / 1.064 GB, free: 17.05 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.8764, allocations: 85.47 kB / 1.064 GB, free: 17.01 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8782, allocations: 0.891 MB / 1.065 GB, free: 16.9 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.8782, allocations: 8.094 kB / 1.065 GB, free: 16.9 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8782, allocations: 0 / 1.065 GB, free: 16.9 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8782, allocations: 5.797 kB / 1.065 GB, free: 16.9 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.8793, allocations: 0.8105 MB / 1.066 GB, free: 16.69 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8793, allocations: 0.6562 kB / 1.066 GB, free: 16.69 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.8799, allocations: 156.4 kB / 1.066 GB, free: 16.68 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.88, allocations: 2.75 kB / 1.066 GB, free: 16.68 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.88, allocations: 26.25 kB / 1.066 GB, free: 16.68 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.88, allocations: 2.875 kB / 1.066 GB, free: 16.68 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.88, allocations: 0 / 1.066 GB, free: 16.68 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.8824, allocations: 1.129 MB / 1.067 GB, free: 16.53 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.8828, allocations: 275 kB / 1.067 GB, free: 16.38 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8829, allocations: 17.3 kB / 1.067 GB, free: 16.38 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.8835, allocations: 77.78 kB / 1.067 GB, free: 16.37 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.8836, allocations: 68.98 kB / 1.067 GB, free: 16.37 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.8837, allocations: 29.56 kB / 1.067 GB, free: 16.37 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0006388/0.8843, allocations: 457.6 kB / 1.068 GB, free: 16.28 MB / 0.7482 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8844, allocations: 1.031 kB / 1.068 GB, free: 16.28 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.0009932/0.8854, allocations: 287.3 kB / 1.068 GB, free: 16.23 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (airload.T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,pulse.T_start,pulse.count) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002178/0.8875, allocations: 0.6102 MB / 1.069 GB, free: 16 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.8891, allocations: 0.7061 MB / 1.069 GB, free: 15.91 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8891, allocations: 0.9375 kB / 1.069 GB, free: 15.91 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/0.8897, allocations: 349 kB / 1.07 GB, free: 15.91 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.8911, allocations: 269.6 kB / 1.07 GB, free: 15.89 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.894, allocations: 2.102 MB / 1.072 GB, free: 14.79 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.8946, allocations: 0.9995 MB / 1.073 GB, free: 14.08 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.8949, allocations: 111.2 kB / 1.073 GB, free: 14.07 MB / 0.7482 GB Notification: Performance of SimCode: time 7.41e-07/0.8949, allocations: 0 / 1.073 GB, free: 14.07 MB / 0.7482 GB Notification: Performance of Templates: time 0.02039/0.9153, allocations: 13.74 MB / 1.087 GB, free: 10.66 MB / 0.7482 GB make -j1 -f AixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtain.makefile make -j1 -f AixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtain.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-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.Airflow.AirCurtain.Examples.AirCurtainCalcHelperMain.o OMCppAixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtainCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtainCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtainFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Airflow.AirCurtain.Examples.AirCurtainCalcHelperMain.o] Error 1