Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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 7.0.1/package.mo): time 2.337/2.337, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 184.3 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 0.5658 GB, free: 352 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002526/0.002525, allocations: 90.81 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5091/0.5117, allocations: 112.4 MB / 0.7797 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.716, allocations: 106.2 MB / 0.8835 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/2.169, allocations: 399.8 MB / 1.274 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004773/2.17, allocations: 91.52 kB / 1.274 GB, free: 247.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.922/4.092, allocations: 423.2 MB / 1.687 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/4.092, allocations: 7.188 kB / 1.687 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/4.092, allocations: 136.8 kB / 1.687 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04693/4.139, allocations: 12.4 MB / 1.699 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/4.139, allocations: 22.47 kB / 1.699 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/4.14, allocations: 40.38 kB / 1.7 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001673/4.141, allocations: 455.7 kB / 1.7 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/4.143, allocations: 0.6305 MB / 1.701 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/4.143, allocations: 3.906 kB / 1.701 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/4.143, allocations: 0.7031 kB / 1.701 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/4.143, allocations: 19.2 kB / 1.701 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007/4.15, allocations: 3.538 MB / 1.704 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/4.151, allocations: 199.6 kB / 1.704 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/4.152, allocations: 155.9 kB / 1.704 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/4.152, allocations: 0.6588 MB / 1.705 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/4.152, allocations: 36.41 kB / 1.705 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.086e-06/4.152, allocations: 0 / 1.705 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001494/4.154, allocations: 352 kB / 1.705 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/4.154, allocations: 59.61 kB / 1.705 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/4.155, allocations: 0.6385 MB / 1.706 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/4.156, allocations: 26.83 kB / 1.706 GB, free: 191 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/4.156, allocations: 379.4 kB / 1.706 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/4.156, allocations: 107.7 kB / 1.707 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/4.156, allocations: 0 / 1.707 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/4.156, allocations: 329.3 kB / 1.707 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/4.157, allocations: 118.3 kB / 1.707 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/4.157, allocations: 333.2 kB / 1.707 GB, free: 190 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/4.158, allocations: 195.8 kB / 1.708 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/4.158, allocations: 1.312 kB / 1.708 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001665/4.16, allocations: 495.6 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/4.16, allocations: 5.688 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/4.16, allocations: 4.609 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/4.16, allocations: 8.594 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/4.161, allocations: 121.4 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/4.161, allocations: 10.47 kB / 1.708 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/4.162, allocations: 89.58 kB / 1.708 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/4.162, allocations: 30.19 kB / 1.708 GB, free: 189.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001765/4.162, allocations: 114.3 kB / 1.708 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/4.163, allocations: 84.86 kB / 1.708 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/4.164, allocations: 443.4 kB / 1.709 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/4.164, allocations: 4.797 kB / 1.709 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/4.164, allocations: 1 kB / 1.709 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/4.166, allocations: 408.2 kB / 1.709 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/4.17, allocations: 1.212 MB / 1.71 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/4.17, allocations: 1.812 kB / 1.71 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/4.171, allocations: 86.5 kB / 1.711 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/4.171, allocations: 2.281 kB / 1.711 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/4.171, allocations: 16.8 kB / 1.711 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/4.171, allocations: 2.844 kB / 1.711 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/4.171, allocations: 2.25 kB / 1.711 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001939/4.173, allocations: 0.7653 MB / 1.711 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002614/4.175, allocations: 1.352 MB / 1.713 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000751/4.176, allocations: 231.1 kB / 1.713 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/4.176, allocations: 4.016 kB / 1.713 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/4.177, allocations: 48.64 kB / 1.713 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/4.177, allocations: 29.89 kB / 1.713 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/4.177, allocations: 19.83 kB / 1.713 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001155/4.179, allocations: 497.6 kB / 1.713 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003071/4.182, allocations: 439.7 kB / 1.714 GB, free: 186.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/4.183, allocations: 0.5618 MB / 1.714 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001105/4.184, allocations: 337.9 kB / 1.715 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/4.184, allocations: 0.6562 kB / 1.715 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004537/4.185, allocations: 166.9 kB / 1.715 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004743/4.19, allocations: 459.6 kB / 1.715 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/4.194, allocations: 1.178 MB / 1.716 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/4.196, allocations: 1.141 MB / 1.718 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/4.196, allocations: 4.031 kB / 1.718 GB, free: 184.9 MB / 0.8698 GB