Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Shade.Validation.Shade_H,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.593/2.593, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.00163/0.001629, allocations: 184.3 kB / 315.1 MB, free: 4.254 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.989/1.989, allocations: 205.1 MB / 0.5658 GB, free: 364 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.00129/0.00129, allocations: 85.67 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4976/0.4989, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.7304, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6815/1.412, allocations: 131.8 MB / 1.012 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.412, allocations: 62.91 kB / 1.012 GB, free: 8.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007974/1.42, allocations: 1.151 MB / 1.013 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.139e-05/1.42, allocations: 15.98 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/1.421, allocations: 3.906 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/1.421, allocations: 182.8 kB / 1.014 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.421, allocations: 0 / 1.014 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.421, allocations: 4 kB / 1.014 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000166/1.421, allocations: 15.81 kB / 1.014 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/1.421, allocations: 53.11 kB / 1.014 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.421, allocations: 0 / 1.014 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.422, allocations: 0 / 1.014 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.422, allocations: 7.984 kB / 1.014 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/1.422, allocations: 277.5 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/1.423, allocations: 47.8 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/1.423, allocations: 16.83 kB / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.423, allocations: 0 / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/1.423, allocations: 30.56 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/1.423, allocations: 2.625 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003405/1.423, allocations: 56.88 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.423, allocations: 51.41 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.423, allocations: 112.6 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/1.424, allocations: 29.7 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/1.424, allocations: 80.14 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.424, allocations: 15.66 kB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.424, allocations: 0 / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.424, allocations: 318.7 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/1.424, allocations: 10.62 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/1.424, allocations: 21.34 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/1.424, allocations: 15.58 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.424, allocations: 0 / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002221/1.424, allocations: 48.89 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.424, allocations: 8 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.425, allocations: 3.984 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.425, allocations: 3.906 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/1.425, allocations: 7.938 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.425, allocations: 0 / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/1.425, allocations: 23.92 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/1.425, allocations: 3.938 kB / 1.015 GB, free: 5.84 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: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001291/1.425, allocations: 103.5 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/1.425, allocations: 11.16 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/1.425, allocations: 4 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.425, allocations: 4 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.425, allocations: 0 / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.425, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/1.426, allocations: 156.1 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.426, allocations: 0 / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.426, allocations: 8 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.426, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/1.426, allocations: 3.984 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.426, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.259e-06/1.426, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002684/1.426, allocations: 158 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004424/1.427, allocations: 0.5103 MB / 1.016 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/1.427, allocations: 85.06 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/1.427, allocations: 7.969 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/1.427, allocations: 12 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.427, allocations: 7.547 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.427, allocations: 4 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001072/1.427, allocations: 90.33 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001921/1.429, allocations: 11.91 kB / 1.016 GB, free: 4.609 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * 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.0002033/1.43, allocations: 91.25 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002303/1.43, allocations: 29.75 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.43, allocations: 4 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/1.43, allocations: 15.92 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/1.43, allocations: 17.19 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/1.431, allocations: 75 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/1.432, allocations: 0.7108 MB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/1.432, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB