Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003767/0.003767, allocations: 179 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7305/0.7305, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001077, allocations: 93.78 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5559/0.5571, allocations: 88.43 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.7694, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.689/6.459, allocations: 2.129 GB / 2.763 GB, free: 111 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/6.459, allocations: 83.95 kB / 2.763 GB, free: 111 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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.8328/7.292, allocations: 136.9 MB / 2.896 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/7.292, allocations: 14.66 kB / 2.896 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/7.292, allocations: 27.19 kB / 2.896 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/7.293, allocations: 238.6 kB / 2.897 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/7.293, allocations: 3.625 kB / 2.897 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/7.293, allocations: 10.75 kB / 2.897 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001269/7.293, allocations: 44.53 kB / 2.897 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/7.293, allocations: 217.1 kB / 2.897 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/7.293, allocations: 3.906 kB / 2.897 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/7.293, allocations: 3.688 kB / 2.897 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/7.293, allocations: 7.594 kB / 2.897 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/7.294, allocations: 1.529 MB / 2.898 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/7.294, allocations: 169 kB / 2.899 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/7.294, allocations: 83.95 kB / 2.899 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/7.295, allocations: 75.28 kB / 2.899 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/7.295, allocations: 113.2 kB / 2.899 GB, free: 206 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/7.295, allocations: 0 / 2.899 GB, free: 206 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/7.295, allocations: 37.3 kB / 2.899 GB, free: 206 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/7.295, allocations: 54.72 kB / 2.899 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/7.295, allocations: 140.8 kB / 2.899 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/7.295, allocations: 25.7 kB / 2.899 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/7.295, allocations: 144.7 kB / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/7.295, allocations: 6.641 kB / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/7.295, allocations: 0 / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/7.295, allocations: 321 kB / 2.899 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/7.295, allocations: 7.438 kB / 2.899 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/7.295, allocations: 50.31 kB / 2.9 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/7.295, allocations: 11.36 kB / 2.9 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/7.295, allocations: 0 / 2.9 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/7.295, allocations: 69.91 kB / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/7.295, allocations: 7.625 kB / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/7.295, allocations: 0 / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/7.295, allocations: 7.469 kB / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/7.296, allocations: 26.11 kB / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/7.296, allocations: 0 / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/7.296, allocations: 5.531 kB / 2.9 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/7.296, allocations: 3.562 kB / 2.9 GB, free: 205.2 MB / 0.6823 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 9.22e-05/7.296, allocations: 183.9 kB / 2.9 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/7.296, allocations: 111.3 kB / 2.9 GB, free: 205 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/7.296, allocations: 120.8 kB / 2.9 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/7.296, allocations: 179.4 kB / 2.9 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/7.296, allocations: 176.3 kB / 2.9 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-05/7.296, allocations: 180.2 kB / 2.901 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/7.296, allocations: 422.6 kB / 2.901 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/7.296, allocations: 109.4 kB / 2.901 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/7.296, allocations: 111.1 kB / 2.901 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-05/7.296, allocations: 180.3 kB / 2.901 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/7.296, allocations: 183.3 kB / 2.902 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/7.296, allocations: 181.4 kB / 2.902 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.938e-05/7.297, allocations: 188.9 kB / 2.902 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/7.297, allocations: 308.5 kB / 2.902 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003036/7.297, allocations: 0.7024 MB / 2.903 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/7.297, allocations: 182 kB / 2.903 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/7.297, allocations: 183.5 kB / 2.903 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/7.297, allocations: 108.2 kB / 2.903 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/7.297, allocations: 176.3 kB / 2.903 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/7.297, allocations: 108 kB / 2.904 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.347e-05/7.297, allocations: 113.4 kB / 2.904 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001236/7.299, allocations: 118.7 kB / 2.904 GB, free: 201.1 MB / 0.6823 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.001044/7.3, allocations: 0.7416 MB / 2.905 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000101/7.3, allocations: 21.16 kB / 2.905 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/7.3, allocations: 0 / 2.905 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/7.3, allocations: 6 kB / 2.905 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/7.3, allocations: 0.5292 MB / 2.905 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/7.301, allocations: 221 kB / 2.905 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/7.301, allocations: 0.7283 MB / 2.906 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/7.301, allocations: 0 / 2.906 GB, free: 199.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)