Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.425/1.425, allocations: 285.5 MB / 292.8 MB, free: 9.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 179.6 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.1 MB / 0.6195 GB, free: 2.957 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 100.9 kB / 0.7326 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4093/0.4101, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.6039, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.375/3.979, allocations: 2.089 GB / 3.052 GB, free: 283.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/3.979, allocations: 80.7 kB / 3.052 GB, free: 283.2 MB / 0.948 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.282/7.261, allocations: 1.003 GB / 4.056 GB, free: 152.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/7.261, allocations: 11.38 kB / 4.056 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/7.265, allocations: 0.5924 MB / 4.056 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/7.268, allocations: 1.061 MB / 4.057 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006061/7.268, allocations: 176.1 kB / 4.057 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/7.269, allocations: 52.5 kB / 4.057 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002006/7.271, allocations: 1.053 MB / 4.058 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/7.273, allocations: 1.035 MB / 4.059 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/7.273, allocations: 0 / 4.059 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/7.273, allocations: 3.969 kB / 4.059 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/7.273, allocations: 45.52 kB / 4.059 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/7.28, allocations: 4.114 MB / 4.063 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/7.281, allocations: 0.7204 MB / 4.064 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/7.282, allocations: 0.4999 MB / 4.065 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/7.283, allocations: 0.6222 MB / 4.065 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/7.283, allocations: 40.16 kB / 4.065 GB, free: 149.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.816e-06/7.283, allocations: 0 / 4.065 GB, free: 149.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002749/7.286, allocations: 1.191 MB / 4.066 GB, free: 149.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/7.286, allocations: 58.69 kB / 4.067 GB, free: 149.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/7.286, allocations: 0.5726 MB / 4.067 GB, free: 149.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/7.287, allocations: 29.48 kB / 4.067 GB, free: 149.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/7.287, allocations: 324.8 kB / 4.067 GB, free: 149.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/7.287, allocations: 251.1 kB / 4.068 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/7.287, allocations: 0 / 4.068 GB, free: 149.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/7.287, allocations: 336.4 kB / 4.068 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/7.288, allocations: 408.8 kB / 4.068 GB, free: 148.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/7.289, allocations: 0.5402 MB / 4.069 GB, free: 148.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/7.29, allocations: 0.6124 MB / 4.07 GB, free: 148.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/7.29, allocations: 3.312 kB / 4.07 GB, free: 148.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002522/7.293, allocations: 1.217 MB / 4.071 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/7.293, allocations: 455.2 kB / 4.071 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/7.293, allocations: 3.188 kB / 4.071 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/7.293, allocations: 7 kB / 4.071 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/7.295, allocations: 295.2 kB / 4.071 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/7.295, allocations: 1.204 MB / 4.073 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/7.297, allocations: 185.2 kB / 4.073 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/7.297, allocations: 39.91 kB / 4.073 GB, free: 147 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/7.297, allocations: 10.94 kB / 4.073 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001882/7.299, allocations: 1.096 MB / 4.074 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/7.299, allocations: 3.781 kB / 4.074 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/7.299, allocations: 6.688 kB / 4.074 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/7.3, allocations: 261.4 kB / 4.074 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/7.3, allocations: 10.19 kB / 4.074 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/7.302, allocations: 187.6 kB / 4.074 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/7.302, allocations: 38.16 kB / 4.074 GB, free: 146.9 MB / 0.948 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.0002858/7.302, allocations: 120.1 kB / 4.075 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/7.302, allocations: 96.69 kB / 4.075 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/7.305, allocations: 1.267 MB / 4.076 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/7.305, allocations: 4.531 kB / 4.076 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/7.305, allocations: 3.781 kB / 4.076 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/7.305, allocations: 6.344 kB / 4.076 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/7.31, allocations: 2.641 MB / 4.078 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/7.31, allocations: 3.625 kB / 4.078 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/7.311, allocations: 270.9 kB / 4.079 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/7.311, allocations: 14.84 kB / 4.079 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/7.311, allocations: 15.5 kB / 4.079 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004387/7.312, allocations: 1.207 MB / 4.08 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/7.312, allocations: 3.906 kB / 4.08 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002159/7.314, allocations: 1.538 MB / 4.081 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002573/7.317, allocations: 2.06 MB / 4.083 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/7.317, allocations: 306.8 kB / 4.084 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/7.317, allocations: 7.438 kB / 4.084 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/7.319, allocations: 168 kB / 4.084 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/7.319, allocations: 58.58 kB / 4.084 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/7.319, allocations: 39.94 kB / 4.084 GB, free: 143.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005904/7.32, allocations: 444.3 kB / 4.084 GB, free: 143.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004508/7.324, allocations: 1.288 MB / 4.086 GB, free: 143.4 MB / 0.948 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.004281/7.329, allocations: 2.63 MB / 4.088 GB, free: 142.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003661/7.332, allocations: 1.607 MB / 4.09 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/7.332, allocations: 10.45 kB / 4.09 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/7.333, allocations: 0.5413 MB / 4.09 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/7.336, allocations: 408.6 kB / 4.091 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/7.351, allocations: 2.432 MB / 4.093 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/7.352, allocations: 1.236 MB / 4.094 GB, free: 141.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/7.352, allocations: 0 / 4.094 GB, free: 141.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)