Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="AixLib_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.677/1.677, allocations: 265 MB / 272.3 MB, free: 8.805 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.001199/0.001199, allocations: 185.2 kB / 329.7 MB, free: 368 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.403/1.403, allocations: 221.4 MB / 0.5941 GB, free: 14.51 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.0009492/0.0009491, allocations: 98.28 kB / 0.6993 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05023/0.05023, allocations: 11.89 MB / 0.816 GB, free: 65.58 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.0004034/0.0004034, allocations: 16.92 kB / 0.924 GB, free: 86.96 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.2461, allocations: 117.8 MB / 1.039 GB, free: 9.164 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.5064, allocations: 110.2 MB / 1.147 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.867, allocations: 434.6 MB / 1.571 GB, free: 317.3 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.868, allocations: 94.44 kB / 1.571 GB, free: 317.3 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.484/3.351, allocations: 0.536 GB / 2.107 GB, free: 163.8 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/3.351, allocations: 9.875 kB / 2.107 GB, free: 163.8 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/3.352, allocations: 160.7 kB / 2.107 GB, free: 163.7 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02634/3.378, allocations: 10.29 MB / 2.117 GB, free: 154.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/3.378, allocations: 31.12 kB / 2.117 GB, free: 154.5 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/3.379, allocations: 52 kB / 2.117 GB, free: 154.5 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001284/3.38, allocations: 0.574 MB / 2.118 GB, free: 153.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/3.381, allocations: 0.8007 MB / 2.119 GB, free: 153.1 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/3.381, allocations: 7.938 kB / 2.119 GB, free: 153 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/3.382, allocations: 0 / 2.119 GB, free: 153 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/3.382, allocations: 28 kB / 2.119 GB, free: 153 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/3.387, allocations: 5.172 MB / 2.124 GB, free: 147.6 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/3.387, allocations: 293.8 kB / 2.124 GB, free: 147.3 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/3.388, allocations: 224.9 kB / 2.124 GB, free: 147.1 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/3.389, allocations: 1.602 MB / 2.126 GB, free: 145.1 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/3.389, allocations: 42.72 kB / 2.126 GB, free: 145.1 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=54): time 2.034e-06/3.389, allocations: 0 / 2.126 GB, free: 145.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=54): time 0.002427/3.391, allocations: 0.7035 MB / 2.127 GB, free: 144.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/3.391, allocations: 55.84 kB / 2.127 GB, free: 144.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/3.392, allocations: 0.7618 MB / 2.127 GB, free: 143.5 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/3.392, allocations: 25.7 kB / 2.127 GB, free: 143.5 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/3.393, allocations: 426.2 kB / 2.128 GB, free: 143.1 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/3.393, allocations: 189.2 kB / 2.128 GB, free: 142.9 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/3.393, allocations: 0 / 2.128 GB, free: 142.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/3.393, allocations: 334 kB / 2.128 GB, free: 142.5 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/3.393, allocations: 181.5 kB / 2.129 GB, free: 142.4 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/3.394, allocations: 374 kB / 2.129 GB, free: 141.9 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/3.395, allocations: 377.9 kB / 2.129 GB, free: 141.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/3.395, allocations: 7 kB / 2.129 GB, free: 141.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002175/3.397, allocations: 0.8531 MB / 2.13 GB, free: 140.7 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003883/3.397, allocations: 2.175 MB / 2.132 GB, free: 138.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/3.397, allocations: 8 kB / 2.132 GB, free: 138.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/3.398, allocations: 83.92 kB / 2.132 GB, free: 138.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/3.398, allocations: 143.8 kB / 2.132 GB, free: 138.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/3.399, allocations: 0.6108 MB / 2.133 GB, free: 137.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/3.4, allocations: 105.2 kB / 2.133 GB, free: 137.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/3.4, allocations: 39.11 kB / 2.133 GB, free: 137.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/3.4, allocations: 4 kB / 2.133 GB, free: 137.4 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/3.402, allocations: 0.7336 MB / 2.134 GB, free: 136.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/3.402, allocations: 8 kB / 2.134 GB, free: 136.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/3.402, allocations: 79.78 kB / 2.134 GB, free: 136.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/3.403, allocations: 139.8 kB / 2.134 GB, free: 136.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003904/3.403, allocations: 0.6109 MB / 2.135 GB, free: 135.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/3.404, allocations: 85.42 kB / 2.135 GB, free: 135.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/3.404, allocations: 35.98 kB / 2.135 GB, free: 135.7 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.0001713/3.404, allocations: 132.1 kB / 2.135 GB, free: 135.6 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/3.405, allocations: 110.4 kB / 2.135 GB, free: 135.4 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/3.407, allocations: 1.169 MB / 2.136 GB, free: 134.3 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/3.407, allocations: 15.98 kB / 2.136 GB, free: 134.3 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.407, allocations: 0 / 2.136 GB, free: 134.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/3.409, allocations: 0.8234 MB / 2.137 GB, free: 133.4 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/3.413, allocations: 1.969 MB / 2.139 GB, free: 131.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/3.413, allocations: 4 kB / 2.139 GB, free: 131.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/3.414, allocations: 103.9 kB / 2.139 GB, free: 131.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/3.414, allocations: 40.84 kB / 2.139 GB, free: 131.3 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/3.414, allocations: 15.98 kB / 2.139 GB, free: 131.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003414/3.414, allocations: 0.6173 MB / 2.14 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.414, allocations: 0 / 2.14 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002351/3.416, allocations: 1.369 MB / 2.141 GB, free: 129.2 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002829/3.419, allocations: 2.175 MB / 2.143 GB, free: 127 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/3.42, allocations: 308.8 kB / 2.143 GB, free: 126.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/3.42, allocations: 0 / 2.143 GB, free: 126.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/3.421, allocations: 70.98 kB / 2.144 GB, free: 126.6 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/3.421, allocations: 40.59 kB / 2.144 GB, free: 126.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/3.421, allocations: 31.97 kB / 2.144 GB, free: 126.6 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0008762/3.422, allocations: 0.5849 MB / 2.144 GB, free: 126 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.00438/3.427, allocations: 0.967 MB / 2.145 GB, free: 125 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.002041/3.429, allocations: 0.8113 MB / 2.146 GB, free: 124.4 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001935/3.431, allocations: 1.024 MB / 2.147 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/3.431, allocations: 2.844 kB / 2.147 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/3.431, allocations: 412.8 kB / 2.147 GB, free: 122.9 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/3.434, allocations: 479.8 kB / 2.148 GB, free: 122.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/3.438, allocations: 1.632 MB / 2.149 GB, free: 120.8 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/3.439, allocations: 1.294 MB / 2.151 GB, free: 119.5 MB / 0.9324 GB Notification: Performance of SimCode: time 7.31e-07/3.439, allocations: 0 / 2.151 GB, free: 119.5 MB / 0.9324 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/AixLib_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_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c In file included from AixLib_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_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:43: warning: missing terminating '"' character [-Winvalid-pp-token] fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:10: error: use of undeclared identifier 'dp_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:21: error: use of undeclared identifier 'dpStraightPipe_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ AixLib_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_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:37: error: expected ';' after top level declarator which improve performances, but reduces dynamic accuracy." ^ ; AixLib_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:568: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:567:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ In file included from AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:568: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:567:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ 9 warnings and 3 errors generated. make: *** [: AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/AixLib_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_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.def AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.a AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.so AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o AixLib_AixLib_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o AixLib_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