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.AirHeater_u.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.AirHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.752/3.752, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.51/4.262, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/4.486, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.55/10.04, allocations: 2.235 GB / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/10.04, allocations: 94.95 kB / 2.863 GB, free: 110.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 9.168/19.2, allocations: 1.928 GB / 4.791 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/19.2, allocations: 9.062 kB / 4.791 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009517/19.21, allocations: 0.8438 MB / 4.792 GB, free: 89.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/19.23, allocations: 2.424 MB / 4.795 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/19.23, allocations: 53.25 kB / 4.795 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/19.23, allocations: 100.7 kB / 4.795 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005756/19.23, allocations: 1.363 MB / 4.796 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/19.24, allocations: 1.579 MB / 4.798 GB, free: 88.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/19.24, allocations: 1.375 kB / 4.798 GB, free: 88.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/19.24, allocations: 1.969 kB / 4.798 GB, free: 88.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-05/19.24, allocations: 55.52 kB / 4.798 GB, free: 88.33 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/19.26, allocations: 8.31 MB / 4.806 GB, free: 83.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/19.27, allocations: 0.9672 MB / 4.807 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/19.27, allocations: 0.6172 MB / 4.807 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/19.27, allocations: 384.5 kB / 4.808 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/19.27, allocations: 0.6149 MB / 4.808 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=102): time 5.08e-06/19.27, allocations: 4.625 kB / 4.808 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=105): time 0.01671/19.29, allocations: 2.988 MB / 4.811 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/19.29, allocations: 171.5 kB / 4.811 GB, free: 80.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/19.29, allocations: 1.219 MB / 4.813 GB, free: 79.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000457/19.29, allocations: 32.2 kB / 4.813 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/19.29, allocations: 0.6392 MB / 4.813 GB, free: 79.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000909/19.29, allocations: 356.5 kB / 4.814 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/19.29, allocations: 0.9688 kB / 4.814 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001718/19.29, allocations: 352.4 kB / 4.814 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/19.3, allocations: 444 kB / 4.814 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/19.3, allocations: 0.7994 MB / 4.815 GB, free: 78.02 MB / 0.8698 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/19.31, allocations: 1.557 MB / 4.817 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/19.31, allocations: 3.625 kB / 4.817 GB, free: 77.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005768/19.32, allocations: 1.46 MB / 4.818 GB, free: 76.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006739/19.32, allocations: 3.008 MB / 4.821 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.54e-05/19.32, allocations: 12.8 kB / 4.821 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/19.32, allocations: 42.84 kB / 4.821 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/19.32, allocations: 289.9 kB / 4.821 GB, free: 73.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/19.32, allocations: 1.422 MB / 4.823 GB, free: 71.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/19.33, allocations: 143.3 kB / 4.823 GB, free: 71.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/19.33, allocations: 59.33 kB / 4.823 GB, free: 71.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/19.33, allocations: 3.938 kB / 4.823 GB, free: 71.84 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004776/19.33, allocations: 1.2 MB / 4.824 GB, free: 71.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/19.33, allocations: 8.406 kB / 4.824 GB, free: 71.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/19.33, allocations: 44.38 kB / 4.824 GB, free: 71.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/19.33, allocations: 284.1 kB / 4.824 GB, free: 71.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/19.34, allocations: 1.425 MB / 4.826 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/19.34, allocations: 132 kB / 4.826 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/19.34, allocations: 55.73 kB / 4.826 GB, free: 69.74 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006256/19.34, allocations: 147.9 kB / 4.826 GB, free: 69.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007645/19.34, allocations: 197 kB / 4.826 GB, free: 69.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/19.35, allocations: 1.287 MB / 4.827 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/19.35, allocations: 15 kB / 4.828 GB, free: 68.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/19.35, allocations: 0 / 4.828 GB, free: 68.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003381/19.35, allocations: 1.026 MB / 4.829 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00993/19.36, allocations: 3.005 MB / 4.831 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/19.36, allocations: 4 kB / 4.831 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/19.36, allocations: 238.2 kB / 4.832 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/19.36, allocations: 68.27 kB / 4.832 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/19.36, allocations: 23.89 kB / 4.832 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/19.37, allocations: 2.647 MB / 4.834 GB, free: 60.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/19.37, allocations: 4 kB / 4.834 GB, free: 60.83 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00565/19.37, allocations: 2.047 MB / 4.836 GB, free: 58.71 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007628/19.38, allocations: 3.26 MB / 4.84 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/19.38, allocations: 382.6 kB / 4.84 GB, free: 54.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007505/19.38, allocations: 6.438 kB / 4.84 GB, free: 54.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/19.39, allocations: 131.1 kB / 4.84 GB, free: 54.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/19.39, allocations: 72.8 kB / 4.84 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/19.39, allocations: 38.92 kB / 4.84 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002207/19.39, allocations: 0.9221 MB / 4.841 GB, free: 53.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01163/19.4, allocations: 2.023 MB / 4.843 GB, free: 51.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006842/19.41, allocations: 3.652 MB / 4.847 GB, free: 48.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005669/19.41, allocations: 2.142 MB / 4.849 GB, free: 46.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/19.41, allocations: 0 / 4.849 GB, free: 46.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/19.42, allocations: 0.7368 MB / 4.849 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/19.42, allocations: 0.9049 MB / 4.85 GB, free: 44.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/19.44, allocations: 3.275 MB / 4.853 GB, free: 41.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004402/19.45, allocations: 1.822 MB / 4.855 GB, free: 39.78 MB / 0.8698 GB Notification: Performance of SimCode: time 2.405e-06/19.45, allocations: 0 / 4.855 GB, free: 39.78 MB / 0.8698 GB