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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [: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.002032/0.002032, allocations: 178.6 kB / 7.454 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.5978/0.5978, 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.152/1.152, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008679/0.0008679, allocations: 105.4 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.134e-06, allocations: 4 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.021/3.134, allocations: 2.138 GB / 2.771 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/3.134, allocations: 88.64 kB / 2.771 GB, free: 86.67 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: Performance of FrontEnd: time 0.436/3.57, allocations: 141.5 MB / 2.909 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.041e-05/3.57, allocations: 9.219 kB / 2.909 GB, free: 213.5 MB / 0.6823 GB 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.0003795/3.571, allocations: 438.8 kB / 2.91 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/3.571, allocations: 8.781 kB / 2.91 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/3.571, allocations: 30.25 kB / 2.91 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/3.571, allocations: 259 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/3.571, allocations: 11.31 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/3.571, allocations: 15.03 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/3.571, allocations: 91.53 kB / 2.91 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/3.571, allocations: 294.6 kB / 2.91 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/3.572, allocations: 1.969 kB / 2.91 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/3.572, allocations: 2.469 kB / 2.91 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/3.572, allocations: 5.812 kB / 2.91 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/3.572, allocations: 1.886 MB / 2.912 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/3.572, allocations: 173.8 kB / 2.912 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/3.572, allocations: 88.12 kB / 2.912 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/3.572, allocations: 78.92 kB / 2.912 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/3.573, allocations: 107.6 kB / 2.913 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/3.573, allocations: 1.031 kB / 2.913 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.669e-05/3.573, allocations: 35.55 kB / 2.913 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/3.573, allocations: 51.41 kB / 2.913 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/3.573, allocations: 153.4 kB / 2.913 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/3.573, allocations: 25.7 kB / 2.913 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/3.573, allocations: 178.1 kB / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/3.573, allocations: 3.938 kB / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/3.573, allocations: 1.531 kB / 2.913 GB, free: 210 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.396e-05/3.573, allocations: 316.1 kB / 2.913 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/3.573, allocations: 8.062 kB / 2.913 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/3.573, allocations: 55.09 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/3.573, allocations: 13.94 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/3.573, allocations: 1.25 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/3.573, allocations: 77.59 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/3.573, allocations: 7.094 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/3.573, allocations: 2.672 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/3.573, allocations: 3.375 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/3.573, allocations: 16.95 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/3.573, allocations: 7.672 kB / 2.913 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/3.573, allocations: 8.906 kB / 2.914 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/3.573, allocations: 9.641 kB / 2.914 GB, free: 209.6 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 4.53e-05/3.573, allocations: 187 kB / 2.914 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/3.573, allocations: 111.6 kB / 2.914 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/3.573, allocations: 115.1 kB / 2.914 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/3.574, allocations: 185.6 kB / 2.914 GB, free: 209 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/3.574, allocations: 178.1 kB / 2.914 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/3.574, allocations: 181.9 kB / 2.914 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/3.574, allocations: 445.5 kB / 2.915 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/3.574, allocations: 110.2 kB / 2.915 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/3.574, allocations: 101.6 kB / 2.915 GB, free: 208 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/3.574, allocations: 181.8 kB / 2.915 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/3.574, allocations: 178.1 kB / 2.915 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-05/3.574, allocations: 187.7 kB / 2.916 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.269e-05/3.574, allocations: 184 kB / 2.916 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.818e-05/3.574, allocations: 312.5 kB / 2.916 GB, free: 207 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/3.574, allocations: 186.7 kB / 2.916 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/3.574, allocations: 189.2 kB / 2.916 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/3.574, allocations: 108.7 kB / 2.917 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/3.574, allocations: 177.6 kB / 2.917 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/3.574, allocations: 102.3 kB / 2.917 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.397e-05/3.574, allocations: 119.7 kB / 2.917 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003161/3.575, allocations: 73.09 kB / 2.917 GB, free: 206.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.0007731/3.575, allocations: 0.7422 MB / 2.918 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/3.575, allocations: 19.8 kB / 2.918 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/3.575, allocations: 0 / 2.918 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/3.575, allocations: 6.406 kB / 2.918 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/3.576, allocations: 0.5278 MB / 2.918 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/3.576, allocations: 268.8 kB / 2.918 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/3.576, allocations: 0.7599 MB / 2.919 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/3.576, allocations: 0 / 2.919 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.006726/3.583, allocations: 4.045 MB / 2.923 GB, free: 202.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)