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_T.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_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.729/3.729, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5463/4.275, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/4.486, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/9.856, allocations: 2.24 GB / 2.869 GB, free: 105 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/9.857, allocations: 101 kB / 2.869 GB, free: 105 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 9.273/19.13, allocations: 2.008 GB / 4.877 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/19.13, allocations: 11.98 kB / 4.877 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/19.14, allocations: 0.8165 MB / 4.878 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/19.15, allocations: 2.269 MB / 4.88 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/19.15, allocations: 51.91 kB / 4.88 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006702/19.15, allocations: 88 kB / 4.88 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004834/19.16, allocations: 1.165 MB / 4.881 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/19.16, allocations: 1.393 MB / 4.883 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/19.16, allocations: 0 / 4.883 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/19.16, allocations: 12 kB / 4.883 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.597e-05/19.16, allocations: 46.55 kB / 4.883 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/19.18, allocations: 7.564 MB / 4.89 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/19.18, allocations: 0.7875 MB / 4.891 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/19.19, allocations: 478.5 kB / 4.891 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/19.19, allocations: 0.9255 MB / 4.892 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/19.19, allocations: 0.4926 MB / 4.893 GB, free: 396 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=84): time 6.762e-06/19.19, allocations: 0 / 4.893 GB, free: 396 kB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.3956/19.59, allocations: 1.123 MB / 4.894 GB, free: 166 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/19.59, allocations: 169 kB / 4.894 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/19.59, allocations: 1.23 MB / 4.895 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003255/19.59, allocations: 32.14 kB / 4.895 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/19.59, allocations: 0.6068 MB / 4.896 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/19.59, allocations: 291.1 kB / 4.896 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/19.59, allocations: 0 / 4.896 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001184/19.59, allocations: 343.3 kB / 4.896 GB, free: 165 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009515/19.59, allocations: 354.8 kB / 4.897 GB, free: 165 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/19.59, allocations: 0.7326 MB / 4.897 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/19.59, allocations: 0.5656 MB / 4.898 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/19.59, allocations: 3.938 kB / 4.898 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004228/19.6, allocations: 1.281 MB / 4.899 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007847/19.6, allocations: 3.457 MB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/19.6, allocations: 10.67 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.944e-05/19.6, allocations: 20.31 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/19.6, allocations: 263.1 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/19.6, allocations: 18.38 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/19.61, allocations: 183.6 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/19.61, allocations: 55.06 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/19.61, allocations: 3.531 kB / 4.903 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003422/19.61, allocations: 1.043 MB / 4.904 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/19.61, allocations: 15.03 kB / 4.904 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/19.61, allocations: 15.52 kB / 4.904 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/19.61, allocations: 258.2 kB / 4.904 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/19.61, allocations: 18.31 kB / 4.904 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/19.61, allocations: 155.8 kB / 4.905 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/19.61, allocations: 51.31 kB / 4.905 GB, free: 160.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (135): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.0004019/19.62, allocations: 141.6 kB / 4.905 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/19.62, allocations: 180.1 kB / 4.905 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/19.62, allocations: 1.085 MB / 4.906 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/19.62, allocations: 18.44 kB / 4.906 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/19.62, allocations: 0 / 4.906 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/19.62, allocations: 1.148 MB / 4.907 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/19.63, allocations: 2.431 MB / 4.91 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/19.63, allocations: 3.375 kB / 4.91 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/19.63, allocations: 180.5 kB / 4.91 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/19.63, allocations: 45.73 kB / 4.91 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/19.63, allocations: 21.28 kB / 4.91 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/19.63, allocations: 1.379 MB / 4.911 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/19.63, allocations: 3.5 kB / 4.911 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004585/19.64, allocations: 1.678 MB / 4.913 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00631/19.64, allocations: 2.731 MB / 4.915 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/19.65, allocations: 349 kB / 4.916 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/19.65, allocations: 5.5 kB / 4.916 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/19.65, allocations: 116 kB / 4.916 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/19.65, allocations: 52.95 kB / 4.916 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/19.65, allocations: 41.59 kB / 4.916 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001998/19.65, allocations: 0.9222 MB / 4.917 GB, free: 157 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01078/19.66, allocations: 2.033 MB / 4.919 GB, free: 156.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007366/19.67, allocations: 3.649 MB / 4.922 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004261/19.67, allocations: 1.641 MB / 4.924 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/19.67, allocations: 0 / 4.924 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/19.68, allocations: 0.5112 MB / 4.925 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006417/19.68, allocations: 0.7241 MB / 4.925 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/19.7, allocations: 3.036 MB / 4.928 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/19.7, allocations: 1.702 MB / 4.93 GB, free: 154 MB / 0.8698 GB Notification: Performance of SimCode: time 1.793e-06/19.7, allocations: 3.656 kB / 4.93 GB, free: 154 MB / 0.8698 GB