Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001173/0.001173, allocations: 181.3 kB / 487 MB, free: 5.332 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.521/1.521, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.001047/0.001047, allocations: 90.58 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6957/0.6967, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.9954, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.912/5.907, allocations: 1.895 GB / 3.1 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/5.908, allocations: 85.77 kB / 3.1 GB, free: 360.6 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.235/9.143, allocations: 1.012 GB / 4.112 GB, free: 212 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/9.143, allocations: 14.34 kB / 4.112 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/9.147, allocations: 0.5943 MB / 4.113 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/9.15, allocations: 1.085 MB / 4.114 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006406/9.15, allocations: 182.9 kB / 4.114 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/9.151, allocations: 46.81 kB / 4.114 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001663/9.152, allocations: 1.014 MB / 4.115 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/9.154, allocations: 1.048 MB / 4.116 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/9.154, allocations: 0 / 4.116 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/9.154, allocations: 1.375 kB / 4.116 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/9.154, allocations: 46.44 kB / 4.116 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007398/9.162, allocations: 4.116 MB / 4.12 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/9.163, allocations: 0.7228 MB / 4.121 GB, free: 206.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/9.164, allocations: 0.5067 MB / 4.121 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/9.165, allocations: 0.6146 MB / 4.122 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/9.165, allocations: 43.19 kB / 4.122 GB, free: 205.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/9.165, allocations: 0 / 4.122 GB, free: 205.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003349/9.168, allocations: 1.19 MB / 4.123 GB, free: 204.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/9.168, allocations: 59.38 kB / 4.123 GB, free: 204.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/9.169, allocations: 0.5677 MB / 4.124 GB, free: 204.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/9.169, allocations: 28.27 kB / 4.124 GB, free: 204.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/9.17, allocations: 329.1 kB / 4.124 GB, free: 204.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/9.17, allocations: 246.8 kB / 4.124 GB, free: 203.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/9.17, allocations: 1.25 kB / 4.124 GB, free: 203.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/9.17, allocations: 341 kB / 4.125 GB, free: 203.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/9.171, allocations: 410 kB / 4.125 GB, free: 203.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/9.172, allocations: 0.542 MB / 4.125 GB, free: 202.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/9.173, allocations: 0.6106 MB / 4.126 GB, free: 202.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/9.173, allocations: 0 / 4.126 GB, free: 202.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002209/9.175, allocations: 1.219 MB / 4.127 GB, free: 201 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/9.175, allocations: 450.4 kB / 4.128 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/9.175, allocations: 0 / 4.128 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/9.175, allocations: 7.844 kB / 4.128 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/9.177, allocations: 289 kB / 4.128 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006383/9.178, allocations: 1.214 MB / 4.129 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/9.179, allocations: 186 kB / 4.129 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/9.179, allocations: 39.97 kB / 4.129 GB, free: 198.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/9.179, allocations: 4 kB / 4.129 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/9.181, allocations: 1.099 MB / 4.13 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/9.181, allocations: 3.906 kB / 4.13 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/9.181, allocations: 4 kB / 4.13 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/9.183, allocations: 272.9 kB / 4.131 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/9.183, allocations: 4 kB / 4.131 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/9.184, allocations: 181 kB / 4.131 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/9.184, allocations: 35.97 kB / 4.131 GB, free: 197.2 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.0002437/9.184, allocations: 124.6 kB / 4.131 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/9.184, allocations: 102.4 kB / 4.131 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/9.187, allocations: 1.265 MB / 4.132 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/9.187, allocations: 8 kB / 4.132 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/9.187, allocations: 3.906 kB / 4.132 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/9.187, allocations: 3.984 kB / 4.132 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/9.191, allocations: 2.651 MB / 4.135 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/9.191, allocations: 6.875 kB / 4.135 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/9.193, allocations: 268.7 kB / 4.135 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/9.193, allocations: 8 kB / 4.135 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/9.193, allocations: 19.97 kB / 4.135 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/9.193, allocations: 1.199 MB / 4.136 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/9.193, allocations: 7.984 kB / 4.136 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00206/9.195, allocations: 1.534 MB / 4.138 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002695/9.198, allocations: 2.067 MB / 4.14 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/9.199, allocations: 307.6 kB / 4.14 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/9.199, allocations: 4 kB / 4.14 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/9.2, allocations: 170.9 kB / 4.14 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/9.201, allocations: 56.33 kB / 4.14 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/9.201, allocations: 35.97 kB / 4.141 GB, free: 187 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005309/9.201, allocations: 446.7 kB / 4.141 GB, free: 186.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004281/9.206, allocations: 1.291 MB / 4.142 GB, free: 185.3 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.003346/9.209, allocations: 2.624 MB / 4.145 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003001/9.212, allocations: 1.611 MB / 4.146 GB, free: 181.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/9.212, allocations: 0 / 4.146 GB, free: 181.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/9.213, allocations: 0.5464 MB / 4.147 GB, free: 180.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/9.215, allocations: 407.8 kB / 4.147 GB, free: 180.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/9.23, allocations: 2.426 MB / 4.15 GB, free: 178.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/9.232, allocations: 1.234 MB / 4.151 GB, free: 176.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.252e-06/9.232, allocations: 0 / 4.151 GB, free: 176.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)