Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",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.341/2.341, allocations: 248.6 MB / 255.9 MB, free: 1.16 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 190.9 kB / 315.1 MB, free: 9.602 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 0.5658 GB, free: 14.06 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001251, allocations: 90.38 kB / 0.6699 GB, free: 52.04 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2369/0.2382, allocations: 112.4 MB / 0.7797 GB, free: 10.66 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.4625, allocations: 106.2 MB / 0.8835 GB, free: 296 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5132/0.9757, allocations: 130.8 MB / 1.011 GB, free: 15.91 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.976, allocations: 63.97 kB / 1.011 GB, free: 15.85 MB / 0.659 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.006564/0.9826, allocations: 1.384 MB / 1.013 GB, free: 14.47 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9827, allocations: 11.94 kB / 1.013 GB, free: 14.46 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.9827, allocations: 0 / 1.013 GB, free: 14.46 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.9829, allocations: 170.9 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9829, allocations: 0.5156 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9829, allocations: 3.938 kB / 1.013 GB, free: 14.25 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.582e-05/0.983, allocations: 12 kB / 1.013 GB, free: 14.23 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.9831, allocations: 39.7 kB / 1.013 GB, free: 14.19 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.9831, allocations: 0 / 1.013 GB, free: 14.19 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.9832, allocations: 2.469 kB / 1.013 GB, free: 14.19 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.9832, allocations: 0 / 1.013 GB, free: 14.19 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.9837, allocations: 248.4 kB / 1.013 GB, free: 13.91 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.9838, allocations: 30.5 kB / 1.013 GB, free: 13.88 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.9838, allocations: 8.922 kB / 1.013 GB, free: 13.86 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.9839, allocations: 82.11 kB / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.984, allocations: 35.81 kB / 1.013 GB, free: 13.72 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.984, allocations: 0.75 kB / 1.013 GB, free: 13.72 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.9842, allocations: 42.12 kB / 1.013 GB, free: 13.68 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.9843, allocations: 52.66 kB / 1.013 GB, free: 13.61 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.9844, allocations: 97 kB / 1.013 GB, free: 13.51 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.9844, allocations: 25.7 kB / 1.013 GB, free: 13.48 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.9845, allocations: 84.89 kB / 1.013 GB, free: 13.39 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.9845, allocations: 3.906 kB / 1.013 GB, free: 13.39 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.9845, allocations: 0.6875 kB / 1.013 GB, free: 13.39 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9846, allocations: 319.1 kB / 1.014 GB, free: 13.07 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.9847, allocations: 11.22 kB / 1.014 GB, free: 13.07 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.9847, allocations: 4.781 kB / 1.014 GB, free: 13.06 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.9848, allocations: 8.781 kB / 1.014 GB, free: 13.05 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9848, allocations: 0 / 1.014 GB, free: 13.05 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.9849, allocations: 38.3 kB / 1.014 GB, free: 13.01 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.985, allocations: 8 kB / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.985, allocations: 0.7188 kB / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.985, allocations: 3.906 kB / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.9852, allocations: 13.45 kB / 1.014 GB, free: 12.99 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.9852, allocations: 2.688 kB / 1.014 GB, free: 12.99 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9853, allocations: 11.98 kB / 1.014 GB, free: 12.98 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.9853, allocations: 3.938 kB / 1.014 GB, free: 12.97 MB / 0.659 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 8.266e-05/0.9854, allocations: 106.5 kB / 1.014 GB, free: 12.86 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.9855, allocations: 9.562 kB / 1.014 GB, free: 12.86 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.9857, allocations: 51.45 kB / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9857, allocations: 0 / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9857, allocations: 4.75 kB / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.9857, allocations: 0.8438 kB / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.9859, allocations: 140.7 kB / 1.014 GB, free: 12.63 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9859, allocations: 4 kB / 1.014 GB, free: 12.62 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.986, allocations: 8 kB / 1.014 GB, free: 12.62 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.986, allocations: 3.906 kB / 1.014 GB, free: 12.61 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.9861, allocations: 3.984 kB / 1.014 GB, free: 12.61 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9861, allocations: 4 kB / 1.014 GB, free: 12.61 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9861, allocations: 0 / 1.014 GB, free: 12.61 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000168/0.9863, allocations: 131.6 kB / 1.014 GB, free: 12.46 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002884/0.9866, allocations: 0.5154 MB / 1.015 GB, free: 11.93 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.9866, allocations: 81.02 kB / 1.015 GB, free: 11.83 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.9867, allocations: 0 / 1.015 GB, free: 11.83 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.9868, allocations: 16.05 kB / 1.015 GB, free: 11.81 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.9869, allocations: 0.8906 kB / 1.015 GB, free: 11.81 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.9869, allocations: 0 / 1.015 GB, free: 11.81 MB / 0.659 GB Notification: Performance of sort global known variables: time 5.528e-05/0.9869, allocations: 89.14 kB / 1.015 GB, free: 11.73 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001115/0.9881, allocations: 15.94 kB / 1.015 GB, free: 11.71 MB / 0.659 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.0002073/0.9883, allocations: 110.2 kB / 1.015 GB, free: 11.6 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.9884, allocations: 20 kB / 1.015 GB, free: 11.58 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9884, allocations: 0 / 1.015 GB, free: 11.58 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.9885, allocations: 7.938 kB / 1.015 GB, free: 11.57 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.9887, allocations: 12.92 kB / 1.015 GB, free: 11.56 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.989, allocations: 63.23 kB / 1.015 GB, free: 11.48 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.9894, allocations: 0.688 MB / 1.016 GB, free: 10.76 MB / 0.659 GB Notification: Performance of SimCode: time 8.82e-07/0.9894, allocations: 0 / 1.016 GB, free: 10.76 MB / 0.659 GB