Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.124/2.124, allocations: 248.6 MB / 255.9 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 184.1 kB / 315.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 0.5658 GB, free: 340 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001371/0.00137, allocations: 102.8 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4599/0.4613, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.6936, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.313/7.007, allocations: 2.446 GB / 3.329 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/7.007, allocations: 85.27 kB / 3.33 GB, free: 246.9 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.4665/7.474, allocations: 137.2 MB / 3.464 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/7.474, allocations: 12 kB / 3.464 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/7.474, allocations: 23.72 kB / 3.464 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/7.475, allocations: 249.2 kB / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/7.475, allocations: 4 kB / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/7.475, allocations: 15.98 kB / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001591/7.475, allocations: 43.75 kB / 3.464 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/7.475, allocations: 214.7 kB / 3.464 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/7.475, allocations: 4 kB / 3.464 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/7.475, allocations: 4 kB / 3.464 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/7.475, allocations: 4 kB / 3.464 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/7.477, allocations: 1.528 MB / 3.466 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/7.477, allocations: 170.5 kB / 3.466 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/7.477, allocations: 80.14 kB / 3.466 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/7.477, allocations: 79.28 kB / 3.466 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/7.477, allocations: 109.8 kB / 3.466 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 4.298e-06/7.477, allocations: 0 / 3.466 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001863/7.477, allocations: 33.83 kB / 3.466 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/7.477, allocations: 55.41 kB / 3.466 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/7.477, allocations: 142.3 kB / 3.466 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/7.477, allocations: 25.7 kB / 3.466 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/7.478, allocations: 151.4 kB / 3.466 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/7.478, allocations: 0 / 3.466 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/7.478, allocations: 0 / 3.466 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/7.478, allocations: 326.7 kB / 3.467 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/7.478, allocations: 0 / 3.467 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/7.478, allocations: 46.02 kB / 3.467 GB, free: 122 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/7.478, allocations: 15.92 kB / 3.467 GB, free: 122 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/7.478, allocations: 4 kB / 3.467 GB, free: 122 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/7.478, allocations: 69.66 kB / 3.467 GB, free: 122 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/7.478, allocations: 8.031 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/7.478, allocations: 0 / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/7.478, allocations: 4 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/7.479, allocations: 15.94 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/7.479, allocations: 3.984 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/7.479, allocations: 11.84 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/7.479, allocations: 8 kB / 3.467 GB, free: 121.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/7.479, allocations: 182.4 kB / 3.467 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/7.479, allocations: 116.8 kB / 3.467 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.648e-05/7.479, allocations: 117.5 kB / 3.467 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/7.479, allocations: 184.2 kB / 3.467 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-05/7.479, allocations: 180.3 kB / 3.468 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-05/7.479, allocations: 176.3 kB / 3.468 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/7.48, allocations: 433.7 kB / 3.468 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/7.48, allocations: 101 kB / 3.468 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/7.48, allocations: 105 kB / 3.468 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.494e-05/7.48, allocations: 184.2 kB / 3.469 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/7.48, allocations: 180.2 kB / 3.469 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-05/7.48, allocations: 176.3 kB / 3.469 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.456e-05/7.48, allocations: 188.1 kB / 3.469 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001596/7.48, allocations: 312.8 kB / 3.469 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003804/7.481, allocations: 0.6914 MB / 3.47 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/7.481, allocations: 194 kB / 3.47 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/7.481, allocations: 180.2 kB / 3.47 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/7.481, allocations: 105.3 kB / 3.471 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/7.481, allocations: 184.2 kB / 3.471 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/7.481, allocations: 112.9 kB / 3.471 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001676/7.481, allocations: 116.9 kB / 3.471 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003312/7.485, allocations: 127.7 kB / 3.471 GB, free: 117.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/7.486, allocations: 0.744 MB / 3.472 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001547/7.486, allocations: 15.92 kB / 3.472 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/7.486, allocations: 4 kB / 3.472 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/7.486, allocations: 0 / 3.472 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/7.487, allocations: 0.5268 MB / 3.472 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/7.488, allocations: 206.8 kB / 3.473 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/7.488, allocations: 0.7348 MB / 3.473 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/7.488, allocations: 3.938 kB / 3.473 GB, free: 115.1 MB / 0.8698 GB