Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="AixLib_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.56/1.56, allocations: 265 MB / 272.3 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 193.2 kB / 329.7 MB, free: 0.9961 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.4 MB / 0.5941 GB, free: 7.023 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 91.94 kB / 0.6993 GB, free: 7.129 MB / 482.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05343/0.05343, allocations: 11.88 MB / 0.816 GB, free: 196 kB / 0.5809 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.000357/0.0003569, allocations: 11.98 kB / 0.924 GB, free: 140.8 MB / 0.6121 GB Notification: Performance of FrontEnd - loaded program: time 0.2092/0.2096, allocations: 117.8 MB / 1.039 GB, free: 23.64 MB / 0.6121 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.7603, allocations: 110.2 MB / 1.147 GB, free: 56.8 MB / 0.6278 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.661, allocations: 374.8 MB / 1.513 GB, free: 71.54 MB / 0.7996 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.662, allocations: 80.14 kB / 1.513 GB, free: 71.5 MB / 0.7996 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 1.042/2.704, allocations: 256.8 MB / 1.764 GB, free: 281.5 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/2.704, allocations: 7.906 kB / 1.764 GB, free: 281.5 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/2.705, allocations: 66.62 kB / 1.764 GB, free: 281.5 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/2.706, allocations: 475 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/2.706, allocations: 15.59 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/2.706, allocations: 24.66 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004891/2.707, allocations: 190.6 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/2.707, allocations: 232 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/2.707, allocations: 0 / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/2.707, allocations: 0 / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/2.707, allocations: 7.812 kB / 1.764 GB, free: 281.2 MB / 0.9403 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/2.709, allocations: 1.245 MB / 1.766 GB, free: 280.5 MB / 0.9403 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/2.71, allocations: 224.6 kB / 1.766 GB, free: 280.5 MB / 0.9403 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/2.71, allocations: 97.2 kB / 1.766 GB, free: 280.5 MB / 0.9403 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/2.711, allocations: 0.5025 MB / 1.767 GB, free: 280 MB / 0.9403 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/2.711, allocations: 41.41 kB / 1.767 GB, free: 279.9 MB / 0.9403 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/2.711, allocations: 0 / 1.767 GB, free: 279.9 MB / 0.9403 GB Notification: Performance of matching and sorting (n=25): time 0.000945/2.712, allocations: 265.9 kB / 1.767 GB, free: 279.8 MB / 0.9403 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/2.712, allocations: 58.91 kB / 1.767 GB, free: 279.8 MB / 0.9403 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/2.712, allocations: 355.4 kB / 1.767 GB, free: 279.7 MB / 0.9403 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/2.712, allocations: 25.7 kB / 1.767 GB, free: 279.6 MB / 0.9403 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/2.712, allocations: 182.3 kB / 1.767 GB, free: 279.5 MB / 0.9403 GB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/2.712, allocations: 83.47 kB / 1.767 GB, free: 279.5 MB / 0.9403 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/2.712, allocations: 0 / 1.767 GB, free: 279.5 MB / 0.9403 GB Notification: Performance of setup shared object (initialization): time 0.0001398/2.713, allocations: 363.6 kB / 1.768 GB, free: 279.2 MB / 0.9403 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/2.713, allocations: 78.48 kB / 1.768 GB, free: 279.2 MB / 0.9403 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/2.713, allocations: 176.9 kB / 1.768 GB, free: 279.1 MB / 0.9403 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/2.713, allocations: 112.7 kB / 1.768 GB, free: 279.1 MB / 0.9403 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.713, allocations: 0 / 1.768 GB, free: 279.1 MB / 0.9403 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008045/2.714, allocations: 334.7 kB / 1.768 GB, free: 279 MB / 0.9403 GB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/2.714, allocations: 277.3 kB / 1.769 GB, free: 278.7 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.714, allocations: 0 / 1.769 GB, free: 278.7 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/2.715, allocations: 45.28 kB / 1.769 GB, free: 278.7 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/2.715, allocations: 79.73 kB / 1.769 GB, free: 278.7 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/2.715, allocations: 0.571 MB / 1.769 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/2.716, allocations: 60.55 kB / 1.769 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/2.716, allocations: 19.11 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/2.716, allocations: 6.312 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005014/2.717, allocations: 219.9 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/2.717, allocations: 3.844 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/2.717, allocations: 0 / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/2.717, allocations: 88.84 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/2.717, allocations: 4.031 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/2.718, allocations: 67.28 kB / 1.77 GB, free: 278.2 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/2.718, allocations: 17.17 kB / 1.77 GB, free: 278.2 MB / 0.9403 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.0001862/2.718, allocations: 112.1 kB / 1.77 GB, free: 278.1 MB / 0.9403 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/2.718, allocations: 51.72 kB / 1.77 GB, free: 278.1 MB / 0.9403 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/2.719, allocations: 348 kB / 1.77 GB, free: 278 MB / 0.9403 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/2.719, allocations: 3.562 kB / 1.77 GB, free: 278 MB / 0.9403 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/2.719, allocations: 0 / 1.77 GB, free: 278 MB / 0.9403 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/2.719, allocations: 3.797 kB / 1.77 GB, free: 278 MB / 0.9403 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/2.72, allocations: 0.8269 MB / 1.771 GB, free: 277.7 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/2.72, allocations: 2.5 kB / 1.771 GB, free: 277.7 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/2.721, allocations: 63.45 kB / 1.771 GB, free: 277.7 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/2.721, allocations: 34.84 kB / 1.771 GB, free: 277.7 MB / 0.9403 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/2.721, allocations: 10.31 kB / 1.771 GB, free: 277.7 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003477/2.721, allocations: 0.5662 MB / 1.772 GB, free: 277.2 MB / 0.9403 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/2.721, allocations: 3.688 kB / 1.772 GB, free: 277.2 MB / 0.9403 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006718/2.722, allocations: 466.8 kB / 1.772 GB, free: 276.9 MB / 0.9403 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000867/2.723, allocations: 0.8622 MB / 1.773 GB, free: 276.3 MB / 0.9403 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/2.723, allocations: 159.5 kB / 1.773 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/2.723, allocations: 0 / 1.773 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/2.724, allocations: 43.56 kB / 1.773 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/2.724, allocations: 25.27 kB / 1.773 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/2.724, allocations: 7.812 kB / 1.773 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of sort global known variables: time 0.0002738/2.724, allocations: 267 kB / 1.774 GB, free: 276.1 MB / 0.9403 GB Notification: Performance of remove unused functions: time 0.002215/2.726, allocations: 337.5 kB / 1.774 GB, free: 276 MB / 0.9403 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.0007571/2.727, allocations: 368.5 kB / 1.774 GB, free: 275.9 MB / 0.9403 GB Notification: Performance of simCode: created initialization part: time 0.0008422/2.728, allocations: 391.3 kB / 1.775 GB, free: 275.9 MB / 0.9403 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/2.728, allocations: 0 / 1.775 GB, free: 275.9 MB / 0.9403 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/2.728, allocations: 139.6 kB / 1.775 GB, free: 275.9 MB / 0.9403 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/2.729, allocations: 220.1 kB / 1.775 GB, free: 275.9 MB / 0.9403 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/2.731, allocations: 0.596 MB / 1.776 GB, free: 275.7 MB / 0.9403 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/2.731, allocations: 0.9203 MB / 1.776 GB, free: 275 MB / 0.9403 GB Notification: Performance of SimCode: time 3.11e-07/2.731, allocations: 0 / 1.776 GB, free: 275 MB / 0.9403 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Fluid.FixedResistances.Examples.CheckValve/AixLib_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_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_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c In file included from AixLib_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_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_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_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_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_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_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_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_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_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_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_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_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ In file included from AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ 12 warnings and 3 errors generated. make: *** [: AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Fluid.FixedResistances.Examples.CheckValve/AixLib_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_AixLib_Fluid_FixedResistances_Examples_CheckValve.def AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve.a AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve.so AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_FMU.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_functions.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_records.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_01exo.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_02nls.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_03lsy.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_04set.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_05evt.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_06inz.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_07dly.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_08bnd.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_09alg.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_10asr.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_11mix.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_12jac.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_13opt.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_14lnz.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_15syn.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_16dae.o AixLib_AixLib_Fluid_FixedResistances_Examples_CheckValve_17inl.o AixLib_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