Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.033/2.033, allocations: 248.6 MB / 255.9 MB, free: 7.066 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.001628/0.001628, allocations: 182.9 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.98/1.98, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001371/0.001371, allocations: 93.72 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4788/0.4802, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.688, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.713/6.401, allocations: 2.234 GB / 3.118 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/6.402, allocations: 90.7 kB / 3.118 GB, free: 129.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 3.817/10.22, allocations: 0.7837 GB / 3.902 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/10.22, allocations: 8 kB / 3.902 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008044/10.23, allocations: 469.2 kB / 3.902 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/10.24, allocations: 1.905 MB / 3.904 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/10.24, allocations: 28 kB / 3.904 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006094/10.24, allocations: 68 kB / 3.904 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004938/10.24, allocations: 0.8668 MB / 3.905 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/10.25, allocations: 1.046 MB / 3.906 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/10.25, allocations: 0 / 3.906 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/10.25, allocations: 0 / 3.906 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/10.25, allocations: 34 kB / 3.906 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/10.26, allocations: 5.026 MB / 3.911 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/10.27, allocations: 0.7642 MB / 3.912 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/10.27, allocations: 439.2 kB / 3.912 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/10.27, allocations: 194.8 kB / 3.912 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/10.27, allocations: 443 kB / 3.913 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 1.124e-05/10.27, allocations: 8 kB / 3.913 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.005053/10.27, allocations: 0.9051 MB / 3.913 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/10.28, allocations: 188.6 kB / 3.914 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/10.28, allocations: 0.9059 MB / 3.915 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003494/10.28, allocations: 29.69 kB / 3.915 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/10.28, allocations: 452.9 kB / 3.915 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/10.28, allocations: 232.5 kB / 3.915 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/10.28, allocations: 0 / 3.915 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002039/10.28, allocations: 345.9 kB / 3.916 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/10.28, allocations: 313.9 kB / 3.916 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/10.28, allocations: 0.5937 MB / 3.916 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/10.29, allocations: 435.2 kB / 3.917 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/10.29, allocations: 7.984 kB / 3.917 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006558/10.29, allocations: 1.057 MB / 3.918 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.3929/10.69, allocations: 2.036 MB / 3.92 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.915e-05/10.69, allocations: 11.19 kB / 3.92 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009379/10.69, allocations: 98.05 kB / 3.92 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/10.69, allocations: 210 kB / 3.92 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/10.69, allocations: 1.291 MB / 3.921 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/10.7, allocations: 132.7 kB / 3.922 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/10.7, allocations: 51.73 kB / 3.922 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/10.7, allocations: 3.375 kB / 3.922 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005159/10.7, allocations: 0.8664 MB / 3.922 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/10.7, allocations: 11.31 kB / 3.922 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/10.7, allocations: 101.6 kB / 3.923 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/10.71, allocations: 196.7 kB / 3.923 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/10.72, allocations: 2.629 MB / 3.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/10.72, allocations: 121.2 kB / 3.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/10.72, allocations: 45.39 kB / 3.925 GB, free: 225.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006014/10.72, allocations: 133.6 kB / 3.926 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/10.72, allocations: 137.1 kB / 3.926 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/10.73, allocations: 0.8756 MB / 3.927 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/10.73, allocations: 10.78 kB / 3.927 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/10.73, allocations: 3.812 kB / 3.927 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003793/10.73, allocations: 0.7835 MB / 3.927 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008542/10.74, allocations: 2.028 MB / 3.929 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/10.74, allocations: 0 / 3.929 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/10.74, allocations: 179.8 kB / 3.929 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/10.74, allocations: 63.89 kB / 3.93 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/10.74, allocations: 10.59 kB / 3.93 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/10.74, allocations: 1.219 MB / 3.931 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/10.74, allocations: 0 / 3.931 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003906/10.75, allocations: 1.397 MB / 3.932 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00543/10.75, allocations: 2.319 MB / 3.934 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/10.75, allocations: 296.1 kB / 3.935 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/10.75, allocations: 6.438 kB / 3.935 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/10.76, allocations: 86.47 kB / 3.935 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/10.76, allocations: 49.25 kB / 3.935 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/10.76, allocations: 27.61 kB / 3.935 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003085/10.76, allocations: 0.6854 MB / 3.936 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01256/10.77, allocations: 1.653 MB / 3.937 GB, free: 222.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005598/10.78, allocations: 2.915 MB / 3.94 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004377/10.78, allocations: 1.526 MB / 3.941 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/10.78, allocations: 0 / 3.941 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/10.78, allocations: 381.2 kB / 3.942 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/10.79, allocations: 0.5631 MB / 3.942 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/10.8, allocations: 2.053 MB / 3.944 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/10.8, allocations: 1.449 MB / 3.946 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.543e-06/10.8, allocations: 0 / 3.946 GB, free: 220.1 MB / 0.8855 GB