Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 248.6 MB / 255.9 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001697, allocations: 189.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 83.28 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4439/0.4452, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.6418, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6549/1.297, allocations: 132.5 MB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.297, allocations: 76.08 kB / 1.013 GB, free: 7.664 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006633/1.304, allocations: 1.416 MB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.304, allocations: 8 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/1.304, allocations: 0 / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.304, allocations: 171 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.304, allocations: 3.938 kB / 1.015 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/1.304, allocations: 4 kB / 1.015 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.513e-05/1.304, allocations: 9.938 kB / 1.015 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/1.304, allocations: 37.19 kB / 1.015 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.304, allocations: 3.938 kB / 1.015 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.304, allocations: 7.906 kB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.304, allocations: 4 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/1.305, allocations: 223 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/1.305, allocations: 30.12 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/1.305, allocations: 8.922 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.306, allocations: 477 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/1.306, allocations: 34.47 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.966e-06/1.306, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0005521/1.307, allocations: 91.58 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.307, allocations: 54.03 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/1.307, allocations: 96.75 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.307, allocations: 25.7 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/1.307, allocations: 84.08 kB / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/1.307, allocations: 11.83 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.307, allocations: 4.031 kB / 1.016 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.307, allocations: 314.8 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/1.307, allocations: 7.5 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/1.307, allocations: 0 / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/1.308, allocations: 50.2 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.308, allocations: 3.906 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004215/1.308, allocations: 84.14 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.308, allocations: 8.031 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.308, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.308, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.308, allocations: 15.92 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.308, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/1.308, allocations: 7.906 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.308, allocations: 0 / 1.016 GB, free: 4.355 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 (2): * Single equations (assignments): 2 * 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.000122/1.309, allocations: 105 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/1.309, allocations: 4 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/1.309, allocations: 94.81 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.309, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.309, allocations: 8.906 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.309, allocations: 11.91 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/1.31, allocations: 137.3 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.31, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/1.31, allocations: 8 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.31, allocations: 7.922 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.31, allocations: 0.5625 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.31, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/1.31, allocations: 7.844 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004922/1.31, allocations: 181.4 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006296/1.311, allocations: 0.5554 MB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/1.311, allocations: 81.02 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/1.311, allocations: 8.031 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.311, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/1.311, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/1.311, allocations: 3.984 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.753e-05/1.311, allocations: 85.78 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001156/1.313, allocations: 23.94 kB / 1.017 GB, free: 2.977 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 (2): * Single equations (assignments): 2 * 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.0002377/1.313, allocations: 119.1 kB / 1.018 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001111/1.313, allocations: 17.81 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.313, allocations: 0 / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/1.313, allocations: 4 kB / 1.018 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/1.313, allocations: 0 / 1.018 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/1.314, allocations: 75.02 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.314, allocations: 0.6919 MB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/1.314, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB