Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.00103/0.00103, allocations: 173.3 kB / 316 MB, free: 3.551 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.273/1.273, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0009101/0.0009101, allocations: 94.16 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3809/0.3818, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.5764, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.297/4.874, allocations: 2.441 GB / 3.326 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/4.874, allocations: 88.69 kB / 3.326 GB, free: 309.1 MB / 0.8698 GB [/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$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.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$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.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$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.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$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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.356/5.23, allocations: 216.2 MB / 3.537 GB, free: 88.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/5.23, allocations: 15.94 kB / 3.537 GB, free: 88.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/5.23, allocations: 47.69 kB / 3.537 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/5.23, allocations: 258.8 kB / 3.537 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/5.23, allocations: 119.3 kB / 3.537 GB, free: 88.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/5.231, allocations: 15.94 kB / 3.538 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002219/5.231, allocations: 136.9 kB / 3.538 GB, free: 88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/5.231, allocations: 253 kB / 3.538 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/5.231, allocations: 0 / 3.538 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/5.231, allocations: 4 kB / 3.538 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/5.231, allocations: 4 kB / 3.538 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/5.232, allocations: 1.528 MB / 3.539 GB, free: 86.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.618e-05/5.232, allocations: 173.1 kB / 3.54 GB, free: 85.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/5.232, allocations: 80.14 kB / 3.54 GB, free: 85.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/5.232, allocations: 79.28 kB / 3.54 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/5.232, allocations: 105.8 kB / 3.54 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/5.232, allocations: 0 / 3.54 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.42e-05/5.232, allocations: 45.44 kB / 3.54 GB, free: 85.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/5.232, allocations: 55.59 kB / 3.54 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/5.232, allocations: 205.3 kB / 3.54 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-06/5.232, allocations: 25.7 kB / 3.54 GB, free: 85.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/5.233, allocations: 199 kB / 3.54 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/5.233, allocations: 0 / 3.54 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/5.233, allocations: 0 / 3.54 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.64e-05/5.233, allocations: 326.8 kB / 3.541 GB, free: 84.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/5.233, allocations: 31.98 kB / 3.541 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/5.233, allocations: 165 kB / 3.541 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/5.233, allocations: 67.89 kB / 3.541 GB, free: 84.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/5.233, allocations: 0 / 3.541 GB, free: 84.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003095/5.233, allocations: 189.3 kB / 3.541 GB, free: 84.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/5.233, allocations: 4 kB / 3.541 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/5.233, allocations: 4 kB / 3.541 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/5.233, allocations: 8 kB / 3.541 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/5.233, allocations: 39.92 kB / 3.541 GB, free: 84.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/5.233, allocations: 7.984 kB / 3.541 GB, free: 84.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/5.234, allocations: 20.22 kB / 3.541 GB, free: 84.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/5.234, allocations: 16 kB / 3.541 GB, free: 84.15 MB / 0.8698 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 5.666e-05/5.234, allocations: 192.1 kB / 3.541 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/5.234, allocations: 116.7 kB / 3.541 GB, free: 83.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/5.234, allocations: 113.5 kB / 3.542 GB, free: 83.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/5.234, allocations: 184.3 kB / 3.542 GB, free: 83.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/5.234, allocations: 180.2 kB / 3.542 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/5.234, allocations: 180.3 kB / 3.542 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/5.234, allocations: 449.6 kB / 3.542 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/5.234, allocations: 104.9 kB / 3.543 GB, free: 82.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/5.234, allocations: 101 kB / 3.543 GB, free: 82.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.56e-05/5.234, allocations: 180.2 kB / 3.543 GB, free: 82.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/5.234, allocations: 188.2 kB / 3.543 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-05/5.234, allocations: 180.2 kB / 3.543 GB, free: 81.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/5.234, allocations: 185.6 kB / 3.543 GB, free: 81.72 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.224e-05/5.234, allocations: 311.6 kB / 3.544 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002152/5.234, allocations: 0.7187 MB / 3.544 GB, free: 80.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/5.235, allocations: 190 kB / 3.545 GB, free: 80.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/5.235, allocations: 184.3 kB / 3.545 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/5.235, allocations: 105.2 kB / 3.545 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/5.235, allocations: 180.3 kB / 3.545 GB, free: 79.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/5.235, allocations: 105 kB / 3.545 GB, free: 79.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001003/5.235, allocations: 152.4 kB / 3.545 GB, free: 79.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001221/5.236, allocations: 211.7 kB / 3.545 GB, free: 79.49 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.0009686/5.237, allocations: 1.149 MB / 3.547 GB, free: 78.33 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001266/5.237, allocations: 72.23 kB / 3.547 GB, free: 78.26 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/5.237, allocations: 0 / 3.547 GB, free: 78.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/5.237, allocations: 0 / 3.547 GB, free: 78.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/5.237, allocations: 0.5342 MB / 3.547 GB, free: 77.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/5.238, allocations: 260.4 kB / 3.547 GB, free: 77.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/5.238, allocations: 0.7622 MB / 3.548 GB, free: 76.66 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/5.238, allocations: 0 / 3.548 GB, free: 76.66 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)