Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.3/2.3, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001601/0.001601, allocations: 186.7 kB / 315.1 MB, free: 4.289 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.927/1.927, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001811/0.001811, allocations: 91.25 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4985/0.5004, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.714, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/1.375, allocations: 130.9 MB / 1.011 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.375, allocations: 70.7 kB / 1.011 GB, free: 9.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007524/1.376, allocations: 364.6 kB / 1.012 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.376, allocations: 12 kB / 1.012 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/1.376, allocations: 7.891 kB / 1.012 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.376, allocations: 165.5 kB / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.376, allocations: 0 / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/1.376, allocations: 1.031 kB / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.328e-05/1.376, allocations: 4 kB / 1.012 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.339e-05/1.376, allocations: 29.64 kB / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/1.376, allocations: 0 / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/1.376, allocations: 0 / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.376, allocations: 3.906 kB / 1.012 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/1.377, allocations: 363.2 kB / 1.012 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/1.377, allocations: 165.1 kB / 1.012 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/1.377, allocations: 83.2 kB / 1.013 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/1.377, allocations: 75.28 kB / 1.013 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/1.377, allocations: 117.8 kB / 1.013 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/1.377, allocations: 3.938 kB / 1.013 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.237e-05/1.377, allocations: 29.61 kB / 1.013 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.377, allocations: 51.41 kB / 1.013 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/1.377, allocations: 88.98 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.377, allocations: 28.33 kB / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/1.377, allocations: 87.83 kB / 1.013 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/1.377, allocations: 4.125 kB / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-07/1.377, allocations: 0 / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.378, allocations: 313.4 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-06/1.378, allocations: 0 / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/1.378, allocations: 0 / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/1.378, allocations: 75.28 kB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.553e-05/1.378, allocations: 75.28 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.647e-05/1.378, allocations: 33.64 kB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.378, allocations: 4 kB / 1.013 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-05/1.378, allocations: 79.28 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-05/1.378, allocations: 162 kB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.369e-05/1.378, allocations: 79.22 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.509e-05/1.378, allocations: 154.5 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/1.378, allocations: 75.28 kB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/1.378, allocations: 79.22 kB / 1.014 GB, free: 6.379 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 (0): * Single equations (assignments): 0 * 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.0001386/1.378, allocations: 262.3 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/1.379, allocations: 101 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/1.379, allocations: 108 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/1.379, allocations: 180.2 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-05/1.379, allocations: 180.3 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-05/1.379, allocations: 188.3 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/1.379, allocations: 389.7 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.186e-05/1.379, allocations: 106.2 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/1.379, allocations: 105 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.124e-05/1.379, allocations: 180.2 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/1.38, allocations: 180.3 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.123e-05/1.38, allocations: 180.2 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.152e-05/1.38, allocations: 187.3 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001801/1.38, allocations: 295.7 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003241/1.38, allocations: 0.672 MB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/1.38, allocations: 186.1 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/1.38, allocations: 187 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.381, allocations: 105 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/1.381, allocations: 180.3 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/1.381, allocations: 108.9 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.188e-05/1.381, allocations: 75.28 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001205/1.382, allocations: 3.938 kB / 1.018 GB, free: 2.078 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 (0): * Single equations (assignments): 0 * 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.000193/1.382, allocations: 170.5 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.797e-05/1.382, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.382, allocations: 4.094 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/1.382, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/1.383, allocations: 0.5181 MB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/1.383, allocations: 135.1 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/1.383, allocations: 0.6841 MB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/1.383, allocations: 4 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB