Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 3.849/3.849, allocations: 433 MB / 440.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5467/4.396, allocations: 104.3 MB / 0.5319 GB, free: 16.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/4.642, allocations: 98.7 MB / 0.6283 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/9.937, allocations: 2.203 GB / 2.831 GB, free: 62.38 MB / 0.8106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/9.937, allocations: 86.64 kB / 2.831 GB, free: 62.34 MB / 0.8106 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 4.941/14.88, allocations: 0.9708 GB / 3.802 GB, free: 16.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/14.88, allocations: 12 kB / 3.802 GB, free: 16.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/14.88, allocations: 0.5915 MB / 3.802 GB, free: 16.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/14.89, allocations: 1.084 MB / 3.803 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001471/14.89, allocations: 185.9 kB / 3.804 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/14.89, allocations: 52 kB / 3.804 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003307/14.89, allocations: 1.062 MB / 3.805 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/14.9, allocations: 1.033 MB / 3.806 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/14.9, allocations: 0 / 3.806 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/14.9, allocations: 0 / 3.806 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/14.9, allocations: 49.98 kB / 3.806 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/14.92, allocations: 4.093 MB / 3.81 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/14.92, allocations: 0.7466 MB / 3.81 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/14.92, allocations: 0.5031 MB / 3.811 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/14.92, allocations: 0.6204 MB / 3.812 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/14.92, allocations: 43.22 kB / 3.812 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 3.336e-06/14.92, allocations: 4 kB / 3.812 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.005161/14.93, allocations: 1.182 MB / 3.813 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/14.93, allocations: 71.95 kB / 3.813 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/14.93, allocations: 0.5669 MB / 3.813 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004219/14.93, allocations: 29.64 kB / 3.813 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/14.93, allocations: 336.2 kB / 3.814 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006407/14.93, allocations: 248.2 kB / 3.814 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/14.93, allocations: 4 kB / 3.814 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001406/14.93, allocations: 334 kB / 3.814 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/14.93, allocations: 405.4 kB / 3.815 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/14.94, allocations: 0.5348 MB / 3.815 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/14.94, allocations: 0.6198 MB / 3.816 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/14.94, allocations: 0 / 3.816 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.005521/14.95, allocations: 1.213 MB / 3.817 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/14.95, allocations: 459.5 kB / 3.817 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/14.95, allocations: 0 / 3.817 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/14.95, allocations: 4 kB / 3.817 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/14.95, allocations: 291.6 kB / 3.818 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/14.95, allocations: 1.211 MB / 3.819 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/14.95, allocations: 195.5 kB / 3.819 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/14.95, allocations: 35.97 kB / 3.819 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/14.95, allocations: 4 kB / 3.819 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/14.96, allocations: 1.091 MB / 3.82 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/14.96, allocations: 4 kB / 3.82 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/14.96, allocations: 4 kB / 3.82 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/14.96, allocations: 267.8 kB / 3.82 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/14.96, allocations: 11.98 kB / 3.82 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/14.96, allocations: 183.3 kB / 3.821 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/14.97, allocations: 39.97 kB / 3.821 GB, free: 12.9 MB / 0.8419 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.0005794/14.97, allocations: 128.7 kB / 3.821 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/14.97, allocations: 90.88 kB / 3.821 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/14.97, allocations: 1.271 MB / 3.822 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/14.97, allocations: 7.938 kB / 3.822 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/14.97, allocations: 4 kB / 3.822 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/14.97, allocations: 4.078 kB / 3.822 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/14.99, allocations: 2.63 MB / 3.825 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/14.99, allocations: 7.984 kB / 3.825 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/14.99, allocations: 264.1 kB / 3.825 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/14.99, allocations: 12 kB / 3.825 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/14.99, allocations: 27.88 kB / 3.825 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/14.99, allocations: 1.192 MB / 3.826 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/14.99, allocations: 8.062 kB / 3.826 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00492/15, allocations: 1.534 MB / 3.828 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005852/15, allocations: 2.058 MB / 3.83 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/15, allocations: 307.5 kB / 3.83 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/15, allocations: 8 kB / 3.83 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/15.01, allocations: 171.6 kB / 3.83 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/15.01, allocations: 56.42 kB / 3.83 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/15.01, allocations: 39.97 kB / 3.83 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of sort global known variables: time 0.00103/15.01, allocations: 439.1 kB / 3.831 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007473/15.02, allocations: 1.295 MB / 3.832 GB, free: 0.8828 MB / 0.8419 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.4085/15.42, allocations: 2.63 MB / 3.834 GB, free: 200.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005312/15.43, allocations: 1.611 MB / 3.836 GB, free: 200.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/15.43, allocations: 0 / 3.836 GB, free: 200.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/15.43, allocations: 0.5502 MB / 3.837 GB, free: 200.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/15.44, allocations: 404.7 kB / 3.837 GB, free: 200.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0371/15.47, allocations: 2.402 MB / 3.839 GB, free: 200 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/15.47, allocations: 1.24 MB / 3.841 GB, free: 199.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.673e-06/15.48, allocations: 0 / 3.841 GB, free: 199.3 MB / 0.8419 GB