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"}) Notification: Performance of loadModel(Buildings): time 4.246/4.246, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.095e-05, allocations: 2.781 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.4344, allocations: 123.9 MB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4347, allocations: 67.95 kB / 0.75 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004657/0.4394, allocations: 1.13 MB / 0.7511 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4395, allocations: 4 kB / 0.7511 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.4395, allocations: 0 / 0.7511 GB, free: 11.83 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.00052/0.44, allocations: 354.5 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4401, allocations: 8.031 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.4402, allocations: 11.86 kB / 0.7515 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.4404, allocations: 170.9 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4404, allocations: 4 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4404, allocations: 0 / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.4405, allocations: 31.92 kB / 0.7517 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4407, allocations: 49.69 kB / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4407, allocations: 0 / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4407, allocations: 0 / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4407, allocations: 0 / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.4413, allocations: 277.4 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4418, allocations: 74.48 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.4418, allocations: 21 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.4419, allocations: 0 / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4419, allocations: 30.56 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.4419, allocations: 0 / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002172/0.4421, allocations: 53.55 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4422, allocations: 59.41 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4423, allocations: 104.9 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4424, allocations: 25.7 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4425, allocations: 104.2 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4425, allocations: 3.906 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.4425, allocations: 0 / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4427, allocations: 322.8 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.4427, allocations: 8 kB / 0.7527 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.4428, allocations: 25.66 kB / 0.7528 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.4429, allocations: 8 kB / 0.7528 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4429, allocations: 0 / 0.7528 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.443, allocations: 65.75 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4431, allocations: 5.25 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4431, allocations: 0 / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4431, allocations: 4 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4432, allocations: 7.984 kB / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4432, allocations: 0 / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4434, allocations: 15.89 kB / 0.7529 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4434, allocations: 7.922 kB / 0.7529 GB, free: 9.805 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 8.801e-05/0.4435, allocations: 109 kB / 0.753 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000129/0.4436, allocations: 53.53 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4437, allocations: 4 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.4437, allocations: 8.344 kB / 0.753 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4437, allocations: 3.953 kB / 0.753 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4437, allocations: 4 kB / 0.753 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4438, allocations: 0 / 0.753 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.444, allocations: 154.2 kB / 0.7532 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.444, allocations: 0 / 0.7532 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-05/0.4441, allocations: 8 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4441, allocations: 0 / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4441, allocations: 4 kB / 0.7532 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4441, allocations: 0 / 0.7532 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4441, allocations: 0 / 0.7532 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.4443, allocations: 155.3 kB / 0.7534 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.4444, allocations: 85.02 kB / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.4444, allocations: 3.938 kB / 0.7534 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4446, allocations: 12 kB / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.4446, allocations: 11.97 kB / 0.7535 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4447, allocations: 4 kB / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.4447, allocations: 87.28 kB / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4448, allocations: 0 / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003199/0.4451, allocations: 11.95 kB / 0.7536 GB, free: 9.016 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.0004889/0.4456, allocations: 0.6774 MB / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.4457, allocations: 27.94 kB / 0.7542 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4458, allocations: 4.609 kB / 0.7543 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.4458, allocations: 8 kB / 0.7543 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4461, allocations: 7.984 kB / 0.7543 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.4467, allocations: 117.7 kB / 0.7544 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.447, allocations: 0.6846 MB / 0.755 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.4471, allocations: 4.375 kB / 0.7551 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.4471, allocations: 15.44 kB / 0.7551 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.4472, allocations: 0 / 0.7551 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.4826, allocations: 1.223 MB / 0.7563 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.4828, allocations: 138.7 kB / 0.7564 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.795, allocations: 0 / 0.7564 GB, free: 5.973 MB / 0.6355 GB