Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Examples_Table",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.001/4.001, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5468/4.548, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/4.785, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/5.083, allocations: 125 MB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/5.084, allocations: 75.59 kB / 0.7505 GB, free: 12.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01789/5.102, allocations: 4.191 MB / 0.7546 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/5.102, allocations: 12 kB / 0.7546 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/5.102, allocations: 27.62 kB / 0.7546 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/5.103, allocations: 362.9 kB / 0.7549 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/5.103, allocations: 3.938 kB / 0.7549 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/5.103, allocations: 7.906 kB / 0.755 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/5.103, allocations: 31.98 kB / 0.755 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/5.103, allocations: 53.69 kB / 0.755 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/5.103, allocations: 3.938 kB / 0.755 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/5.103, allocations: 0 / 0.755 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/5.103, allocations: 0 / 0.755 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/5.104, allocations: 409.1 kB / 0.7554 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/5.104, allocations: 42.67 kB / 0.7555 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/5.104, allocations: 12.86 kB / 0.7555 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/5.104, allocations: 4 kB / 0.7555 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/5.104, allocations: 30.56 kB / 0.7555 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/5.104, allocations: 0 / 0.7555 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003291/5.105, allocations: 73.5 kB / 0.7556 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/5.105, allocations: 51.41 kB / 0.7556 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/5.105, allocations: 437.9 kB / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/5.105, allocations: 25.7 kB / 0.7561 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/5.106, allocations: 120 kB / 0.7562 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/5.106, allocations: 15.89 kB / 0.7562 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/5.106, allocations: 0 / 0.7562 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001635/5.106, allocations: 338.8 kB / 0.7565 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/5.106, allocations: 12 kB / 0.7565 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/5.106, allocations: 8 kB / 0.7565 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/5.106, allocations: 15.94 kB / 0.7566 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/5.106, allocations: 0 / 0.7566 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/5.106, allocations: 81.31 kB / 0.7566 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/5.106, allocations: 8 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/5.106, allocations: 4 kB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/5.106, allocations: 0 / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/5.106, allocations: 15.98 kB / 0.7567 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/5.107, allocations: 0 / 0.7567 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/5.107, allocations: 19.83 kB / 0.7567 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/5.107, allocations: 4 kB / 0.7567 GB, free: 5.922 MB / 0.6355 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 7.829e-05/5.107, allocations: 101 kB / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/5.107, allocations: 27.62 kB / 0.7568 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/5.107, allocations: 92.09 kB / 0.7569 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/5.107, allocations: 3.938 kB / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/5.107, allocations: 0 / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/5.107, allocations: 192 / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/5.108, allocations: 254 kB / 0.7571 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/5.108, allocations: 0 / 0.7571 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/5.108, allocations: 23.89 kB / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/5.108, allocations: 0 / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/5.108, allocations: 0 / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/5.108, allocations: 0 / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.108, allocations: 0 / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002202/5.108, allocations: 171.2 kB / 0.7573 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003709/5.108, allocations: 0.5503 MB / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/5.109, allocations: 124.7 kB / 0.758 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/5.109, allocations: 0 / 0.758 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/5.109, allocations: 4 kB / 0.758 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/5.109, allocations: 11.98 kB / 0.758 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/5.109, allocations: 0 / 0.758 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006103/5.11, allocations: 348.5 kB / 0.7583 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001221/5.111, allocations: 31.98 kB / 0.7584 GB, free: 4.094 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.001693/5.113, allocations: 228.5 kB / 0.7586 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004978/5.113, allocations: 87.33 kB / 0.7587 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/5.113, allocations: 0 / 0.7587 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/5.113, allocations: 12 kB / 0.7587 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/5.114, allocations: 25.11 kB / 0.7587 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/5.116, allocations: 356.6 kB / 0.759 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/5.116, allocations: 0.7936 MB / 0.7598 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/5.116, allocations: 7.938 kB / 0.7598 GB, free: 2.543 MB / 0.6355 GB