Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.149/4.149, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5264/4.675, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/4.912, allocations: 98.73 MB / 0.6283 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/5.239, allocations: 126.2 MB / 0.7515 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/5.239, allocations: 71.61 kB / 0.7516 GB, free: 11.39 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.05504/5.294, allocations: 7.492 MB / 0.7589 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/5.294, allocations: 8 kB / 0.7589 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/5.295, allocations: 27.72 kB / 0.759 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/5.298, allocations: 418.2 kB / 0.7594 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/5.298, allocations: 4 kB / 0.7594 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/5.298, allocations: 23.98 kB / 0.7594 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005539/5.299, allocations: 136.4 kB / 0.7595 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/5.299, allocations: 155.2 kB / 0.7597 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/5.299, allocations: 3.938 kB / 0.7597 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/5.299, allocations: 3.906 kB / 0.7597 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/5.299, allocations: 4 kB / 0.7597 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/5.302, allocations: 0.8517 MB / 0.7605 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/5.303, allocations: 230.4 kB / 0.7607 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/5.304, allocations: 113.1 kB / 0.7608 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/5.304, allocations: 3.953 kB / 0.7608 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/5.304, allocations: 38.56 kB / 0.7609 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 4.669e-06/5.304, allocations: 3.938 kB / 0.7609 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.00131/5.305, allocations: 238.4 kB / 0.7611 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/5.305, allocations: 51.41 kB / 0.7612 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/5.306, allocations: 248.8 kB / 0.7614 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/5.306, allocations: 29.7 kB / 0.7614 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/5.306, allocations: 116.8 kB / 0.7615 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/5.306, allocations: 74.95 kB / 0.7616 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/5.306, allocations: 0 / 0.7616 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/5.306, allocations: 342.7 kB / 0.7619 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/5.307, allocations: 256.9 kB / 0.7622 GB, free: 332 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/5.308, allocations: 306.9 kB / 0.7625 GB, free: 20 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009739/5.309, allocations: 295.1 kB / 0.7628 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/5.309, allocations: 0 / 0.7628 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001978/5.311, allocations: 0.6446 MB / 0.7634 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/5.311, allocations: 4 kB / 0.7634 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/5.311, allocations: 4 kB / 0.7634 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/5.311, allocations: 11.94 kB / 0.7634 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/5.313, allocations: 123.8 kB / 0.7635 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/5.313, allocations: 4 kB / 0.7635 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/5.316, allocations: 67.38 kB / 0.7636 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/5.316, allocations: 19.98 kB / 0.7636 GB, free: 14.85 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 (61): * Single equations (assignments): 61 * 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.000176/5.316, allocations: 108.9 kB / 0.7637 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/5.316, allocations: 19.72 kB / 0.7637 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/5.316, allocations: 29.89 kB / 0.7638 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/5.316, allocations: 0 / 0.7638 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/5.316, allocations: 0 / 0.7638 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/5.316, allocations: 3.938 kB / 0.7638 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/5.317, allocations: 389.5 kB / 0.7641 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.317, allocations: 0 / 0.7641 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/5.318, allocations: 47.92 kB / 0.7642 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/5.318, allocations: 0 / 0.7642 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/5.318, allocations: 7.984 kB / 0.7642 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/5.318, allocations: 4 kB / 0.7642 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/5.318, allocations: 3.906 kB / 0.7642 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001007/5.319, allocations: 476.2 kB / 0.7646 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002082/5.321, allocations: 0.9795 MB / 0.7656 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/5.321, allocations: 112.7 kB / 0.7657 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/5.321, allocations: 4 kB / 0.7657 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/5.323, allocations: 19.88 kB / 0.7657 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/5.323, allocations: 7.984 kB / 0.7657 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/5.323, allocations: 12 kB / 0.7658 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003699/5.324, allocations: 169.2 kB / 0.7659 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003079/5.327, allocations: 203.9 kB / 0.7661 GB, free: 12.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0004096/5.327, allocations: 127.1 kB / 0.7662 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001969/5.329, allocations: 442.1 kB / 0.7667 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/5.329, allocations: 0 / 0.7667 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003981/5.33, allocations: 107.9 kB / 0.7668 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/5.331, allocations: 48.47 kB / 0.7668 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/5.335, allocations: 0.9276 MB / 0.7677 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/5.336, allocations: 0.8402 MB / 0.7685 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/5.336, allocations: 0 / 0.7685 GB, free: 9.66 MB / 0.6511 GB