Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Actuators.Dampers.Examples.Damper,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",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.013/4.013, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5524/4.566, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/4.799, allocations: 98.74 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/10.47, allocations: 2.195 GB / 2.823 GB, free: 151.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/10.47, allocations: 93.64 kB / 2.824 GB, free: 151.1 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 2.778/13.25, allocations: 0.5406 GB / 3.364 GB, free: 184.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/13.25, allocations: 7.625 kB / 3.364 GB, free: 184.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/13.26, allocations: 254.2 kB / 3.364 GB, free: 184.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/13.26, allocations: 0.697 MB / 3.365 GB, free: 184.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/13.26, allocations: 19 kB / 3.365 GB, free: 184.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/13.26, allocations: 35.19 kB / 3.365 GB, free: 184.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001881/13.26, allocations: 459.3 kB / 3.366 GB, free: 184.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/13.26, allocations: 0.6338 MB / 3.366 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/13.26, allocations: 1.594 kB / 3.366 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/13.26, allocations: 3.719 kB / 3.366 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/13.26, allocations: 24.19 kB / 3.366 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007476/13.27, allocations: 3.602 MB / 3.37 GB, free: 182.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/13.27, allocations: 329.4 kB / 3.37 GB, free: 182.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/13.27, allocations: 184.8 kB / 3.37 GB, free: 182 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005422/13.27, allocations: 201.2 kB / 3.37 GB, free: 181.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/13.27, allocations: 38.55 kB / 3.37 GB, free: 181.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 4.558e-06/13.27, allocations: 0 / 3.37 GB, free: 181.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.005845/13.28, allocations: 0.7469 MB / 3.371 GB, free: 181.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/13.28, allocations: 55.38 kB / 3.371 GB, free: 181.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/13.28, allocations: 0.6396 MB / 3.372 GB, free: 181.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/13.28, allocations: 25.7 kB / 3.372 GB, free: 181.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/13.28, allocations: 318.3 kB / 3.372 GB, free: 181.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/13.28, allocations: 124.7 kB / 3.372 GB, free: 181.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/13.28, allocations: 3.719 kB / 3.372 GB, free: 181.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/13.28, allocations: 329.1 kB / 3.373 GB, free: 181 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/13.28, allocations: 145.9 kB / 3.373 GB, free: 181 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/13.28, allocations: 371 kB / 3.373 GB, free: 180.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/13.29, allocations: 472.1 kB / 3.374 GB, free: 180.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/13.29, allocations: 0 / 3.374 GB, free: 180.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.005213/13.29, allocations: 0.8231 MB / 3.374 GB, free: 180.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005486/13.29, allocations: 2.01 MB / 3.376 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/13.29, allocations: 3.938 kB / 3.376 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/13.29, allocations: 110.4 kB / 3.376 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/13.29, allocations: 137.6 kB / 3.377 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/13.3, allocations: 1.329 MB / 3.378 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/13.3, allocations: 119.6 kB / 3.378 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/13.3, allocations: 34.48 kB / 3.378 GB, free: 177.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/13.3, allocations: 7.719 kB / 3.378 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003267/13.3, allocations: 0.6757 MB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/13.3, allocations: 3.938 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/13.3, allocations: 7.75 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/13.3, allocations: 147.1 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/13.3, allocations: 11.06 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/13.3, allocations: 99.23 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/13.31, allocations: 33.25 kB / 3.379 GB, free: 177.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002033/13.31, allocations: 127.2 kB / 3.379 GB, free: 177.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/13.31, allocations: 85.03 kB / 3.379 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/13.31, allocations: 0.815 MB / 3.38 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/13.31, allocations: 3.906 kB / 3.38 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/13.31, allocations: 0 / 3.38 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/13.31, allocations: 3.938 kB / 3.38 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/13.32, allocations: 1.709 MB / 3.382 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/13.32, allocations: 6.406 kB / 3.382 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/13.32, allocations: 95.52 kB / 3.382 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006384/13.32, allocations: 130.2 kB / 3.382 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/13.32, allocations: 11.64 kB / 3.382 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/13.32, allocations: 1.307 MB / 3.383 GB, free: 175.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/13.32, allocations: 9.875 kB / 3.383 GB, free: 175.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004264/13.32, allocations: 1.047 MB / 3.384 GB, free: 175.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005108/13.33, allocations: 1.523 MB / 3.386 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/13.33, allocations: 220.7 kB / 3.386 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/13.33, allocations: 5.828 kB / 3.386 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/13.33, allocations: 65.69 kB / 3.386 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/13.33, allocations: 36.3 kB / 3.386 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/13.33, allocations: 21.53 kB / 3.386 GB, free: 174.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001102/13.33, allocations: 0.4911 MB / 3.386 GB, free: 174.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005889/13.34, allocations: 0.8907 MB / 3.387 GB, free: 174.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003812/13.34, allocations: 1.646 MB / 3.389 GB, free: 173.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003182/13.35, allocations: 0.7097 MB / 3.39 GB, free: 173.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/13.35, allocations: 0 / 3.39 GB, free: 173.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/13.35, allocations: 248.5 kB / 3.39 GB, free: 173.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/13.35, allocations: 307.8 kB / 3.39 GB, free: 173.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/13.35, allocations: 1.032 MB / 3.391 GB, free: 173.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/13.35, allocations: 1.095 MB / 3.392 GB, free: 172.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.084e-06/13.35, allocations: 0 / 3.392 GB, free: 172.7 MB / 0.823 GB