Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.075/4.075, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5546/4.63, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/4.868, allocations: 98.73 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/5.104, allocations: 124 MB / 0.7494 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/5.104, allocations: 75.59 kB / 0.7495 GB, free: 13.51 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01192/5.116, allocations: 2.177 MB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/5.116, allocations: 12 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/5.116, allocations: 19.8 kB / 0.7516 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/5.116, allocations: 203.4 kB / 0.7518 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/5.116, allocations: 4 kB / 0.7518 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/5.116, allocations: 4 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003347/5.117, allocations: 84.09 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/5.117, allocations: 109.5 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/5.117, allocations: 0 / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/5.117, allocations: 0 / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/5.117, allocations: 4 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/5.118, allocations: 385 kB / 0.7524 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/5.119, allocations: 130.7 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/5.12, allocations: 48.92 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/5.12, allocations: 0 / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/5.12, allocations: 38.67 kB / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/5.12, allocations: 0 / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005083/5.12, allocations: 129.5 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/5.12, allocations: 51.41 kB / 0.7528 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/5.12, allocations: 126.2 kB / 0.7529 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/5.12, allocations: 29.7 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/5.121, allocations: 99.97 kB / 0.753 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/5.121, allocations: 31.55 kB / 0.753 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/5.121, allocations: 0 / 0.753 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/5.121, allocations: 322.8 kB / 0.7533 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/5.121, allocations: 35.94 kB / 0.7534 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/5.121, allocations: 44.02 kB / 0.7534 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/5.121, allocations: 39.97 kB / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/5.121, allocations: 0 / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003896/5.122, allocations: 129.4 kB / 0.7536 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/5.122, allocations: 8 kB / 0.7536 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/5.122, allocations: 0 / 0.7536 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/5.122, allocations: 0 / 0.7536 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/5.122, allocations: 47.95 kB / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/5.122, allocations: 0 / 0.7536 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/5.123, allocations: 35.97 kB / 0.7537 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/5.123, allocations: 4 kB / 0.7537 GB, free: 8.984 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001354/5.123, allocations: 116.9 kB / 0.7538 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/5.123, allocations: 7.906 kB / 0.7538 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/5.123, allocations: 8.5 kB / 0.7538 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/5.123, allocations: 4 kB / 0.7538 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/5.123, allocations: 0 / 0.7538 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/5.123, allocations: 7.938 kB / 0.7538 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/5.123, allocations: 214 kB / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/5.123, allocations: 0 / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/5.124, allocations: 47.95 kB / 0.7541 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/5.124, allocations: 0 / 0.7541 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/5.124, allocations: 7.984 kB / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/5.124, allocations: 0 / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/5.124, allocations: 0 / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004455/5.124, allocations: 223.5 kB / 0.7543 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006446/5.125, allocations: 0.5981 MB / 0.7549 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/5.125, allocations: 85.02 kB / 0.7549 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/5.125, allocations: 3.906 kB / 0.7549 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/5.126, allocations: 35.97 kB / 0.755 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/5.126, allocations: 31.95 kB / 0.755 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/5.126, allocations: 3.984 kB / 0.755 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001348/5.126, allocations: 115.2 kB / 0.7551 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001541/5.128, allocations: 23.94 kB / 0.7551 GB, free: 7.375 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0002959/5.128, allocations: 107.2 kB / 0.7552 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004111/5.128, allocations: 95.91 kB / 0.7553 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/5.128, allocations: 0 / 0.7553 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/5.129, allocations: 67.91 kB / 0.7554 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/5.129, allocations: 7.906 kB / 0.7554 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/5.13, allocations: 171.4 kB / 0.7556 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/5.13, allocations: 0.7344 MB / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/5.13, allocations: 0 / 0.7563 GB, free: 6.145 MB / 0.6355 GB