Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothMin",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.422/2.422, 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.001696/0.001696, allocations: 191.7 kB / 315.1 MB, free: 4.258 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.76/1.76, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001299/0.001299, allocations: 93.56 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4267/0.428, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.6686, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6155/1.284, allocations: 131.9 MB / 1.012 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.284, allocations: 72.39 kB / 1.012 GB, free: 8.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0055/1.29, allocations: 1.196 MB / 1.014 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.29, allocations: 8 kB / 1.014 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.292, allocations: 175.1 kB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.292, allocations: 171.8 kB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.292, allocations: 0 / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/1.292, allocations: 4 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003849/1.292, allocations: 121 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/1.293, allocations: 111.5 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.293, allocations: 0 / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.293, allocations: 4 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.293, allocations: 0 / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/1.294, allocations: 443.4 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/1.295, allocations: 171.2 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.295, allocations: 56.48 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/1.295, allocations: 7.969 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/1.295, allocations: 30.56 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/1.295, allocations: 4 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003772/1.296, allocations: 108.6 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.296, allocations: 51.41 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/1.296, allocations: 104.9 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.296, allocations: 25.7 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/1.296, allocations: 92.03 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/1.296, allocations: 11.84 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/1.296, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.296, allocations: 310.8 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/1.296, allocations: 49.72 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/1.296, allocations: 44.47 kB / 1.016 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.834e-05/1.296, allocations: 33.97 kB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.296, allocations: 0 / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003072/1.297, allocations: 114.4 kB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.297, allocations: 8 kB / 1.016 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.297, allocations: 0 / 1.016 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/1.297, allocations: 0.8438 kB / 1.016 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/1.297, allocations: 47.94 kB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.297, allocations: 0 / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/1.298, allocations: 47.81 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/1.298, allocations: 7.922 kB / 1.016 GB, free: 4.867 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 (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 prepare postOptimizeDAE: time 9.547e-05/1.298, allocations: 101 kB / 1.016 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/1.298, allocations: 4 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/1.298, allocations: 19.59 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.298, allocations: 3.984 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.298, allocations: 3.938 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.298, allocations: 0 / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/1.298, allocations: 187.9 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.298, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/1.299, allocations: 44.83 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.299, allocations: 0 / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.299, allocations: 4 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.299, allocations: 3.906 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.299, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003845/1.299, allocations: 207 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005211/1.3, allocations: 0.5771 MB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/1.3, allocations: 89 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/1.3, allocations: 0 / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/1.301, allocations: 43.2 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/1.301, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/1.301, allocations: 8 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001151/1.301, allocations: 89.08 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001642/1.303, allocations: 15.91 kB / 1.017 GB, free: 3.457 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.0001506/1.303, allocations: 95.25 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003724/1.303, allocations: 92.06 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.303, allocations: 0 / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/1.303, allocations: 48.78 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/1.304, allocations: 14.8 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.305, allocations: 181.8 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/1.305, allocations: 0.71 MB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1.306, allocations: 3.938 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB