Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.12/2.12, allocations: 248.6 MB / 255.9 MB, free: 7.574 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 178.8 kB / 315.1 MB, free: 8.613 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.1 MB / 0.5658 GB, free: 4.215 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 86.75 kB / 0.67 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5128/0.5141, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.7583, allocations: 106.2 MB / 0.8835 GB, free: 1.102 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/7.128, allocations: 2.441 GB / 3.324 GB, free: 257.9 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/7.129, allocations: 88.67 kB / 3.324 GB, free: 257.9 MB / 0.8731 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$conAirNoC$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$conAirNoC$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$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) 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$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) 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$conDryAirNoC$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$conDryAirNoC$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$conDryAirWithC$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.6698/7.798, allocations: 216.2 MB / 3.536 GB, free: 76.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/7.798, allocations: 8 kB / 3.536 GB, free: 76.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/7.799, allocations: 47.7 kB / 3.536 GB, free: 76.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/7.799, allocations: 250.8 kB / 3.536 GB, free: 76.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/7.799, allocations: 127.3 kB / 3.536 GB, free: 76.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/7.799, allocations: 16 kB / 3.536 GB, free: 75.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000384/7.8, allocations: 129 kB / 3.536 GB, free: 75.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/7.8, allocations: 257 kB / 3.536 GB, free: 75.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/7.8, allocations: 0 / 3.536 GB, free: 75.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/7.8, allocations: 4 kB / 3.536 GB, free: 75.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/7.8, allocations: 8 kB / 3.536 GB, free: 75.56 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/7.802, allocations: 1.536 MB / 3.538 GB, free: 73.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/7.802, allocations: 165.1 kB / 3.538 GB, free: 73.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/7.802, allocations: 80.14 kB / 3.538 GB, free: 73.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/7.802, allocations: 79.22 kB / 3.538 GB, free: 73.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/7.802, allocations: 113.8 kB / 3.538 GB, free: 73.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/7.802, allocations: 0 / 3.538 GB, free: 73.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/7.802, allocations: 41.52 kB / 3.538 GB, free: 73.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/7.802, allocations: 51.59 kB / 3.538 GB, free: 73.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/7.802, allocations: 201.7 kB / 3.539 GB, free: 73.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/7.802, allocations: 25.7 kB / 3.539 GB, free: 73.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/7.803, allocations: 195 kB / 3.539 GB, free: 72.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/7.803, allocations: 11.98 kB / 3.539 GB, free: 72.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/7.803, allocations: 0 / 3.539 GB, free: 72.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/7.803, allocations: 322.8 kB / 3.539 GB, free: 72.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/7.803, allocations: 35.98 kB / 3.539 GB, free: 72.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/7.803, allocations: 163.6 kB / 3.539 GB, free: 72.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/7.803, allocations: 59.91 kB / 3.539 GB, free: 72.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/7.803, allocations: 4 kB / 3.539 GB, free: 72.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005056/7.804, allocations: 185.6 kB / 3.54 GB, free: 72.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/7.804, allocations: 8.094 kB / 3.54 GB, free: 72.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/7.804, allocations: 4 kB / 3.54 GB, free: 72.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/7.804, allocations: 8 kB / 3.54 GB, free: 72.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/7.804, allocations: 35.92 kB / 3.54 GB, free: 72.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/7.804, allocations: 19.86 kB / 3.54 GB, free: 72.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/7.804, allocations: 19.75 kB / 3.54 GB, free: 72.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/7.804, allocations: 15.98 kB / 3.54 GB, free: 72 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.221e-05/7.805, allocations: 188.1 kB / 3.54 GB, free: 71.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/7.805, allocations: 120.8 kB / 3.54 GB, free: 71.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/7.805, allocations: 117.5 kB / 3.54 GB, free: 71.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/7.805, allocations: 180.2 kB / 3.54 GB, free: 71.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/7.805, allocations: 176.3 kB / 3.54 GB, free: 71.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/7.805, allocations: 176.3 kB / 3.541 GB, free: 71.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/7.805, allocations: 449.7 kB / 3.541 GB, free: 70.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/7.805, allocations: 101 kB / 3.541 GB, free: 70.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/7.805, allocations: 116.9 kB / 3.541 GB, free: 70.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-05/7.805, allocations: 180.2 kB / 3.541 GB, free: 70.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/7.805, allocations: 176.3 kB / 3.542 GB, free: 69.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.168e-05/7.805, allocations: 176.3 kB / 3.542 GB, free: 69.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-05/7.805, allocations: 193.4 kB / 3.542 GB, free: 69.57 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.837e-05/7.805, allocations: 311.7 kB / 3.542 GB, free: 69.24 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003199/7.806, allocations: 0.707 MB / 3.543 GB, free: 68.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/7.806, allocations: 205.9 kB / 3.543 GB, free: 68.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/7.806, allocations: 184.2 kB / 3.543 GB, free: 68.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/7.806, allocations: 101.3 kB / 3.543 GB, free: 67.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/7.806, allocations: 176.3 kB / 3.544 GB, free: 67.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/7.806, allocations: 113 kB / 3.544 GB, free: 67.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0001896/7.806, allocations: 156.2 kB / 3.544 GB, free: 67.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001733/7.808, allocations: 215.7 kB / 3.544 GB, free: 67.33 MB / 0.8731 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.0015/7.81, allocations: 1.145 MB / 3.545 GB, free: 66.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002705/7.81, allocations: 71.84 kB / 3.545 GB, free: 66.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/7.81, allocations: 1.25 kB / 3.545 GB, free: 66.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/7.81, allocations: 3.938 kB / 3.545 GB, free: 66.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/7.81, allocations: 0.5304 MB / 3.546 GB, free: 65.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/7.811, allocations: 267.5 kB / 3.546 GB, free: 65.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/7.811, allocations: 0.7583 MB / 3.547 GB, free: 64.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/7.811, allocations: 0 / 3.547 GB, free: 64.5 MB / 0.8731 GB