Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.214/4.214, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5929/4.807, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/5.031, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/5.319, allocations: 123.9 MB / 0.7493 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/5.319, allocations: 71.59 kB / 0.7493 GB, free: 13.66 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.007098/5.327, allocations: 1.175 MB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/5.327, allocations: 8 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/5.327, allocations: 7.906 kB / 0.7505 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/5.327, allocations: 178.9 kB / 0.7507 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/5.327, allocations: 3.938 kB / 0.7507 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/5.327, allocations: 4 kB / 0.7507 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001624/5.327, allocations: 20 kB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/5.328, allocations: 41.69 kB / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.328, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/5.328, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/5.328, allocations: 4 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/5.328, allocations: 289.2 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/5.329, allocations: 42.5 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/5.329, allocations: 12.92 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/5.329, allocations: 4 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/5.329, allocations: 30.56 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.808e-06/5.329, allocations: 0 / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003802/5.329, allocations: 49.69 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/5.329, allocations: 55.41 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/5.33, allocations: 112.9 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/5.33, allocations: 25.7 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/5.33, allocations: 92.08 kB / 0.7514 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/5.33, allocations: 7.906 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/5.33, allocations: 0 / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002066/5.33, allocations: 322.7 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/5.33, allocations: 12 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/5.33, allocations: 21.72 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/5.33, allocations: 8 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/5.33, allocations: 7.922 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002553/5.331, allocations: 53.61 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/5.331, allocations: 8.031 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/5.331, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/5.331, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/5.331, allocations: 11.98 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/5.331, allocations: 3.938 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/5.331, allocations: 15.98 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/5.331, allocations: 4 kB / 0.7519 GB, free: 10.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.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.0001308/5.331, allocations: 105 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/5.331, allocations: 8.094 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/5.332, allocations: 8 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/5.332, allocations: 3.984 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/5.332, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/5.332, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/5.332, allocations: 162 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/5.332, allocations: 0 / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/5.332, allocations: 8 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/5.332, allocations: 0 / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/5.332, allocations: 3.984 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/5.332, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/5.332, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002665/5.333, allocations: 147.5 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005577/5.333, allocations: 0.5193 MB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/5.333, allocations: 81.02 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/5.333, allocations: 4 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/5.334, allocations: 7.984 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/5.334, allocations: 7.984 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/5.334, allocations: 0 / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001245/5.334, allocations: 107.2 kB / 0.753 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002198/5.336, allocations: 11.91 kB / 0.753 GB, free: 9.566 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.0002304/5.336, allocations: 95.25 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002266/5.337, allocations: 23.94 kB / 0.7531 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.337, allocations: 0 / 0.7531 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/5.337, allocations: 15.98 kB / 0.7531 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/5.337, allocations: 12 kB / 0.7531 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/5.338, allocations: 76.55 kB / 0.7532 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/5.338, allocations: 0.7071 MB / 0.7539 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/5.338, allocations: 0 / 0.7539 GB, free: 8.582 MB / 0.6355 GB