Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.152/2.152, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001679/0.001679, allocations: 179.9 kB / 315.1 MB, free: 4.262 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.857/1.857, allocations: 205.1 MB / 0.5658 GB, free: 360 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.00133/0.001329, allocations: 86.72 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4876/0.489, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.7253, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.382/6.107, allocations: 2.181 GB / 3.064 GB, free: 188 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/6.108, allocations: 78.7 kB / 3.064 GB, free: 188 MB / 0.8698 GB [/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$conAir$bacPro_internal is not balanced: The number of potential variables (2) 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$conAir$inlet$forward is not balanced: The number of potential variables (2) 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$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) 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$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) 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$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) 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 (2) 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 (2) 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$backward is not balanced: The number of potential variables (2) 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 1.409/7.516, allocations: 300.2 MB / 3.358 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/7.516, allocations: 8 kB / 3.358 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/7.517, allocations: 23.72 kB / 3.358 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/7.517, allocations: 263.2 kB / 3.358 GB, free: 239 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/7.517, allocations: 4 kB / 3.358 GB, free: 239 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/7.517, allocations: 12 kB / 3.358 GB, free: 239 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001961/7.517, allocations: 60.88 kB / 3.358 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/7.518, allocations: 227.6 kB / 3.358 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/7.518, allocations: 3.938 kB / 3.358 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/7.518, allocations: 0 / 3.358 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/7.518, allocations: 12 kB / 3.358 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/7.519, allocations: 1.352 MB / 3.359 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/7.519, allocations: 169.1 kB / 3.36 GB, free: 237 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/7.519, allocations: 80.14 kB / 3.36 GB, free: 237 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/7.519, allocations: 75.28 kB / 3.36 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/7.519, allocations: 114.9 kB / 3.36 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/7.519, allocations: 0 / 3.36 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.068e-05/7.519, allocations: 37.52 kB / 3.36 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/7.519, allocations: 51.41 kB / 3.36 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/7.519, allocations: 134.8 kB / 3.36 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/7.519, allocations: 29.7 kB / 3.36 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/7.519, allocations: 151.7 kB / 3.36 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/7.519, allocations: 7.938 kB / 3.36 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/7.519, allocations: 4 kB / 3.36 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/7.519, allocations: 314.8 kB / 3.361 GB, free: 236 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/7.519, allocations: 4 kB / 3.361 GB, free: 236 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/7.52, allocations: 33.39 kB / 3.361 GB, free: 236 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/7.52, allocations: 3.938 kB / 3.361 GB, free: 236 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/7.52, allocations: 8 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001461/7.52, allocations: 53.55 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/7.52, allocations: 7.984 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/7.52, allocations: 0 / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/7.52, allocations: 8 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/7.52, allocations: 7.984 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/7.52, allocations: 0 / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/7.52, allocations: 7.938 kB / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/7.52, allocations: 128 / 3.361 GB, free: 235.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.345e-05/7.52, allocations: 184.3 kB / 3.361 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/7.52, allocations: 116.7 kB / 3.361 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/7.52, allocations: 116.6 kB / 3.361 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/7.52, allocations: 180.3 kB / 3.361 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/7.52, allocations: 180.2 kB / 3.361 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/7.52, allocations: 180.3 kB / 3.362 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/7.521, allocations: 429.7 kB / 3.362 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/7.521, allocations: 114.9 kB / 3.362 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/7.521, allocations: 105 kB / 3.362 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.586e-05/7.521, allocations: 176.3 kB / 3.362 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/7.521, allocations: 184.2 kB / 3.363 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.487e-05/7.521, allocations: 180.2 kB / 3.363 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.516e-05/7.521, allocations: 186.1 kB / 3.363 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001339/7.521, allocations: 311.7 kB / 3.363 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004646/7.522, allocations: 0.7187 MB / 3.364 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/7.522, allocations: 186 kB / 3.364 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/7.522, allocations: 176.3 kB / 3.364 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/7.522, allocations: 108.9 kB / 3.364 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/7.522, allocations: 180.3 kB / 3.365 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/7.522, allocations: 105 kB / 3.365 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001409/7.522, allocations: 107.3 kB / 3.365 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001989/7.524, allocations: 247.7 kB / 3.365 GB, free: 231.2 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.001925/7.526, allocations: 1.507 MB / 3.366 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001131/7.526, allocations: 15.94 kB / 3.366 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/7.526, allocations: 0.5469 kB / 3.366 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/7.526, allocations: 0 / 3.366 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/7.527, allocations: 0.5281 MB / 3.367 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/7.527, allocations: 247.1 kB / 3.367 GB, free: 229 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/7.528, allocations: 0.7426 MB / 3.368 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/7.528, allocations: 0 / 3.368 GB, free: 228.3 MB / 0.8698 GB