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.EpsilonNTUZ.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.EpsilonNTUZ,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.871/3.871, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.584/4.455, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/4.695, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/4.945, allocations: 127.6 MB / 0.7529 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/4.946, allocations: 83.59 kB / 0.7529 GB, free: 9.992 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.08278/5.029, allocations: 15.96 MB / 0.7685 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/5.029, allocations: 15.98 kB / 0.7685 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/5.029, allocations: 7.906 kB / 0.7685 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/5.029, allocations: 167 kB / 0.7687 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/5.029, allocations: 7.906 kB / 0.7687 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/5.029, allocations: 8 kB / 0.7687 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000503/5.029, allocations: 167.9 kB / 0.7689 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/5.03, allocations: 202.6 kB / 0.7691 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/5.03, allocations: 4 kB / 0.7691 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/5.03, allocations: 0 / 0.7691 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/5.03, allocations: 4 kB / 0.7691 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/5.03, allocations: 254.4 kB / 0.7693 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/5.032, allocations: 399.9 kB / 0.7697 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/5.032, allocations: 169.2 kB / 0.7699 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/5.032, allocations: 194.1 kB / 0.7701 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/5.032, allocations: 42.56 kB / 0.7701 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.577e-06/5.033, allocations: 0 / 0.7701 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.001058/5.034, allocations: 269.3 kB / 0.7704 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/5.034, allocations: 191.9 kB / 0.7705 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/5.034, allocations: 85 kB / 0.7706 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/5.034, allocations: 25.7 kB / 0.7706 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/5.034, allocations: 84.64 kB / 0.7707 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/5.034, allocations: 94.56 kB / 0.7708 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/5.034, allocations: 0 / 0.7708 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001399/5.034, allocations: 326.7 kB / 0.7711 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/5.034, allocations: 79.95 kB / 0.7712 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/5.035, allocations: 129.1 kB / 0.7713 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/5.035, allocations: 124.2 kB / 0.7714 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/5.035, allocations: 4 kB / 0.7714 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009356/5.036, allocations: 265.4 kB / 0.7717 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/5.036, allocations: 4 kB / 0.7717 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/5.036, allocations: 0 / 0.7717 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/5.036, allocations: 4 kB / 0.7717 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/5.037, allocations: 63.89 kB / 0.7718 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/5.037, allocations: 3.938 kB / 0.7718 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/5.037, allocations: 20.06 kB / 0.7718 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/5.037, allocations: 15.98 kB / 0.7718 GB, free: 6.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001205/5.037, allocations: 105 kB / 0.7719 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/5.037, allocations: 7.906 kB / 0.7719 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/5.039, allocations: 364.7 kB / 0.7723 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/5.039, allocations: 7.984 kB / 0.7723 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/5.039, allocations: 4 kB / 0.7723 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/5.039, allocations: 3.938 kB / 0.7723 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/5.039, allocations: 225.9 kB / 0.7725 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/5.039, allocations: 4 kB / 0.7725 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/5.04, allocations: 55.89 kB / 0.7725 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/5.04, allocations: 4 kB / 0.7726 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/5.04, allocations: 11.98 kB / 0.7726 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/5.04, allocations: 4 kB / 0.7726 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/5.04, allocations: 0 / 0.7726 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009951/5.041, allocations: 402.5 kB / 0.773 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001123/5.042, allocations: 0.7598 MB / 0.7737 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/5.042, allocations: 92.94 kB / 0.7738 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/5.042, allocations: 0 / 0.7738 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/5.042, allocations: 7.938 kB / 0.7738 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/5.042, allocations: 19.88 kB / 0.7738 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/5.042, allocations: 15.98 kB / 0.7738 GB, free: 4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.985e-05/5.042, allocations: 75.28 kB / 0.7739 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001622/5.044, allocations: 119.9 kB / 0.774 GB, free: 3.809 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0009234/5.045, allocations: 240.3 kB / 0.7742 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006909/5.046, allocations: 243.8 kB / 0.7745 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.046, allocations: 0 / 0.7745 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/5.046, allocations: 131.8 kB / 0.7746 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/5.046, allocations: 4 kB / 0.7746 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/5.047, allocations: 301.4 kB / 0.7749 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/5.048, allocations: 0.7547 MB / 0.7756 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of SimCode: time 1.113e-06/5.048, allocations: 0 / 0.7756 GB, free: 2.078 MB / 0.6511 GB