Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet") [: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.001888/0.001888, allocations: 179.5 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5903/0.5903, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.112/1.112, 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.0007913/0.0007913, allocations: 101 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.48e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.136/3.249, allocations: 2.124 GB / 2.758 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/3.25, allocations: 75.95 kB / 2.758 GB, free: 116.5 MB / 0.6823 GB [/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$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/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$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/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$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/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$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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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: Performance of FrontEnd: time 0.601/3.851, allocations: 223.3 MB / 2.976 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.613e-05/3.851, allocations: 8 kB / 2.976 GB, free: 168.8 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000396/3.851, allocations: 446.6 kB / 2.976 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/3.851, allocations: 11.97 kB / 2.976 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/3.851, allocations: 55.69 kB / 2.976 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/3.852, allocations: 258.2 kB / 2.976 GB, free: 168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/3.852, allocations: 127.3 kB / 2.977 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/3.852, allocations: 12 kB / 2.977 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002175/3.852, allocations: 136.9 kB / 2.977 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/3.852, allocations: 257 kB / 2.977 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/3.852, allocations: 0 / 2.977 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/3.852, allocations: 0 / 2.977 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/3.852, allocations: 11.94 kB / 2.977 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/3.853, allocations: 1.528 MB / 2.978 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.815e-05/3.853, allocations: 165.1 kB / 2.979 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/3.853, allocations: 80.14 kB / 2.979 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/3.853, allocations: 79.22 kB / 2.979 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/3.853, allocations: 117.8 kB / 2.979 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/3.853, allocations: 0 / 2.979 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.935e-05/3.853, allocations: 41.52 kB / 2.979 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.402e-05/3.853, allocations: 51.41 kB / 2.979 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/3.854, allocations: 197.4 kB / 2.979 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/3.854, allocations: 29.7 kB / 2.979 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/3.854, allocations: 195 kB / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/3.854, allocations: 4 kB / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/3.854, allocations: 0 / 2.979 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/3.854, allocations: 326.8 kB / 2.98 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/3.854, allocations: 39.92 kB / 2.98 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/3.854, allocations: 154.8 kB / 2.98 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/3.854, allocations: 63.89 kB / 2.98 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/3.854, allocations: 0 / 2.98 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003033/3.854, allocations: 185.1 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/3.854, allocations: 4 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/3.854, allocations: 4.625 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/3.854, allocations: 8 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/3.855, allocations: 43.91 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/3.855, allocations: 15.92 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/3.855, allocations: 23.69 kB / 2.98 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/3.855, allocations: 12 kB / 2.98 GB, free: 163.8 MB / 0.6823 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 5.233e-05/3.855, allocations: 184.2 kB / 2.98 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/3.855, allocations: 117.3 kB / 2.981 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/3.855, allocations: 117.5 kB / 2.981 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/3.855, allocations: 184.2 kB / 2.981 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/3.855, allocations: 180.3 kB / 2.981 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/3.855, allocations: 176.3 kB / 2.981 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/3.855, allocations: 453.6 kB / 2.982 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/3.855, allocations: 101 kB / 2.982 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/3.855, allocations: 113 kB / 2.982 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-05/3.855, allocations: 180.2 kB / 2.982 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/3.855, allocations: 176.3 kB / 2.982 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/3.855, allocations: 184.2 kB / 2.982 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.66e-05/3.855, allocations: 186 kB / 2.982 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.656e-05/3.855, allocations: 315.6 kB / 2.983 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/3.855, allocations: 193.9 kB / 2.983 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/3.855, allocations: 176.3 kB / 2.983 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/3.856, allocations: 101 kB / 2.983 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/3.856, allocations: 192.2 kB / 2.983 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/3.856, allocations: 105 kB / 2.984 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.801e-05/3.856, allocations: 156.2 kB / 2.984 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004079/3.856, allocations: 107.8 kB / 2.984 GB, free: 160 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.0009479/3.857, allocations: 1.148 MB / 2.985 GB, free: 159 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001252/3.857, allocations: 76.97 kB / 2.985 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/3.857, allocations: 8 kB / 2.985 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/3.857, allocations: 0 / 2.985 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/3.857, allocations: 0.5265 MB / 2.985 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/3.858, allocations: 267.4 kB / 2.986 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/3.858, allocations: 0.7699 MB / 2.986 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/3.858, allocations: 0 / 2.986 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.00931/3.867, allocations: 7.076 MB / 2.993 GB, free: 150.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)