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.Logit2D.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.Logit2D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.621e-05, allocations: 3.75 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 98.74 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.5142, allocations: 124.2 MB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000418/0.5146, allocations: 63.97 kB / 0.7502 GB, free: 12.72 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.01639/0.5311, allocations: 2.295 MB / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.529e-06/0.5311, allocations: 0 / 0.7524 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5311, allocations: 11.88 kB / 0.7524 GB, free: 10.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004947/0.5316, allocations: 388.1 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5317, allocations: 8.031 kB / 0.7528 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.5318, allocations: 7.953 kB / 0.7528 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5319, allocations: 163 kB / 0.753 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.5319, allocations: 0 / 0.753 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.532, allocations: 4 kB / 0.753 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.697e-05/0.532, allocations: 8 kB / 0.753 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.5321, allocations: 41.61 kB / 0.753 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5322, allocations: 7.984 kB / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5322, allocations: 0 / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5322, allocations: 7.953 kB / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.5324, allocations: 134.2 kB / 0.7532 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.68e-05/0.5324, allocations: 18.58 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.5325, allocations: 16.86 kB / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.5326, allocations: 0 / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.5327, allocations: 63.53 kB / 0.7533 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 4.258e-06/0.5327, allocations: 0 / 0.7533 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002282/0.533, allocations: 65.56 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.533, allocations: 55.41 kB / 0.7534 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.5331, allocations: 93 kB / 0.7535 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5332, allocations: 25.7 kB / 0.7535 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.5332, allocations: 80.14 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.5333, allocations: 23.73 kB / 0.7536 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.5333, allocations: 0 / 0.7536 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5334, allocations: 318.8 kB / 0.7539 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.5334, allocations: 12 kB / 0.7539 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.5335, allocations: 32.91 kB / 0.754 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.5336, allocations: 11.98 kB / 0.754 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5336, allocations: 4 kB / 0.754 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001445/0.5337, allocations: 65.56 kB / 0.754 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5338, allocations: 4 kB / 0.754 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5338, allocations: 4 kB / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5338, allocations: 0 / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5339, allocations: 11.98 kB / 0.754 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.534, allocations: 0 / 0.754 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.534, allocations: 7.906 kB / 0.7541 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.534, allocations: 8 kB / 0.7541 GB, free: 8.527 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.569e-05/0.5341, allocations: 113 kB / 0.7542 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00013/0.5343, allocations: 57.69 kB / 0.7542 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.5343, allocations: 7.891 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.5343, allocations: 8.188 kB / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5344, allocations: 7.938 kB / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5344, allocations: 0 / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5344, allocations: 0 / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.5345, allocations: 138.2 kB / 0.7544 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5346, allocations: 0 / 0.7544 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.5346, allocations: 8 kB / 0.7544 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.5346, allocations: 0 / 0.7544 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5346, allocations: 4.375 kB / 0.7544 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5346, allocations: 0 / 0.7544 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.5347, allocations: 11.92 kB / 0.7544 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5348, allocations: 85.08 kB / 0.7545 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.5349, allocations: 88.95 kB / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5349, allocations: 0 / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.535, allocations: 4 kB / 0.7546 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.535, allocations: 3.984 kB / 0.7546 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.535, allocations: 4 kB / 0.7546 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.5351, allocations: 83.28 kB / 0.7547 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5351, allocations: 0 / 0.7547 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000425/0.5355, allocations: 43.92 kB / 0.7547 GB, free: 7.785 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 (5): * Single equations (assignments): 3 * 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.0009689/0.5365, allocations: 0.7191 MB / 0.7554 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5367, allocations: 31.94 kB / 0.7554 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5367, allocations: 0 / 0.7554 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.5368, allocations: 15.94 kB / 0.7555 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.5369, allocations: 8.25 kB / 0.7555 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.5374, allocations: 119.5 kB / 0.7556 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5377, allocations: 0.6846 MB / 0.7562 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.5377, allocations: 0 / 0.7562 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.5378, allocations: 15.44 kB / 0.7563 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of SimCode: time 4.829e-06/0.5378, allocations: 0 / 0.7563 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.5743, allocations: 1.695 MB / 0.7579 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.5747, allocations: 188.3 kB / 0.7581 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.863, allocations: 0 / 0.7581 GB, free: 4.215 MB / 0.6355 GB