Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve.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.Examples.CheckValve,fileNamePrefix="AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve",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.648/1.648, allocations: 265 MB / 272.3 MB, free: 8.75 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.001172/0.001172, allocations: 184.5 kB / 329.7 MB, free: 332 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.322/1.322, allocations: 221.3 MB / 0.5941 GB, free: 14.52 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.0009566/0.0009566, allocations: 92.59 kB / 0.6993 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04735/0.04735, allocations: 11.88 MB / 0.816 GB, free: 65.53 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.0003548/0.0003548, allocations: 19.75 kB / 0.924 GB, free: 86.79 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2348/0.2352, allocations: 117.8 MB / 1.039 GB, free: 9.109 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.476, allocations: 110.2 MB / 1.147 GB, free: 10.79 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8046/1.281, allocations: 374.8 MB / 1.513 GB, free: 15.14 MB / 0.9168 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/1.281, allocations: 84.41 kB / 1.513 GB, free: 15.1 MB / 0.9168 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.9434/2.224, allocations: 256.8 MB / 1.764 GB, free: 107.9 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/2.224, allocations: 8 kB / 1.764 GB, free: 107.9 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/2.225, allocations: 63.25 kB / 1.764 GB, free: 107.8 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/2.226, allocations: 475 kB / 1.764 GB, free: 107.3 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/2.226, allocations: 8 kB / 1.764 GB, free: 107.3 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/2.226, allocations: 24 kB / 1.764 GB, free: 107.3 MB / 0.9168 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003944/2.226, allocations: 193.3 kB / 1.764 GB, free: 107.1 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/2.227, allocations: 232.8 kB / 1.764 GB, free: 106.9 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/2.227, allocations: 0 / 1.764 GB, free: 106.9 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/2.227, allocations: 0 / 1.764 GB, free: 106.9 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/2.227, allocations: 8 kB / 1.764 GB, free: 106.9 MB / 0.9168 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/2.228, allocations: 1.247 MB / 1.766 GB, free: 105.6 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/2.229, allocations: 230.5 kB / 1.766 GB, free: 105.3 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/2.229, allocations: 96.84 kB / 1.766 GB, free: 105.2 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/2.229, allocations: 0.4985 MB / 1.767 GB, free: 104.6 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/2.229, allocations: 34.56 kB / 1.767 GB, free: 104.6 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/2.229, allocations: 0 / 1.767 GB, free: 104.6 MB / 0.9168 GB Notification: Performance of matching and sorting (n=25): time 0.0007016/2.23, allocations: 270.9 kB / 1.767 GB, free: 104.3 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/2.23, allocations: 55.62 kB / 1.767 GB, free: 104.2 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/2.23, allocations: 357.2 kB / 1.767 GB, free: 103.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/2.231, allocations: 33.58 kB / 1.767 GB, free: 103.8 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/2.231, allocations: 184.6 kB / 1.767 GB, free: 103.6 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/2.231, allocations: 78.75 kB / 1.767 GB, free: 103.6 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/2.231, allocations: 3.938 kB / 1.767 GB, free: 103.6 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/2.231, allocations: 354.8 kB / 1.768 GB, free: 103.2 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/2.231, allocations: 81.86 kB / 1.768 GB, free: 103.1 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/2.231, allocations: 174.5 kB / 1.768 GB, free: 102.9 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/2.231, allocations: 116.8 kB / 1.768 GB, free: 102.8 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.231, allocations: 0 / 1.768 GB, free: 102.8 MB / 0.9168 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007494/2.232, allocations: 339.1 kB / 1.768 GB, free: 102.5 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/2.232, allocations: 270.9 kB / 1.769 GB, free: 102.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/2.232, allocations: 4 kB / 1.769 GB, free: 102.2 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/2.232, allocations: 40.83 kB / 1.769 GB, free: 102.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/2.233, allocations: 71.89 kB / 1.769 GB, free: 102.1 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/2.233, allocations: 0.5757 MB / 1.769 GB, free: 101.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/2.234, allocations: 71.73 kB / 1.769 GB, free: 101.4 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/2.234, allocations: 19.98 kB / 1.77 GB, free: 101.4 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/2.234, allocations: 4 kB / 1.77 GB, free: 101.4 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004717/2.234, allocations: 211.8 kB / 1.77 GB, free: 101.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/2.234, allocations: 4 kB / 1.77 GB, free: 101.2 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/2.234, allocations: 4 kB / 1.77 GB, free: 101.2 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/2.235, allocations: 91.88 kB / 1.77 GB, free: 101.1 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/2.235, allocations: 0 / 1.77 GB, free: 101.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/2.235, allocations: 59.7 kB / 1.77 GB, free: 101 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/2.235, allocations: 19.98 kB / 1.77 GB, free: 101 MB / 0.9168 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000148/2.235, allocations: 112.9 kB / 1.77 GB, free: 100.9 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/2.236, allocations: 51.28 kB / 1.77 GB, free: 100.8 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/2.236, allocations: 343.8 kB / 1.77 GB, free: 100.5 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/2.236, allocations: 8 kB / 1.77 GB, free: 100.5 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.236, allocations: 0 / 1.77 GB, free: 100.5 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/2.236, allocations: 11.92 kB / 1.77 GB, free: 100.5 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/2.237, allocations: 0.8128 MB / 1.771 GB, free: 99.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/2.237, allocations: 0 / 1.771 GB, free: 99.6 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/2.238, allocations: 60.08 kB / 1.771 GB, free: 99.54 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/2.238, allocations: 40.97 kB / 1.771 GB, free: 99.5 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/2.238, allocations: 3.984 kB / 1.771 GB, free: 99.5 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002483/2.238, allocations: 0.5679 MB / 1.772 GB, free: 98.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.238, allocations: 0 / 1.772 GB, free: 98.9 MB / 0.9168 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005248/2.239, allocations: 475.4 kB / 1.772 GB, free: 98.38 MB / 0.9168 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006511/2.239, allocations: 0.8586 MB / 1.773 GB, free: 97.46 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/2.24, allocations: 156.4 kB / 1.773 GB, free: 97.29 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/2.24, allocations: 4 kB / 1.773 GB, free: 97.29 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/2.24, allocations: 47.89 kB / 1.773 GB, free: 97.24 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/2.24, allocations: 15.97 kB / 1.773 GB, free: 97.23 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/2.24, allocations: 12 kB / 1.773 GB, free: 97.21 MB / 0.9168 GB Notification: Performance of sort global known variables: time 0.0002402/2.24, allocations: 278.9 kB / 1.774 GB, free: 96.95 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.00222/2.243, allocations: 331.5 kB / 1.774 GB, free: 96.62 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0007232/2.243, allocations: 378.2 kB / 1.774 GB, free: 96.27 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.0007821/2.244, allocations: 389.1 kB / 1.775 GB, free: 95.89 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.244, allocations: 0 / 1.775 GB, free: 95.89 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/2.244, allocations: 137.9 kB / 1.775 GB, free: 95.76 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/2.246, allocations: 227.8 kB / 1.775 GB, free: 95.54 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/2.247, allocations: 0.5944 MB / 1.776 GB, free: 94.91 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/2.247, allocations: 0.9176 MB / 1.776 GB, free: 93.97 MB / 0.9168 GB Notification: Performance of SimCode: time 2.81e-07/2.247, allocations: 0 / 1.776 GB, free: 93.97 MB / 0.9168 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve/AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.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_Examples_CheckValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_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_Examples_CheckValve_FMU.c:59:6: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:20: error: use of undeclared identifier 'dp' k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:8: error: use of undeclared identifier 'm_flow'; did you mean '__uflow'? k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^~~~~~ __uflow /usr/include/stdio.h:858:12: note: '__uflow' declared here extern int __uflow (FILE *); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:29: error: expected ';' after top level declarator k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ ; AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:65:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:72:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:104:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:127:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:150:48: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ In file included from AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ 12 warnings and 3 errors generated. make: *** [: AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve/AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.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_Examples_CheckValve.def AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.a AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.so AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_functions.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_records.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_01exo.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_02nls.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_03lsy.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_04set.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_05evt.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_06inz.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_07dly.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_08bnd.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_09alg.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_10asr.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_11mix.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_12jac.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_13opt.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_14lnz.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_15syn.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_16dae.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_17inl.o AixLib_latest_AixLib_Fluid_FixedResistances_Examples_CheckValve_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