Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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.957/3.957, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5504/4.507, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/4.742, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.878/10.62, allocations: 2.494 GB / 3.122 GB, free: 157.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/10.62, allocations: 105.4 kB / 3.122 GB, free: 157.3 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 7.994/18.62, allocations: 1.623 GB / 4.745 GB, free: 75.47 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/18.62, allocations: 11.41 kB / 4.745 GB, free: 75.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00927/18.62, allocations: 0.7788 MB / 4.746 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/18.64, allocations: 2.852 MB / 4.749 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/18.64, allocations: 63.89 kB / 4.749 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007144/18.64, allocations: 113.2 kB / 4.749 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006214/18.64, allocations: 1.79 MB / 4.751 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006274/18.65, allocations: 1.973 MB / 4.752 GB, free: 74.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-05/18.65, allocations: 3.938 kB / 4.752 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/18.65, allocations: 7.094 kB / 4.752 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/18.65, allocations: 77.38 kB / 4.753 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/18.68, allocations: 9.981 MB / 4.762 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/18.68, allocations: 1.127 MB / 4.763 GB, free: 69.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/18.68, allocations: 0.6042 MB / 4.764 GB, free: 69.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006359/18.69, allocations: 2.287 MB / 4.766 GB, free: 68.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/18.69, allocations: 48.66 kB / 4.766 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 4.979e-06/18.69, allocations: 0 / 4.766 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=102): time 0.01455/18.7, allocations: 3.125 MB / 4.769 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/18.7, allocations: 68 kB / 4.769 GB, free: 67.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/18.71, allocations: 1.463 MB / 4.771 GB, free: 67.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003866/18.71, allocations: 28.67 kB / 4.771 GB, free: 67.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000852/18.71, allocations: 0.8244 MB / 4.772 GB, free: 67.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007901/18.71, allocations: 348.5 kB / 4.772 GB, free: 67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/18.71, allocations: 3.344 kB / 4.772 GB, free: 67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001427/18.71, allocations: 359.5 kB / 4.772 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/18.71, allocations: 467.4 kB / 4.773 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/18.71, allocations: 1.03 MB / 4.774 GB, free: 65.99 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.04286/18.75, allocations: 3.329 MB / 4.777 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/18.75, allocations: 2.625 kB / 4.777 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.007794/18.76, allocations: 1.831 MB / 4.779 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00159/18.76, allocations: 5.883 MB / 4.785 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.879e-05/18.76, allocations: 13.88 kB / 4.785 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/18.77, allocations: 369.6 kB / 4.785 GB, free: 59.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/18.77, allocations: 298.5 kB / 4.785 GB, free: 59.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/18.77, allocations: 1.05 MB / 4.786 GB, free: 58.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/18.78, allocations: 134 kB / 4.786 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004935/18.78, allocations: 79.44 kB / 4.786 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/18.78, allocations: 3.906 kB / 4.786 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006985/18.78, allocations: 1.56 MB / 4.788 GB, free: 58.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.33e-05/18.78, allocations: 14.75 kB / 4.788 GB, free: 58.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/18.79, allocations: 379 kB / 4.788 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/18.79, allocations: 295 kB / 4.789 GB, free: 58.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/18.79, allocations: 1.054 MB / 4.79 GB, free: 58.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/18.79, allocations: 101.9 kB / 4.79 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/18.8, allocations: 77.92 kB / 4.79 GB, free: 58.25 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005663/18.8, allocations: 161.6 kB / 4.79 GB, free: 58.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/18.8, allocations: 212.2 kB / 4.79 GB, free: 58 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/18.8, allocations: 1.455 MB / 4.792 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/18.8, allocations: 11.19 kB / 4.792 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/18.8, allocations: 5.328 kB / 4.792 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004641/18.81, allocations: 1.126 MB / 4.793 GB, free: 57.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/18.82, allocations: 3.407 MB / 4.796 GB, free: 57.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/18.82, allocations: 3.781 kB / 4.796 GB, free: 57.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/18.82, allocations: 180.4 kB / 4.796 GB, free: 57.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/18.82, allocations: 329.8 kB / 4.797 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/18.82, allocations: 14.22 kB / 4.797 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/18.83, allocations: 0.985 MB / 4.798 GB, free: 56.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/18.83, allocations: 11.73 kB / 4.798 GB, free: 56.62 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007773/18.83, allocations: 2.639 MB / 4.8 GB, free: 55.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01013/18.84, allocations: 3.839 MB / 4.804 GB, free: 54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/18.85, allocations: 417 kB / 4.804 GB, free: 53.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/18.85, allocations: 21.69 kB / 4.804 GB, free: 53.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/18.85, allocations: 71.75 kB / 4.804 GB, free: 53.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/18.85, allocations: 71 kB / 4.804 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/18.85, allocations: 46.88 kB / 4.804 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002824/18.85, allocations: 1.094 MB / 4.806 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01209/18.86, allocations: 2.196 MB / 4.808 GB, free: 52.32 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007366/18.87, allocations: 3.891 MB / 4.811 GB, free: 50.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006538/18.88, allocations: 1.995 MB / 4.813 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/18.88, allocations: 0 / 4.813 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/18.88, allocations: 0.5161 MB / 4.814 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/18.89, allocations: 1.061 MB / 4.815 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/18.91, allocations: 3.939 MB / 4.819 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004004/18.91, allocations: 1.915 MB / 4.821 GB, free: 47.26 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/18.91, allocations: 0 / 4.821 GB, free: 47.26 MB / 0.8698 GB