Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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/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) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.604/1.604, allocations: 265 MB / 272.3 MB, free: 8.797 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 181.2 kB / 329.7 MB, free: 364 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 0.5941 GB, free: 14.47 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008816, allocations: 96.56 kB / 0.6993 GB, free: 2.598 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04785/0.04785, allocations: 11.9 MB / 0.816 GB, free: 65.52 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004389/0.000439, allocations: 16.75 kB / 0.924 GB, free: 86.98 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2272/0.2276, allocations: 117.8 MB / 1.039 GB, free: 9.109 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.476, allocations: 110.2 MB / 1.147 GB, free: 10.79 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.737, allocations: 434.6 MB / 1.571 GB, free: 316.5 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.737, allocations: 93.45 kB / 1.571 GB, free: 316.5 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 1.471/3.209, allocations: 0.536 GB / 2.107 GB, free: 163.7 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/3.209, allocations: 9.469 kB / 2.107 GB, free: 163.7 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/3.209, allocations: 166.2 kB / 2.107 GB, free: 163.6 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/3.234, allocations: 10.28 MB / 2.117 GB, free: 154 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/3.235, allocations: 24 kB / 2.117 GB, free: 154 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/3.235, allocations: 54.66 kB / 2.117 GB, free: 154 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00114/3.236, allocations: 0.5662 MB / 2.118 GB, free: 153.4 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/3.237, allocations: 0.8109 MB / 2.119 GB, free: 152.5 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/3.237, allocations: 0 / 2.119 GB, free: 152.5 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/3.237, allocations: 4 kB / 2.119 GB, free: 152.5 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/3.237, allocations: 31.53 kB / 2.119 GB, free: 152.5 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/3.242, allocations: 5.171 MB / 2.124 GB, free: 147 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/3.242, allocations: 286.5 kB / 2.124 GB, free: 146.8 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/3.243, allocations: 225.5 kB / 2.124 GB, free: 146.5 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/3.244, allocations: 1.602 MB / 2.126 GB, free: 144.6 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/3.244, allocations: 39 kB / 2.126 GB, free: 144.5 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=54): time 2.394e-06/3.244, allocations: 0 / 2.126 GB, free: 144.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=54): time 0.002143/3.246, allocations: 0.7018 MB / 2.127 GB, free: 143.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/3.246, allocations: 59.84 kB / 2.127 GB, free: 143.8 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/3.247, allocations: 0.7618 MB / 2.127 GB, free: 143 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/3.247, allocations: 25.7 kB / 2.127 GB, free: 143 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/3.247, allocations: 422.8 kB / 2.128 GB, free: 142.6 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/3.247, allocations: 185.2 kB / 2.128 GB, free: 142.4 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/3.247, allocations: 3.188 kB / 2.128 GB, free: 142.4 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/3.247, allocations: 334 kB / 2.128 GB, free: 142 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/3.248, allocations: 173.5 kB / 2.129 GB, free: 141.9 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/3.248, allocations: 390.4 kB / 2.129 GB, free: 141.4 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/3.249, allocations: 374.2 kB / 2.129 GB, free: 141 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/3.249, allocations: 7.938 kB / 2.129 GB, free: 141 MB / 0.9324 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002064/3.251, allocations: 0.8562 MB / 2.13 GB, free: 140.2 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003947/3.251, allocations: 2.181 MB / 2.132 GB, free: 137.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/3.251, allocations: 4 kB / 2.132 GB, free: 137.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/3.252, allocations: 88.64 kB / 2.132 GB, free: 137.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/3.252, allocations: 138.7 kB / 2.132 GB, free: 137.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003978/3.253, allocations: 0.6069 MB / 2.133 GB, free: 137 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/3.254, allocations: 101.9 kB / 2.133 GB, free: 136.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/3.254, allocations: 39.98 kB / 2.133 GB, free: 136.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/3.254, allocations: 4 kB / 2.133 GB, free: 136.9 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001847/3.255, allocations: 0.7297 MB / 2.134 GB, free: 136.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/3.256, allocations: 8 kB / 2.134 GB, free: 136.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/3.256, allocations: 76.72 kB / 2.134 GB, free: 136.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/3.256, allocations: 147 kB / 2.134 GB, free: 135.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/3.257, allocations: 0.6109 MB / 2.135 GB, free: 135.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/3.257, allocations: 81.17 kB / 2.135 GB, free: 135.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/3.257, allocations: 35.98 kB / 2.135 GB, free: 135.2 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/3.258, allocations: 135.3 kB / 2.135 GB, free: 135 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/3.258, allocations: 110.1 kB / 2.135 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/3.26, allocations: 1.175 MB / 2.136 GB, free: 133.8 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/3.26, allocations: 11.98 kB / 2.136 GB, free: 133.8 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/3.26, allocations: 3.5 kB / 2.136 GB, free: 133.8 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/3.262, allocations: 0.8215 MB / 2.137 GB, free: 132.9 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/3.265, allocations: 1.964 MB / 2.139 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/3.265, allocations: 0 / 2.139 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/3.266, allocations: 114.4 kB / 2.139 GB, free: 130.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/3.266, allocations: 44.84 kB / 2.139 GB, free: 130.8 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/3.266, allocations: 15.98 kB / 2.139 GB, free: 130.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000326/3.266, allocations: 0.6031 MB / 2.14 GB, free: 130.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/3.266, allocations: 0 / 2.14 GB, free: 130.1 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002106/3.268, allocations: 1.381 MB / 2.141 GB, free: 128.7 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002703/3.271, allocations: 2.168 MB / 2.143 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/3.272, allocations: 299.3 kB / 2.143 GB, free: 126.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/3.272, allocations: 7.172 kB / 2.143 GB, free: 126.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/3.273, allocations: 74.8 kB / 2.144 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/3.273, allocations: 47.98 kB / 2.144 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/3.273, allocations: 35.97 kB / 2.144 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0008436/3.274, allocations: 0.5774 MB / 2.144 GB, free: 125.5 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.004381/3.278, allocations: 0.9671 MB / 2.145 GB, free: 124.5 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/3.28, allocations: 0.8062 MB / 2.146 GB, free: 123.8 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001518/3.281, allocations: 1.031 MB / 2.147 GB, free: 122.8 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/3.281, allocations: 0 / 2.147 GB, free: 122.8 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/3.282, allocations: 406.5 kB / 2.147 GB, free: 122.4 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/3.284, allocations: 486 kB / 2.148 GB, free: 121.9 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/3.287, allocations: 1.635 MB / 2.149 GB, free: 120.3 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/3.288, allocations: 1.294 MB / 2.151 GB, free: 118.9 MB / 0.9324 GB Notification: Performance of SimCode: time 1.472e-06/3.288, allocations: 0 / 2.151 GB, free: 118.9 MB / 0.9324 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_latest_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:6: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:43: warning: missing terminating '"' character [-Winvalid-pp-token] fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:10: error: use of undeclared identifier 'dp_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:21: error: use of undeclared identifier 'dpStraightPipe_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:496:43: warning: missing terminating '"' character [-Winvalid-pp-token] to the heat capacity of the pipe wall" ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:34: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] which improve performances, but reduces dynamic accuracy." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:37: error: expected ';' after top level declarator which improve performances, but reduces dynamic accuracy." ^ ; AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:63: warning: missing terminating '"' character [-Winvalid-pp-token] which improve performances, but reduces dynamic accuracy." ^ In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:568: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:567:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:568: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:567:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ 9 warnings and 3 errors generated. make: *** [: AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_latest_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.def AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.a AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.so AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o AixLib_latest_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o