Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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 4.042/4.042, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6108/4.653, allocations: 104.3 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/4.978, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/5.358, allocations: 139.5 MB / 0.7645 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/5.359, allocations: 91.59 kB / 0.7646 GB, free: 14.04 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.522/5.881, allocations: 34.37 MB / 0.7981 GB, free: 51.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/5.881, allocations: 10.84 kB / 0.7982 GB, free: 51.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06662/5.948, allocations: 3.833 MB / 0.8019 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/5.953, allocations: 1.484 MB / 0.8033 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/5.953, allocations: 27.22 kB / 0.8034 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000787/5.953, allocations: 50.42 kB / 0.8034 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005168/5.959, allocations: 1.869 MB / 0.8052 GB, free: 50.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/5.964, allocations: 1.861 MB / 0.8071 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/5.964, allocations: 0 / 0.8071 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/5.964, allocations: 0 / 0.8071 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/5.965, allocations: 23.38 kB / 0.8071 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/5.985, allocations: 8.148 MB / 0.815 GB, free: 47.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/5.99, allocations: 1.746 MB / 0.8167 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/5.993, allocations: 1.504 MB / 0.8182 GB, free: 47.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/5.993, allocations: 50.88 kB / 0.8183 GB, free: 47.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/5.993, allocations: 42.25 kB / 0.8183 GB, free: 47.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.907e-06/5.993, allocations: 0 / 0.8183 GB, free: 47.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02295/6.016, allocations: 5.467 MB / 0.8236 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/6.017, allocations: 59.84 kB / 0.8237 GB, free: 47.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/6.019, allocations: 1.055 MB / 0.8247 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007227/6.02, allocations: 29.58 kB / 0.8248 GB, free: 47.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/6.02, allocations: 324.1 kB / 0.8251 GB, free: 46.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/6.021, allocations: 232 kB / 0.8253 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/6.021, allocations: 0 / 0.8253 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001107/6.021, allocations: 336.8 kB / 0.8256 GB, free: 46.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/6.027, allocations: 2.167 MB / 0.8277 GB, free: 46.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/6.032, allocations: 2.335 MB / 0.83 GB, free: 46.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02335/6.055, allocations: 4.096 MB / 0.834 GB, free: 46.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/6.055, allocations: 0 / 0.834 GB, free: 46.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.03614/6.092, allocations: 7.978 MB / 0.8418 GB, free: 46.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/6.092, allocations: 96.05 kB / 0.8419 GB, free: 46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03514/6.127, allocations: 7.029 MB / 0.8487 GB, free: 45.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06158/6.188, allocations: 5.007 MB / 0.8536 GB, free: 44.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/6.2, allocations: 0.6914 MB / 0.8543 GB, free: 43.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/6.219, allocations: 5.223 MB / 0.8594 GB, free: 42.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/6.235, allocations: 0.8382 MB / 0.8602 GB, free: 41.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/6.236, allocations: 64.92 kB / 0.8603 GB, free: 41.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/6.236, allocations: 3.656 kB / 0.8603 GB, free: 41.95 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03626/6.272, allocations: 7.182 MB / 0.8673 GB, free: 40.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0343/6.307, allocations: 6.641 MB / 0.8738 GB, free: 37.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/6.313, allocations: 0.9944 MB / 0.8748 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01613/6.33, allocations: 0.9128 MB / 0.8757 GB, free: 36.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/6.35, allocations: 6.715 MB / 0.8822 GB, free: 32.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01708/6.367, allocations: 0.8424 MB / 0.883 GB, free: 32.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007237/6.368, allocations: 65.52 kB / 0.8831 GB, free: 32.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.000668/6.369, allocations: 108.4 kB / 0.8832 GB, free: 31.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/6.369, allocations: 107.8 kB / 0.8833 GB, free: 31.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/6.389, allocations: 5.036 MB / 0.8882 GB, free: 26.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/6.389, allocations: 8 kB / 0.8882 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/6.389, allocations: 0 / 0.8882 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/6.389, allocations: 3.984 kB / 0.8882 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/6.409, allocations: 7.035 MB / 0.8951 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1063/6.516, allocations: 7.643 MB / 0.9026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006296/6.522, allocations: 367.6 kB / 0.9029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09737/6.619, allocations: 6.749 MB / 0.9095 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/6.62, allocations: 31.95 kB / 0.9095 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/6.64, allocations: 4.319 MB / 0.9138 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/6.64, allocations: 0 / 0.9138 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1106/6.751, allocations: 7.86 MB / 0.9214 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1141/6.865, allocations: 8.258 MB / 0.9295 GB, free: 200 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/6.868, allocations: 0.5423 MB / 0.93 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006397/6.868, allocations: 0 / 0.93 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/6.879, allocations: 0.5227 MB / 0.9305 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/6.879, allocations: 44.5 kB / 0.9306 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/6.88, allocations: 43.95 kB / 0.9306 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002144/6.882, allocations: 0.8049 MB / 0.9314 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006738/6.889, allocations: 0.7799 MB / 0.9322 GB, free: 13.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/6.89, allocations: 324.7 kB / 0.9325 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02065/6.911, allocations: 6.052 MB / 0.9384 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/6.911, allocations: 0 / 0.9384 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005916/6.917, allocations: 1.555 MB / 0.9399 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/6.919, allocations: 211.9 kB / 0.9401 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/6.932, allocations: 2.91 MB / 0.943 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003319/6.935, allocations: 1.471 MB / 0.9444 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of SimCode: time 4.518e-06/6.935, allocations: 4 kB / 0.9444 GB, free: 0.8594 MB / 0.6823 GB