Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.159/2.159, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 182.9 kB / 490.8 MB, free: 11.27 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.63/1.63, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 87.25 kB / 0.9264 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3875/0.3886, allocations: 149.1 MB / 1.072 GB, free: 15.53 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9875/1.376, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.612/5.988, allocations: 1.896 GB / 3.107 GB, free: 238.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.988, allocations: 87.95 kB / 3.108 GB, free: 238.1 MB / 1.167 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.564/9.552, allocations: 1.012 GB / 4.119 GB, free: 101 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/9.552, allocations: 8.219 kB / 4.119 GB, free: 101 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/9.556, allocations: 0.5993 MB / 4.12 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/9.559, allocations: 1.086 MB / 4.121 GB, free: 99.27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006502/9.56, allocations: 177.8 kB / 4.121 GB, free: 99.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/9.56, allocations: 51.98 kB / 4.121 GB, free: 99.05 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001995/9.562, allocations: 1.015 MB / 4.122 GB, free: 98.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/9.564, allocations: 1.041 MB / 4.123 GB, free: 96.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/9.564, allocations: 3.938 kB / 4.123 GB, free: 96.97 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/9.565, allocations: 3.984 kB / 4.123 GB, free: 96.97 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/9.565, allocations: 45.97 kB / 4.123 GB, free: 96.92 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008165/9.573, allocations: 4.099 MB / 4.127 GB, free: 92.59 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/9.574, allocations: 0.7195 MB / 4.128 GB, free: 91.86 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/9.575, allocations: 0.5084 MB / 4.128 GB, free: 91.35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009514/9.576, allocations: 0.6164 MB / 4.129 GB, free: 90.62 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/9.576, allocations: 43.22 kB / 4.129 GB, free: 90.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/9.576, allocations: 0 / 4.129 GB, free: 90.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002824/9.579, allocations: 1.19 MB / 4.13 GB, free: 89.38 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/9.579, allocations: 60.06 kB / 4.13 GB, free: 89.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/9.58, allocations: 0.5668 MB / 4.131 GB, free: 88.73 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/9.58, allocations: 29.7 kB / 4.131 GB, free: 88.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/9.58, allocations: 332.3 kB / 4.131 GB, free: 88.36 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/9.58, allocations: 248.2 kB / 4.131 GB, free: 88.12 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/9.58, allocations: 0 / 4.131 GB, free: 88.12 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/9.58, allocations: 337.9 kB / 4.132 GB, free: 87.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/9.581, allocations: 405.4 kB / 4.132 GB, free: 87.39 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/9.582, allocations: 0.5425 MB / 4.133 GB, free: 86.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/9.583, allocations: 0.612 MB / 4.133 GB, free: 86.18 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/9.583, allocations: 0 / 4.133 GB, free: 86.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002345/9.585, allocations: 1.217 MB / 4.134 GB, free: 84.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/9.585, allocations: 451.6 kB / 4.135 GB, free: 84.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/9.585, allocations: 0 / 4.135 GB, free: 84.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/9.585, allocations: 8 kB / 4.135 GB, free: 84.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/9.587, allocations: 295.5 kB / 4.135 GB, free: 84.19 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008464/9.588, allocations: 1.211 MB / 4.136 GB, free: 82.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/9.59, allocations: 179.5 kB / 4.136 GB, free: 82.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/9.59, allocations: 35.97 kB / 4.137 GB, free: 82.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/9.59, allocations: 7.281 kB / 4.137 GB, free: 82.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002173/9.592, allocations: 1.103 MB / 4.138 GB, free: 81.61 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/9.592, allocations: 0 / 4.138 GB, free: 81.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/9.592, allocations: 4 kB / 4.138 GB, free: 81.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/9.594, allocations: 279.7 kB / 4.138 GB, free: 81.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/9.594, allocations: 7.906 kB / 4.138 GB, free: 81.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/9.595, allocations: 179.4 kB / 4.138 GB, free: 81.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/9.595, allocations: 39.95 kB / 4.138 GB, free: 81.11 MB / 1.167 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.0002883/9.596, allocations: 120.8 kB / 4.138 GB, free: 80.98 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/9.596, allocations: 98.78 kB / 4.138 GB, free: 80.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/9.599, allocations: 1.271 MB / 4.14 GB, free: 79.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/9.599, allocations: 8 kB / 4.14 GB, free: 79.59 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/9.599, allocations: 3.984 kB / 4.14 GB, free: 79.59 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/9.599, allocations: 0 / 4.14 GB, free: 79.59 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/9.604, allocations: 2.647 MB / 4.142 GB, free: 76.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/9.604, allocations: 4 kB / 4.142 GB, free: 76.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/9.605, allocations: 266.5 kB / 4.142 GB, free: 76.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/9.605, allocations: 8 kB / 4.142 GB, free: 76.58 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/9.605, allocations: 19.97 kB / 4.142 GB, free: 76.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004704/9.606, allocations: 1.207 MB / 4.144 GB, free: 75.31 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/9.606, allocations: 4 kB / 4.144 GB, free: 75.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002331/9.608, allocations: 1.534 MB / 4.145 GB, free: 73.62 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00273/9.611, allocations: 2.054 MB / 4.147 GB, free: 71.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/9.611, allocations: 311.6 kB / 4.147 GB, free: 71.08 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/9.612, allocations: 4 kB / 4.147 GB, free: 71.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/9.613, allocations: 179.6 kB / 4.148 GB, free: 70.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/9.614, allocations: 52.28 kB / 4.148 GB, free: 70.85 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/9.614, allocations: 39.97 kB / 4.148 GB, free: 70.81 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006671/9.614, allocations: 447.1 kB / 4.148 GB, free: 70.38 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004929/9.619, allocations: 1.284 MB / 4.149 GB, free: 69.09 MB / 1.167 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.003998/9.623, allocations: 2.638 MB / 4.152 GB, free: 66.27 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003263/9.627, allocations: 1.613 MB / 4.153 GB, free: 64.64 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/9.627, allocations: 0 / 4.153 GB, free: 64.64 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009585/9.628, allocations: 0.5417 MB / 4.154 GB, free: 64.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/9.63, allocations: 408.9 kB / 4.154 GB, free: 63.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/9.646, allocations: 2.428 MB / 4.157 GB, free: 61.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/9.647, allocations: 1.236 MB / 4.158 GB, free: 59.92 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/9.647, allocations: 4 kB / 4.158 GB, free: 59.92 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)