Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.246/1.246, allocations: 249.4 MB / 256.7 MB, free: 7 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.001/0.001, allocations: 177.2 kB / 316 MB, free: 3.555 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.207/1.207, allocations: 205.1 MB / 0.5667 GB, free: 15.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 89.55 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3698/0.3707, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.5606, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.433/4.993, allocations: 2.446 GB / 3.331 GB, free: 307.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/4.994, allocations: 83.95 kB / 3.331 GB, free: 307.8 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.2231/5.217, allocations: 137.2 MB / 3.465 GB, free: 169 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/5.217, allocations: 19.98 kB / 3.465 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/5.217, allocations: 19.72 kB / 3.465 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/5.217, allocations: 245.6 kB / 3.465 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/5.217, allocations: 8 kB / 3.465 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/5.217, allocations: 8 kB / 3.465 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.918e-05/5.217, allocations: 48.56 kB / 3.465 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/5.217, allocations: 215.6 kB / 3.466 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/5.218, allocations: 0 / 3.466 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/5.218, allocations: 4 kB / 3.466 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/5.218, allocations: 11.94 kB / 3.466 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/5.218, allocations: 1.532 MB / 3.467 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/5.218, allocations: 166.5 kB / 3.467 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/5.218, allocations: 80.14 kB / 3.467 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/5.218, allocations: 83.27 kB / 3.467 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/5.218, allocations: 109.8 kB / 3.467 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/5.218, allocations: 0 / 3.467 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.8e-05/5.218, allocations: 33.61 kB / 3.467 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/5.218, allocations: 55.41 kB / 3.468 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/5.218, allocations: 134.4 kB / 3.468 GB, free: 166 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-06/5.218, allocations: 29.92 kB / 3.468 GB, free: 166 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/5.218, allocations: 147.3 kB / 3.468 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/5.218, allocations: 3.938 kB / 3.468 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/5.218, allocations: 0 / 3.468 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/5.219, allocations: 326.7 kB / 3.468 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/5.219, allocations: 8 kB / 3.468 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/5.219, allocations: 45.95 kB / 3.468 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/5.219, allocations: 12 kB / 3.468 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/5.219, allocations: 0 / 3.468 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/5.219, allocations: 73.67 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/5.219, allocations: 8 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/5.219, allocations: 4 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/5.219, allocations: 0 / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/5.219, allocations: 12 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/5.219, allocations: 4 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/5.219, allocations: 7.844 kB / 3.468 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/5.219, allocations: 4 kB / 3.468 GB, free: 165.3 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 4.322e-05/5.219, allocations: 188.2 kB / 3.468 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/5.219, allocations: 120.8 kB / 3.469 GB, free: 165 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/5.219, allocations: 113.5 kB / 3.469 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/5.219, allocations: 180.2 kB / 3.469 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/5.219, allocations: 180.2 kB / 3.469 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/5.219, allocations: 180.3 kB / 3.469 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/5.219, allocations: 421.7 kB / 3.47 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/5.219, allocations: 109 kB / 3.47 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/5.219, allocations: 105 kB / 3.47 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/5.219, allocations: 180.2 kB / 3.47 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/5.219, allocations: 180.2 kB / 3.47 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/5.219, allocations: 184.1 kB / 3.47 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.677e-05/5.219, allocations: 189.5 kB / 3.471 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.602e-05/5.219, allocations: 303.7 kB / 3.471 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001576/5.22, allocations: 0.6953 MB / 3.471 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/5.22, allocations: 190 kB / 3.472 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/5.22, allocations: 188.2 kB / 3.472 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/5.22, allocations: 101.3 kB / 3.472 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/5.22, allocations: 180.3 kB / 3.472 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/5.22, allocations: 113 kB / 3.472 GB, free: 161 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.613e-05/5.22, allocations: 116.9 kB / 3.472 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00088/5.221, allocations: 131.7 kB / 3.472 GB, free: 160.8 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.0005584/5.221, allocations: 0.7411 MB / 3.473 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.468e-05/5.221, allocations: 15.94 kB / 3.473 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/5.221, allocations: 0 / 3.473 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/5.221, allocations: 0 / 3.473 GB, free: 160 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/5.222, allocations: 0.5268 MB / 3.474 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/5.222, allocations: 218.6 kB / 3.474 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/5.222, allocations: 0.7309 MB / 3.475 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/5.222, allocations: 0 / 3.475 GB, free: 158.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)