Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.532/2.532, allocations: 248.6 MB / 255.9 MB, free: 7.098 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.002016/0.002016, allocations: 177.3 kB / 315.1 MB, free: 4.293 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.943/1.943, allocations: 205.1 MB / 0.5658 GB, free: 324 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.002083/0.002083, allocations: 91.31 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.537/0.5391, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.7526, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.697/1.45, allocations: 131.8 MB / 1.012 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.45, allocations: 67.83 kB / 1.012 GB, free: 8.469 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.007365/1.457, allocations: 1.158 MB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/1.458, allocations: 8 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.735e-05/1.458, allocations: 7.906 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/1.458, allocations: 174.9 kB / 1.014 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/1.458, allocations: 0 / 1.014 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/1.458, allocations: 7.938 kB / 1.014 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001647/1.458, allocations: 23.86 kB / 1.014 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.458, allocations: 44.12 kB / 1.014 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.458, allocations: 4 kB / 1.014 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/1.458, allocations: 4 kB / 1.014 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/1.458, allocations: 0 / 1.014 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/1.459, allocations: 282.1 kB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/1.46, allocations: 40.08 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/1.46, allocations: 12.11 kB / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.46, allocations: 0 / 1.014 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.46, allocations: 34.64 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/1.46, allocations: 6.625 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/1.46, allocations: 48.23 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/1.46, allocations: 55.34 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/1.461, allocations: 111.7 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/1.461, allocations: 25.7 kB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/1.461, allocations: 95.62 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/1.461, allocations: 3.906 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/1.461, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002236/1.461, allocations: 321.9 kB / 1.015 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/1.461, allocations: 11.73 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.461, allocations: 27.97 kB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/1.462, allocations: 7.438 kB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.462, allocations: 0 / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002228/1.462, allocations: 52.62 kB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.462, allocations: 4 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.462, allocations: 0 / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.462, allocations: 3.906 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/1.462, allocations: 19.91 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.462, allocations: 0 / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/1.462, allocations: 19.97 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/1.462, allocations: 3.938 kB / 1.015 GB, free: 5.906 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.shaT.hys.y,shaT.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.0001461/1.462, allocations: 107.5 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/1.463, allocations: 11.89 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/1.463, allocations: 6.75 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.463, allocations: 0 / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.463, allocations: 4 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.463, allocations: 0 / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/1.463, allocations: 160.4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.463, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/1.463, allocations: 4 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.463, allocations: 0 / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/1.463, allocations: 3.938 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.463, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.463, allocations: 4 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003239/1.464, allocations: 150.7 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005288/1.464, allocations: 0.5217 MB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/1.464, allocations: 81.02 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/1.465, allocations: 4 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/1.465, allocations: 11.98 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/1.465, allocations: 7.984 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/1.465, allocations: 0 / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001111/1.465, allocations: 90.16 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002104/1.467, allocations: 11.91 kB / 1.016 GB, free: 4.676 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0002595/1.468, allocations: 99.23 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002379/1.468, allocations: 33.44 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.468, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/1.468, allocations: 11.5 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/1.468, allocations: 1.719 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/1.469, allocations: 86.47 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/1.469, allocations: 0.6993 MB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of SimCode: time 1.133e-06/1.469, allocations: 0 / 1.017 GB, free: 3.711 MB / 0.6355 GB