Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.706/3.706, allocations: 433 MB / 440.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5535/4.259, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/4.493, allocations: 98.71 MB / 0.6283 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9757/5.469, allocations: 407.5 MB / 1.026 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/5.469, allocations: 96.69 kB / 1.026 GB, free: 12.32 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.73/8.2, allocations: 0.5945 GB / 1.621 GB, free: 112.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/8.2, allocations: 8 kB / 1.621 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/8.203, allocations: 420.9 kB / 1.621 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/8.208, allocations: 1.333 MB / 1.623 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/8.209, allocations: 183 kB / 1.623 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/8.21, allocations: 63.22 kB / 1.623 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002293/8.212, allocations: 0.7614 MB / 1.624 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/8.214, allocations: 0.8968 MB / 1.624 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/8.214, allocations: 4 kB / 1.624 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/8.214, allocations: 0 / 1.624 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/8.214, allocations: 20 kB / 1.624 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/8.226, allocations: 4.597 MB / 1.629 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/8.228, allocations: 0.6022 MB / 1.629 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/8.229, allocations: 298.6 kB / 1.63 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/8.23, allocations: 1.069 MB / 1.631 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/8.231, allocations: 390.4 kB / 1.631 GB, free: 101.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 3.357e-06/8.231, allocations: 0 / 1.631 GB, free: 101.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.003267/8.234, allocations: 0.7989 MB / 1.632 GB, free: 100.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/8.234, allocations: 192.6 kB / 1.632 GB, free: 100.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/8.236, allocations: 0.8701 MB / 1.633 GB, free: 99.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/8.237, allocations: 29.7 kB / 1.633 GB, free: 99.76 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/8.237, allocations: 413.6 kB / 1.633 GB, free: 99.35 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/8.237, allocations: 235.9 kB / 1.634 GB, free: 99.12 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/8.237, allocations: 0 / 1.634 GB, free: 99.12 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001283/8.238, allocations: 341.9 kB / 1.634 GB, free: 98.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/8.238, allocations: 314 kB / 1.634 GB, free: 98.47 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/8.24, allocations: 0.5831 MB / 1.635 GB, free: 97.79 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/8.242, allocations: 464.4 kB / 1.635 GB, free: 97.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/8.242, allocations: 0 / 1.635 GB, free: 97.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003881/8.246, allocations: 1.07 MB / 1.636 GB, free: 96.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/8.246, allocations: 1.584 MB / 1.638 GB, free: 94.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/8.246, allocations: 4 kB / 1.638 GB, free: 94.58 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/8.246, allocations: 11.12 kB / 1.638 GB, free: 94.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/8.249, allocations: 319.8 kB / 1.638 GB, free: 94.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009354/8.25, allocations: 1.213 MB / 1.639 GB, free: 93.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/8.253, allocations: 192.7 kB / 1.64 GB, free: 92.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/8.253, allocations: 51.97 kB / 1.64 GB, free: 92.79 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/8.253, allocations: 10.59 kB / 1.64 GB, free: 92.78 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/8.257, allocations: 0.8911 MB / 1.641 GB, free: 91.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/8.257, allocations: 7.984 kB / 1.641 GB, free: 91.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/8.257, allocations: 15.94 kB / 1.641 GB, free: 91.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/8.259, allocations: 288.5 kB / 1.641 GB, free: 91.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/8.259, allocations: 8 kB / 1.641 GB, free: 91.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/8.262, allocations: 160.1 kB / 1.641 GB, free: 91.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/8.262, allocations: 51.97 kB / 1.641 GB, free: 91.39 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000408/8.263, allocations: 144 kB / 1.641 GB, free: 91.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/8.263, allocations: 130.4 kB / 1.641 GB, free: 91.12 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/8.267, allocations: 1.095 MB / 1.642 GB, free: 90.02 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/8.267, allocations: 8 kB / 1.642 GB, free: 90.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/8.267, allocations: 0 / 1.642 GB, free: 90.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/8.267, allocations: 3.984 kB / 1.642 GB, free: 90.01 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/8.274, allocations: 2.132 MB / 1.644 GB, free: 87.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/8.274, allocations: 4 kB / 1.644 GB, free: 87.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/8.276, allocations: 227.7 kB / 1.645 GB, free: 87.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/8.277, allocations: 4 kB / 1.645 GB, free: 87.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/8.277, allocations: 15.98 kB / 1.645 GB, free: 87.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/8.277, allocations: 1.195 MB / 1.646 GB, free: 86.38 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/8.277, allocations: 3.906 kB / 1.646 GB, free: 86.37 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004804/8.282, allocations: 1.54 MB / 1.647 GB, free: 84.79 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005868/8.288, allocations: 2.445 MB / 1.65 GB, free: 82.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/8.289, allocations: 335 kB / 1.65 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/8.29, allocations: 7.625 kB / 1.65 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/8.292, allocations: 132.5 kB / 1.65 GB, free: 81.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/8.293, allocations: 60.08 kB / 1.65 GB, free: 81.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/8.293, allocations: 35.97 kB / 1.65 GB, free: 81.74 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001405/8.294, allocations: 0.6382 MB / 1.651 GB, free: 81.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006845/8.301, allocations: 1.098 MB / 1.652 GB, free: 80 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.00314/8.304, allocations: 0.9244 MB / 1.653 GB, free: 79.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005079/8.309, allocations: 1.486 MB / 1.654 GB, free: 77.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/8.309, allocations: 0 / 1.654 GB, free: 77.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/8.311, allocations: 453 kB / 1.655 GB, free: 77.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/8.316, allocations: 459.8 kB / 1.655 GB, free: 76.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/8.322, allocations: 1.783 MB / 1.657 GB, free: 75.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/8.324, allocations: 1.342 MB / 1.658 GB, free: 73.72 MB / 0.823 GB Notification: Performance of SimCode: time 1.854e-06/8.324, allocations: 3.938 kB / 1.658 GB, free: 73.71 MB / 0.823 GB