Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001206/0.001206, allocations: 177.2 kB / 490.8 MB, free: 1.938 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.727/1.727, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 91.92 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8999/0.9011, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/1.204, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.158/6.362, allocations: 1.896 GB / 3.107 GB, free: 428.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/6.363, allocations: 81.8 kB / 3.108 GB, free: 428.1 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.684/10.05, allocations: 1.012 GB / 4.119 GB, free: 216.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/10.05, allocations: 9.188 kB / 4.119 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/10.05, allocations: 0.5973 MB / 4.12 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/10.06, allocations: 1.079 MB / 4.121 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007579/10.06, allocations: 185.3 kB / 4.121 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/10.06, allocations: 49.56 kB / 4.121 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002397/10.06, allocations: 1.016 MB / 4.122 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/10.06, allocations: 1.048 MB / 4.123 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/10.06, allocations: 1.125 kB / 4.123 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/10.06, allocations: 0 / 4.123 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.841e-05/10.06, allocations: 44.5 kB / 4.123 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009351/10.07, allocations: 4.114 MB / 4.127 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/10.07, allocations: 0.7231 MB / 4.128 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/10.07, allocations: 0.5061 MB / 4.128 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/10.07, allocations: 0.6225 MB / 4.129 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/10.07, allocations: 42.72 kB / 4.129 GB, free: 213.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 5.531e-06/10.07, allocations: 0 / 4.129 GB, free: 213.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003348/10.08, allocations: 1.185 MB / 4.13 GB, free: 213.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/10.08, allocations: 66.53 kB / 4.13 GB, free: 213.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/10.08, allocations: 0.5629 MB / 4.131 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/10.08, allocations: 27.73 kB / 4.131 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/10.08, allocations: 330.1 kB / 4.131 GB, free: 213.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/10.08, allocations: 249 kB / 4.131 GB, free: 213.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/10.08, allocations: 1.5 kB / 4.131 GB, free: 213.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001239/10.08, allocations: 335.7 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/10.08, allocations: 409.6 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/10.08, allocations: 0.5345 MB / 4.133 GB, free: 212.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/10.08, allocations: 0.6178 MB / 4.133 GB, free: 212.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/10.08, allocations: 1.438 kB / 4.133 GB, free: 212.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003/10.09, allocations: 1.214 MB / 4.134 GB, free: 212.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/10.09, allocations: 458.2 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/10.09, allocations: 1.344 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/10.09, allocations: 3.938 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/10.09, allocations: 293.2 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009036/10.09, allocations: 1.208 MB / 4.136 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/10.09, allocations: 183 kB / 4.136 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/10.09, allocations: 45.23 kB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/10.09, allocations: 6.531 kB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/10.09, allocations: 1.091 MB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/10.09, allocations: 1.469 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/10.09, allocations: 9.25 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/10.1, allocations: 274.1 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/10.1, allocations: 6.469 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/10.1, allocations: 181.5 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/10.1, allocations: 39.28 kB / 4.138 GB, free: 211 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.0004838/10.1, allocations: 120.2 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/10.1, allocations: 97.09 kB / 4.138 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/10.1, allocations: 1.267 MB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/10.1, allocations: 7.844 kB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/10.1, allocations: 3.938 kB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/10.1, allocations: 5.391 kB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/10.11, allocations: 2.645 MB / 4.142 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/10.11, allocations: 4.031 kB / 4.142 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/10.11, allocations: 272.3 kB / 4.142 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.851e-05/10.11, allocations: 7.094 kB / 4.142 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/10.11, allocations: 18.61 kB / 4.142 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005356/10.11, allocations: 1.2 MB / 4.144 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/10.11, allocations: 9.156 kB / 4.144 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002789/10.12, allocations: 1.537 MB / 4.145 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003221/10.12, allocations: 2.061 MB / 4.147 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/10.12, allocations: 305.2 kB / 4.147 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/10.12, allocations: 12.34 kB / 4.147 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/10.12, allocations: 170.7 kB / 4.148 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/10.12, allocations: 57 kB / 4.148 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/10.12, allocations: 38.09 kB / 4.148 GB, free: 207.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001053/10.12, allocations: 446.4 kB / 4.148 GB, free: 207 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007923/10.13, allocations: 1.291 MB / 4.149 GB, free: 206.2 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.004097/10.14, allocations: 2.627 MB / 4.152 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003457/10.14, allocations: 1.618 MB / 4.153 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/10.14, allocations: 0 / 4.153 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/10.14, allocations: 0.5446 MB / 4.154 GB, free: 204.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/10.14, allocations: 403.1 kB / 4.154 GB, free: 204.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/10.16, allocations: 2.423 MB / 4.157 GB, free: 203.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/10.16, allocations: 1.237 MB / 4.158 GB, free: 203 MB / 1.151 GB Notification: Performance of SimCode: time 3.416e-06/10.16, allocations: 3.469 kB / 4.158 GB, free: 203 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)