Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003551/0.003551, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6659/0.6659, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 391.4 MB, free: 13.09 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.001009/0.001009, allocations: 98.14 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.086e-06, allocations: 0 / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 81.59 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.373/5.575, allocations: 2.137 GB / 2.765 GB, free: 248.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.575, allocations: 85.92 kB / 2.765 GB, free: 248.7 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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/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/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/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/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/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/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.2673/5.842, allocations: 141.5 MB / 2.903 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.345e-05/5.842, allocations: 7.984 kB / 2.903 GB, free: 117.7 MB / 0.6667 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.0004597/5.843, allocations: 434.3 kB / 2.904 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/5.843, allocations: 8.031 kB / 2.904 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/5.843, allocations: 27.62 kB / 2.904 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/5.843, allocations: 276.1 kB / 2.904 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/5.843, allocations: 4 kB / 2.904 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/5.843, allocations: 16 kB / 2.904 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000185/5.844, allocations: 92.78 kB / 2.904 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/5.844, allocations: 292.7 kB / 2.904 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/5.844, allocations: 3.938 kB / 2.904 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/5.844, allocations: 4 kB / 2.904 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/5.844, allocations: 8 kB / 2.904 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/5.845, allocations: 1.88 MB / 2.906 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/5.845, allocations: 173.1 kB / 2.906 GB, free: 114.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/5.845, allocations: 80.14 kB / 2.907 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/5.845, allocations: 75.28 kB / 2.907 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/5.845, allocations: 105.8 kB / 2.907 GB, free: 114 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/5.845, allocations: 0 / 2.907 GB, free: 114 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 8.557e-05/5.845, allocations: 57.56 kB / 2.907 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/5.845, allocations: 51.41 kB / 2.907 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/5.845, allocations: 142.3 kB / 2.907 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/5.845, allocations: 25.7 kB / 2.907 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/5.845, allocations: 171.4 kB / 2.907 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/5.846, allocations: 0 / 2.907 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/5.846, allocations: 0 / 2.907 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/5.846, allocations: 322.8 kB / 2.907 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/5.846, allocations: 4 kB / 2.907 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/5.846, allocations: 54.88 kB / 2.907 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/5.846, allocations: 23.92 kB / 2.908 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/5.846, allocations: 0 / 2.908 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001504/5.846, allocations: 73.47 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/5.846, allocations: 4.219 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/5.846, allocations: 4 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/5.846, allocations: 11.83 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/5.846, allocations: 16.25 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/5.846, allocations: 7.984 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/5.846, allocations: 7.938 kB / 2.908 GB, free: 113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/5.846, allocations: 4 kB / 2.908 GB, free: 113 MB / 0.6667 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 5.994e-05/5.846, allocations: 188.1 kB / 2.908 GB, free: 112.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/5.846, allocations: 112.9 kB / 2.908 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/5.846, allocations: 117.4 kB / 2.908 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/5.846, allocations: 180.3 kB / 2.908 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/5.846, allocations: 184.3 kB / 2.908 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/5.846, allocations: 180.2 kB / 2.909 GB, free: 112 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/5.847, allocations: 441.6 kB / 2.909 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/5.847, allocations: 105 kB / 2.909 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/5.847, allocations: 108.9 kB / 2.909 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-05/5.847, allocations: 180.3 kB / 2.909 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/5.847, allocations: 176.3 kB / 2.91 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.073e-05/5.847, allocations: 185.5 kB / 2.91 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.021e-05/5.847, allocations: 180.3 kB / 2.91 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.775e-05/5.847, allocations: 323.6 kB / 2.91 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/5.847, allocations: 182 kB / 2.91 GB, free: 110 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/5.847, allocations: 180.3 kB / 2.911 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/5.847, allocations: 108.9 kB / 2.911 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/5.847, allocations: 184.2 kB / 2.911 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/5.847, allocations: 101.3 kB / 2.911 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.784e-05/5.847, allocations: 127.5 kB / 2.911 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004069/5.848, allocations: 67.83 kB / 2.911 GB, free: 109.2 MB / 0.6667 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.0008273/5.848, allocations: 0.7413 MB / 2.912 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.262e-05/5.848, allocations: 15.94 kB / 2.912 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.848, allocations: 0.5 kB / 2.912 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/5.848, allocations: 3.938 kB / 2.912 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/5.849, allocations: 0.538 MB / 2.912 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/5.849, allocations: 271.1 kB / 2.913 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/5.849, allocations: 0.766 MB / 2.913 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/5.849, allocations: 0 / 2.913 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.007167/5.857, allocations: 4.034 MB / 2.917 GB, free: 102.8 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)