Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.462/4.462, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.861e-05, allocations: 2.938 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 98.74 MB / 0.6289 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.5258, allocations: 124 MB / 0.75 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5262, allocations: 71.94 kB / 0.7501 GB, free: 12.93 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009467/0.5357, allocations: 2.136 MB / 0.7521 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5357, allocations: 0 / 0.7521 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5357, allocations: 0 / 0.7521 GB, free: 10.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004887/0.5362, allocations: 380.2 kB / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5363, allocations: 12.03 kB / 0.7525 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.5364, allocations: 3.953 kB / 0.7525 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5365, allocations: 167 kB / 0.7527 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.5365, allocations: 4 kB / 0.7527 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.5366, allocations: 3.984 kB / 0.7527 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.013e-05/0.5366, allocations: 4 kB / 0.7527 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.5367, allocations: 45.62 kB / 0.7527 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5368, allocations: 4 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5368, allocations: 0 / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5368, allocations: 3.953 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.537, allocations: 134.2 kB / 0.7529 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.5371, allocations: 26.58 kB / 0.7529 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.5371, allocations: 12.98 kB / 0.7529 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.5372, allocations: 0 / 0.7529 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.5373, allocations: 59.31 kB / 0.753 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.5374, allocations: 3.938 kB / 0.753 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002124/0.5376, allocations: 57.69 kB / 0.753 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5376, allocations: 55.34 kB / 0.7531 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.5377, allocations: 92.98 kB / 0.7532 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.5378, allocations: 25.7 kB / 0.7532 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.5378, allocations: 88.14 kB / 0.7533 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.5379, allocations: 7.906 kB / 0.7533 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5379, allocations: 3.938 kB / 0.7533 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.538, allocations: 322.8 kB / 0.7536 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.5381, allocations: 4 kB / 0.7536 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.5381, allocations: 31.44 kB / 0.7536 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.5382, allocations: 12.55 kB / 0.7536 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5382, allocations: 4 kB / 0.7536 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.5383, allocations: 65.52 kB / 0.7537 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5384, allocations: 4 kB / 0.7537 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5384, allocations: 0 / 0.7537 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5384, allocations: 4 kB / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.5385, allocations: 4 kB / 0.7537 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5385, allocations: 4 kB / 0.7537 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.5386, allocations: 0 / 0.7537 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5386, allocations: 8.094 kB / 0.7537 GB, free: 8.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.204e-05/0.5387, allocations: 114.2 kB / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001219/0.5388, allocations: 61.61 kB / 0.7539 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.5389, allocations: 3.906 kB / 0.7539 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.5389, allocations: 4.453 kB / 0.7539 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5389, allocations: 4 kB / 0.7539 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5389, allocations: 0 / 0.7539 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5389, allocations: 3.984 kB / 0.7539 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.5391, allocations: 138.2 kB / 0.754 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5391, allocations: 0 / 0.754 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.5391, allocations: 4 kB / 0.7541 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5391, allocations: 0 / 0.7541 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5392, allocations: 7.984 kB / 0.7541 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5392, allocations: 0 / 0.7541 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5392, allocations: 0 / 0.7541 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.5393, allocations: 81.02 kB / 0.7541 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.5394, allocations: 81.09 kB / 0.7542 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.5394, allocations: 3.938 kB / 0.7542 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.5395, allocations: 8 kB / 0.7542 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.5395, allocations: 4 kB / 0.7542 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5395, allocations: 4 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.5396, allocations: 79.28 kB / 0.7543 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5396, allocations: 0 / 0.7543 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000407/0.54, allocations: 43.98 kB / 0.7543 GB, free: 8.219 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008821/0.5409, allocations: 0.7192 MB / 0.7551 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.541, allocations: 23.98 kB / 0.7551 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.541, allocations: 0 / 0.7551 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.5411, allocations: 12.19 kB / 0.7551 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.5413, allocations: 7.938 kB / 0.7551 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.5417, allocations: 109.6 kB / 0.7552 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.542, allocations: 0.6807 MB / 0.7559 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.542, allocations: 0 / 0.7559 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.5421, allocations: 11.44 kB / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5421, allocations: 0 / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.5815, allocations: 1.607 MB / 0.7574 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.5819, allocations: 170.5 kB / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.083, allocations: 0 / 0.7576 GB, free: 4.773 MB / 0.6355 GB