Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.071/2.071, allocations: 387.2 MB / 394.5 MB, free: 4.434 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 181.2 kB / 487 MB, free: 10.91 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7819 GB, free: 3.914 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 92.62 kB / 0.9213 GB, free: 5.016 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.6515/0.6526, allocations: 148.5 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.9866, allocations: 142.3 MB / 1.205 GB, free: 14.58 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.724/5.711, allocations: 1.895 GB / 3.1 GB, free: 294.6 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/5.711, allocations: 80.2 kB / 3.1 GB, free: 294.5 MB / 1.143 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.386/9.097, allocations: 1.011 GB / 4.112 GB, free: 152.8 MB / 1.175 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/9.097, allocations: 12 kB / 4.112 GB, free: 152.8 MB / 1.175 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/9.101, allocations: 0.5954 MB / 4.112 GB, free: 152.2 MB / 1.175 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/9.104, allocations: 1.077 MB / 4.113 GB, free: 151.1 MB / 1.175 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/9.105, allocations: 177.9 kB / 4.113 GB, free: 150.9 MB / 1.175 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/9.105, allocations: 52 kB / 4.113 GB, free: 150.8 MB / 1.175 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001769/9.107, allocations: 1.011 MB / 4.114 GB, free: 149.8 MB / 1.175 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/9.108, allocations: 1.052 MB / 4.115 GB, free: 148.8 MB / 1.175 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/9.108, allocations: 4 kB / 4.115 GB, free: 148.7 MB / 1.175 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/9.108, allocations: 0 / 4.115 GB, free: 148.7 MB / 1.175 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/9.109, allocations: 41.98 kB / 4.115 GB, free: 148.7 MB / 1.175 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007265/9.116, allocations: 4.107 MB / 4.119 GB, free: 144.4 MB / 1.175 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/9.117, allocations: 0.7269 MB / 4.12 GB, free: 143.7 MB / 1.175 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/9.118, allocations: 0.5003 MB / 4.121 GB, free: 143.2 MB / 1.175 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/9.119, allocations: 0.6199 MB / 4.121 GB, free: 142.4 MB / 1.175 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/9.119, allocations: 47.2 kB / 4.121 GB, free: 142.4 MB / 1.175 GB Notification: Performance of pre-optimization done (n=76): time 4.228e-06/9.119, allocations: 0 / 4.121 GB, free: 142.4 MB / 1.175 GB Notification: Performance of matching and sorting (n=76): time 0.002613/9.121, allocations: 1.19 MB / 4.122 GB, free: 141.2 MB / 1.175 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/9.121, allocations: 60.06 kB / 4.123 GB, free: 141.1 MB / 1.175 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/9.122, allocations: 0.5707 MB / 4.123 GB, free: 140.5 MB / 1.175 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/9.122, allocations: 25.7 kB / 4.123 GB, free: 140.5 MB / 1.175 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/9.122, allocations: 328.3 kB / 4.123 GB, free: 140.2 MB / 1.175 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/9.122, allocations: 244.3 kB / 4.124 GB, free: 139.9 MB / 1.175 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/9.123, allocations: 4 kB / 4.124 GB, free: 139.9 MB / 1.175 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/9.123, allocations: 337.9 kB / 4.124 GB, free: 139.6 MB / 1.175 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/9.123, allocations: 413.4 kB / 4.124 GB, free: 139.2 MB / 1.175 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/9.124, allocations: 0.5347 MB / 4.125 GB, free: 138.6 MB / 1.175 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/9.125, allocations: 0.612 MB / 4.125 GB, free: 138 MB / 1.175 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/9.125, allocations: 4 kB / 4.125 GB, free: 138 MB / 1.175 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002189/9.127, allocations: 1.213 MB / 4.127 GB, free: 136.8 MB / 1.175 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/9.127, allocations: 451.6 kB / 4.127 GB, free: 136.3 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/9.127, allocations: 8 kB / 4.127 GB, free: 136.3 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/9.127, allocations: 4 kB / 4.127 GB, free: 136.3 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/9.129, allocations: 299 kB / 4.127 GB, free: 136 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000686/9.13, allocations: 1.207 MB / 4.129 GB, free: 134.7 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/9.131, allocations: 179.5 kB / 4.129 GB, free: 134.6 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/9.132, allocations: 39.97 kB / 4.129 GB, free: 134.5 MB / 1.175 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/9.132, allocations: 4 kB / 4.129 GB, free: 134.5 MB / 1.175 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/9.134, allocations: 1.099 MB / 4.13 GB, free: 133.4 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/9.134, allocations: 3.906 kB / 4.13 GB, free: 133.4 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/9.134, allocations: 4 kB / 4.13 GB, free: 133.4 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/9.135, allocations: 275.8 kB / 4.13 GB, free: 133.1 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/9.135, allocations: 7.984 kB / 4.13 GB, free: 133.1 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/9.136, allocations: 179.4 kB / 4.13 GB, free: 133 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/9.137, allocations: 39.97 kB / 4.13 GB, free: 132.9 MB / 1.175 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.0002763/9.137, allocations: 120.8 kB / 4.13 GB, free: 132.8 MB / 1.175 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/9.137, allocations: 98.78 kB / 4.131 GB, free: 132.7 MB / 1.175 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/9.14, allocations: 1.267 MB / 4.132 GB, free: 131.4 MB / 1.175 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/9.14, allocations: 8 kB / 4.132 GB, free: 131.4 MB / 1.175 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/9.14, allocations: 3.906 kB / 4.132 GB, free: 131.4 MB / 1.175 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/9.14, allocations: 3.984 kB / 4.132 GB, free: 131.4 MB / 1.175 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/9.144, allocations: 2.637 MB / 4.134 GB, free: 128.7 MB / 1.175 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/9.144, allocations: 8.094 kB / 4.134 GB, free: 128.7 MB / 1.175 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/9.146, allocations: 267.2 kB / 4.135 GB, free: 128.4 MB / 1.175 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/9.146, allocations: 8 kB / 4.135 GB, free: 128.4 MB / 1.175 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/9.146, allocations: 19.98 kB / 4.135 GB, free: 128.4 MB / 1.175 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004589/9.146, allocations: 1.203 MB / 4.136 GB, free: 127.2 MB / 1.175 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/9.146, allocations: 4 kB / 4.136 GB, free: 127.1 MB / 1.175 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002129/9.148, allocations: 1.548 MB / 4.137 GB, free: 125.4 MB / 1.175 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002592/9.151, allocations: 2.062 MB / 4.139 GB, free: 123.2 MB / 1.175 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/9.151, allocations: 315.5 kB / 4.14 GB, free: 122.9 MB / 1.175 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/9.152, allocations: 8 kB / 4.14 GB, free: 122.9 MB / 1.175 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/9.153, allocations: 159.8 kB / 4.14 GB, free: 122.7 MB / 1.175 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/9.153, allocations: 60.33 kB / 4.14 GB, free: 122.7 MB / 1.175 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/9.153, allocations: 35.97 kB / 4.14 GB, free: 122.6 MB / 1.175 GB Notification: Performance of sort global known variables: time 0.000563/9.154, allocations: 447.1 kB / 4.14 GB, free: 122.2 MB / 1.175 GB Notification: Performance of remove unused functions: time 0.004417/9.158, allocations: 1.284 MB / 4.142 GB, free: 120.9 MB / 1.175 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.003786/9.162, allocations: 2.632 MB / 4.144 GB, free: 118.4 MB / 1.175 GB Notification: Performance of simCode: created initialization part: time 0.003168/9.165, allocations: 1.609 MB / 4.146 GB, free: 116.8 MB / 1.175 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/9.165, allocations: 3.938 kB / 4.146 GB, free: 116.8 MB / 1.175 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/9.166, allocations: 0.5405 MB / 4.146 GB, free: 116.2 MB / 1.175 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/9.169, allocations: 408.6 kB / 4.147 GB, free: 115.8 MB / 1.175 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/9.185, allocations: 2.427 MB / 4.149 GB, free: 113.3 MB / 1.175 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/9.186, allocations: 1.247 MB / 4.15 GB, free: 112 MB / 1.175 GB Notification: Performance of SimCode: time 8.92e-07/9.186, allocations: 0 / 4.15 GB, free: 112 MB / 1.175 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)