Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.004316/0.004316, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6977/0.6977, allocations: 133.5 MB / 141.4 MB, free: 15.75 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.516/1.516, 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.001013/0.001013, allocations: 95.83 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4718/0.4729, allocations: 88.44 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.659, allocations: 82.29 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.872, allocations: 2.138 GB / 2.771 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/5.873, allocations: 90.89 kB / 2.771 GB, free: 88.2 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.7215/6.594, allocations: 141.9 MB / 2.91 GB, free: 213 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/6.594, allocations: 11.66 kB / 2.91 GB, free: 213 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/6.594, allocations: 31.97 kB / 2.91 GB, free: 213 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/6.594, allocations: 262.9 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/6.595, allocations: 10.62 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/6.595, allocations: 12.28 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002561/6.595, allocations: 85.56 kB / 2.91 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/6.595, allocations: 297.1 kB / 2.91 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/6.595, allocations: 2.438 kB / 2.91 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/6.595, allocations: 1.719 kB / 2.91 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/6.595, allocations: 6.344 kB / 2.91 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/6.596, allocations: 1.885 MB / 2.912 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/6.596, allocations: 170.7 kB / 2.912 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/6.597, allocations: 82.95 kB / 2.912 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/6.597, allocations: 75.89 kB / 2.913 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/6.597, allocations: 110.9 kB / 2.913 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/6.597, allocations: 1.422 kB / 2.913 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.496e-05/6.597, allocations: 38.17 kB / 2.913 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/6.597, allocations: 56.56 kB / 2.913 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/6.597, allocations: 151.4 kB / 2.913 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/6.597, allocations: 29.36 kB / 2.913 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/6.597, allocations: 177 kB / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/6.597, allocations: 1.797 kB / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/6.597, allocations: 0 / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/6.597, allocations: 320.7 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/6.597, allocations: 4.438 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/6.597, allocations: 53.94 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/6.597, allocations: 16.86 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.597, allocations: 4.875 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001612/6.597, allocations: 76.03 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/6.597, allocations: 6.266 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/6.597, allocations: 1.125 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/6.597, allocations: 7.156 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/6.597, allocations: 12.69 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/6.597, allocations: 11.42 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/6.598, allocations: 6.609 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/6.598, allocations: 3.844 kB / 2.914 GB, free: 209.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.405e-05/6.598, allocations: 188.5 kB / 2.914 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/6.598, allocations: 114.4 kB / 2.914 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/6.598, allocations: 120.5 kB / 2.914 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/6.598, allocations: 182.4 kB / 2.914 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/6.598, allocations: 182.4 kB / 2.914 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/6.598, allocations: 184.9 kB / 2.915 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/6.598, allocations: 441.1 kB / 2.915 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/6.598, allocations: 110 kB / 2.915 GB, free: 208 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/6.598, allocations: 104.3 kB / 2.915 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.954e-05/6.598, allocations: 180.8 kB / 2.915 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/6.598, allocations: 176.3 kB / 2.915 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.502e-05/6.598, allocations: 179.2 kB / 2.916 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.15e-05/6.598, allocations: 182.1 kB / 2.916 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.78e-05/6.598, allocations: 318.2 kB / 2.916 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002745/6.599, allocations: 0.6957 MB / 2.917 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/6.599, allocations: 189.1 kB / 2.917 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/6.599, allocations: 184.1 kB / 2.917 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/6.599, allocations: 102.1 kB / 2.917 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/6.599, allocations: 177.3 kB / 2.917 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/6.599, allocations: 107.7 kB / 2.918 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.747e-05/6.599, allocations: 115.3 kB / 2.918 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001091/6.6, allocations: 130.7 kB / 2.918 GB, free: 205.2 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.001024/6.601, allocations: 0.7479 MB / 2.918 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.496e-05/6.601, allocations: 21.97 kB / 2.919 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/6.601, allocations: 1.031 kB / 2.919 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/6.601, allocations: 1.406 kB / 2.919 GB, free: 205 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/6.602, allocations: 0.5356 MB / 2.919 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/6.602, allocations: 267.2 kB / 2.919 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/6.602, allocations: 0.7624 MB / 2.92 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/6.602, allocations: 0 / 2.92 GB, free: 203.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)