Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 387.2 MB / 394.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 173.3 kB / 487 MB, free: 5.297 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.000962, allocations: 108.5 kB / 0.9213 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7269/0.7279, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/1.034, allocations: 142.4 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.665/5.699, allocations: 1.895 GB / 3.1 GB, free: 365.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/5.7, allocations: 88.86 kB / 3.1 GB, free: 365.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.285/8.985, allocations: 1.012 GB / 4.112 GB, free: 209.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/8.985, allocations: 7.562 kB / 4.112 GB, free: 209.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/8.988, allocations: 0.5916 MB / 4.113 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/8.992, allocations: 1.087 MB / 4.114 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/8.993, allocations: 174.4 kB / 4.114 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/8.993, allocations: 50.5 kB / 4.114 GB, free: 208.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002135/8.995, allocations: 1.012 MB / 4.115 GB, free: 207.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/8.997, allocations: 1.052 MB / 4.116 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/8.997, allocations: 1.188 kB / 4.116 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/8.997, allocations: 3.938 kB / 4.116 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.877e-05/8.997, allocations: 46.22 kB / 4.116 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008153/9.005, allocations: 4.103 MB / 4.12 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/9.007, allocations: 0.7321 MB / 4.121 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/9.007, allocations: 0.5038 MB / 4.121 GB, free: 203.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/9.009, allocations: 0.6211 MB / 4.122 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/9.009, allocations: 39.06 kB / 4.122 GB, free: 202.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/9.009, allocations: 0 / 4.122 GB, free: 202.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003077/9.012, allocations: 1.189 MB / 4.123 GB, free: 202.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/9.012, allocations: 62.31 kB / 4.123 GB, free: 202.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/9.013, allocations: 0.5693 MB / 4.124 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/9.013, allocations: 29.45 kB / 4.124 GB, free: 201.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/9.013, allocations: 330.2 kB / 4.124 GB, free: 201.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/9.013, allocations: 243.4 kB / 4.124 GB, free: 201.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/9.013, allocations: 0 / 4.124 GB, free: 201.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/9.013, allocations: 340.7 kB / 4.125 GB, free: 201 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/9.014, allocations: 405.2 kB / 4.125 GB, free: 200.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/9.015, allocations: 0.5394 MB / 4.125 GB, free: 200.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/9.016, allocations: 0.6195 MB / 4.126 GB, free: 200.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/9.016, allocations: 3.469 kB / 4.126 GB, free: 200.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002816/9.019, allocations: 1.212 MB / 4.127 GB, free: 199.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/9.019, allocations: 454.1 kB / 4.128 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/9.019, allocations: 0.8438 kB / 4.128 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/9.019, allocations: 4.406 kB / 4.128 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/9.021, allocations: 291.4 kB / 4.128 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/9.022, allocations: 1.207 MB / 4.129 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/9.024, allocations: 186.3 kB / 4.129 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/9.024, allocations: 41.94 kB / 4.129 GB, free: 197.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/9.024, allocations: 3.812 kB / 4.129 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/9.027, allocations: 1.097 MB / 4.13 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/9.027, allocations: 7.891 kB / 4.13 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/9.027, allocations: 3.844 kB / 4.13 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/9.029, allocations: 272 kB / 4.131 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/9.029, allocations: 4.25 kB / 4.131 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/9.031, allocations: 182.9 kB / 4.131 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/9.031, allocations: 41.84 kB / 4.131 GB, free: 197.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004275/9.031, allocations: 122.5 kB / 4.131 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/9.032, allocations: 96.75 kB / 4.131 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/9.035, allocations: 1.266 MB / 4.132 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/9.035, allocations: 6.844 kB / 4.132 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/9.035, allocations: 4.719 kB / 4.132 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/9.035, allocations: 3.984 kB / 4.132 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/9.04, allocations: 2.647 MB / 4.135 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/9.04, allocations: 0 / 4.135 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/9.042, allocations: 269 kB / 4.135 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/9.042, allocations: 8 kB / 4.135 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/9.042, allocations: 23.97 kB / 4.135 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005577/9.042, allocations: 1.202 MB / 4.136 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/9.042, allocations: 4 kB / 4.136 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002277/9.045, allocations: 1.539 MB / 4.138 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002805/9.047, allocations: 2.058 MB / 4.14 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/9.048, allocations: 315.5 kB / 4.14 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/9.048, allocations: 4 kB / 4.14 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/9.05, allocations: 168.5 kB / 4.14 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/9.05, allocations: 59.98 kB / 4.14 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/9.05, allocations: 39.97 kB / 4.141 GB, free: 187.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005787/9.051, allocations: 443.1 kB / 4.141 GB, free: 187.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004546/9.055, allocations: 1.295 MB / 4.142 GB, free: 186.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003835/9.059, allocations: 2.64 MB / 4.145 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003722/9.063, allocations: 1.601 MB / 4.146 GB, free: 182.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/9.063, allocations: 7.469 kB / 4.146 GB, free: 182.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009643/9.064, allocations: 0.5405 MB / 4.147 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/9.066, allocations: 408.3 kB / 4.147 GB, free: 181.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/9.082, allocations: 2.421 MB / 4.15 GB, free: 178.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/9.084, allocations: 1.237 MB / 4.151 GB, free: 177.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/9.084, allocations: 0 / 4.151 GB, free: 177.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)