Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 387.2 MB / 394.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 186.5 kB / 487 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.3 MB / 0.7819 GB, free: 6.824 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 105.7 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.345/0.3462, allocations: 148.5 MB / 1.066 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/1.118, allocations: 142.3 MB / 1.205 GB, free: 72.83 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.66/5.778, allocations: 2.161 GB / 3.367 GB, free: 350.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/5.778, allocations: 80.98 kB / 3.367 GB, free: 350.2 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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.4063/6.184, allocations: 223.8 MB / 3.585 GB, free: 122.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/6.184, allocations: 8 kB / 3.585 GB, free: 122.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/6.185, allocations: 47.69 kB / 3.585 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/6.185, allocations: 262.7 kB / 3.586 GB, free: 122 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/6.185, allocations: 123.3 kB / 3.586 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/6.185, allocations: 12 kB / 3.586 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002403/6.185, allocations: 125 kB / 3.586 GB, free: 121.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/6.186, allocations: 261.3 kB / 3.586 GB, free: 121.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/6.186, allocations: 0 / 3.586 GB, free: 121.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/6.186, allocations: 8 kB / 3.586 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/6.186, allocations: 4 kB / 3.586 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/6.187, allocations: 1.524 MB / 3.588 GB, free: 119.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/6.187, allocations: 169.1 kB / 3.588 GB, free: 119.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/6.187, allocations: 80.14 kB / 3.588 GB, free: 119.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/6.187, allocations: 79.27 kB / 3.588 GB, free: 119.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/6.187, allocations: 117.8 kB / 3.588 GB, free: 119.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/6.187, allocations: 0 / 3.588 GB, free: 119.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.532e-05/6.187, allocations: 41.45 kB / 3.588 GB, free: 119.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/6.187, allocations: 51.41 kB / 3.588 GB, free: 119.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/6.187, allocations: 198.3 kB / 3.588 GB, free: 119.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/6.187, allocations: 25.7 kB / 3.588 GB, free: 119 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/6.187, allocations: 206.9 kB / 3.589 GB, free: 118.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/6.187, allocations: 4 kB / 3.589 GB, free: 118.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/6.187, allocations: 0 / 3.589 GB, free: 118.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/6.187, allocations: 326.8 kB / 3.589 GB, free: 118.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/6.187, allocations: 31.98 kB / 3.589 GB, free: 118.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/6.187, allocations: 161 kB / 3.589 GB, free: 118.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/6.188, allocations: 59.89 kB / 3.589 GB, free: 118.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/6.188, allocations: 8 kB / 3.589 GB, free: 118.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003272/6.188, allocations: 177.7 kB / 3.589 GB, free: 118 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/6.188, allocations: 14.41 kB / 3.589 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/6.188, allocations: 4 kB / 3.589 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/6.188, allocations: 4 kB / 3.589 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/6.188, allocations: 47.91 kB / 3.589 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/6.188, allocations: 7.938 kB / 3.589 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/6.188, allocations: 15.84 kB / 3.589 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/6.188, allocations: 15.91 kB / 3.589 GB, free: 117.9 MB / 1.151 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 6.773e-05/6.188, allocations: 188.1 kB / 3.59 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/6.188, allocations: 116.9 kB / 3.59 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/6.189, allocations: 121.2 kB / 3.59 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/6.189, allocations: 180.2 kB / 3.59 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/6.189, allocations: 184.3 kB / 3.59 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/6.189, allocations: 180.2 kB / 3.59 GB, free: 116.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/6.189, allocations: 445.7 kB / 3.591 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/6.189, allocations: 105 kB / 3.591 GB, free: 116.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/6.189, allocations: 101 kB / 3.591 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.102e-05/6.189, allocations: 181.9 kB / 3.591 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/6.189, allocations: 188.2 kB / 3.591 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/6.189, allocations: 180.3 kB / 3.591 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-05/6.189, allocations: 184.2 kB / 3.592 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001111/6.189, allocations: 311.6 kB / 3.592 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002516/6.189, allocations: 0.7109 MB / 3.593 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/6.189, allocations: 197.9 kB / 3.593 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/6.19, allocations: 180.2 kB / 3.593 GB, free: 114 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/6.19, allocations: 109.3 kB / 3.593 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/6.19, allocations: 176.3 kB / 3.593 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/6.19, allocations: 112.9 kB / 3.593 GB, free: 113.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001004/6.19, allocations: 156.2 kB / 3.594 GB, free: 113.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001176/6.191, allocations: 215.7 kB / 3.594 GB, free: 113.2 MB / 1.151 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.001177/6.192, allocations: 1.158 MB / 3.595 GB, free: 112.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001416/6.192, allocations: 71.84 kB / 3.595 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/6.192, allocations: 1.25 kB / 3.595 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/6.192, allocations: 0 / 3.595 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/6.193, allocations: 0.5343 MB / 3.595 GB, free: 111.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/6.193, allocations: 259.9 kB / 3.596 GB, free: 111.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/6.193, allocations: 0.7622 MB / 3.596 GB, free: 110.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/6.193, allocations: 0 / 3.596 GB, free: 110.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat