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"}) [: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.394/4.394, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5736/4.968, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/5.209, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/5.439, allocations: 124.1 MB / 0.7494 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/5.439, allocations: 79.59 kB / 0.7495 GB, free: 13.53 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: 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.01139/5.45, allocations: 2.375 MB / 0.7518 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/5.451, allocations: 12 kB / 0.7519 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/5.451, allocations: 0 / 0.7519 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/5.451, allocations: 167 kB / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/5.451, allocations: 4 kB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/5.451, allocations: 0 / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.48e-05/5.451, allocations: 7.984 kB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/5.451, allocations: 45.61 kB / 0.7521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/5.451, allocations: 0 / 0.7521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/5.451, allocations: 0 / 0.7521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/5.451, allocations: 4 kB / 0.7521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/5.451, allocations: 138.1 kB / 0.7522 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/5.451, allocations: 22.58 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/5.451, allocations: 12.86 kB / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/5.451, allocations: 144 / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/5.452, allocations: 63.39 kB / 0.7523 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/5.452, allocations: 0 / 0.7523 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002009/5.452, allocations: 57.53 kB / 0.7524 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/5.452, allocations: 51.41 kB / 0.7524 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/5.452, allocations: 97 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/5.452, allocations: 25.7 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/5.452, allocations: 80.14 kB / 0.7526 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/5.452, allocations: 19.8 kB / 0.7526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/5.452, allocations: 7.938 kB / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001155/5.452, allocations: 310.8 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/5.452, allocations: 8 kB / 0.7529 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/5.452, allocations: 37 kB / 0.753 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/5.452, allocations: 15.98 kB / 0.753 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/5.452, allocations: 4 kB / 0.753 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001452/5.453, allocations: 69.41 kB / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/5.453, allocations: 8 kB / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/5.453, allocations: 320 / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/5.453, allocations: 0 / 0.7531 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/5.453, allocations: 15.98 kB / 0.7531 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/5.453, allocations: 4 kB / 0.7531 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/5.453, allocations: 3.938 kB / 0.7531 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/5.453, allocations: 8.125 kB / 0.7531 GB, free: 9.656 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 9.728e-05/5.453, allocations: 112.8 kB / 0.7532 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/5.453, allocations: 4 kB / 0.7532 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/5.453, allocations: 3.75 kB / 0.7532 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/5.453, allocations: 0 / 0.7532 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/5.453, allocations: 0 / 0.7532 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/5.453, allocations: 7.906 kB / 0.7532 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/5.453, allocations: 138.2 kB / 0.7533 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/5.453, allocations: 0 / 0.7533 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/5.453, allocations: 4 kB / 0.7533 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/5.453, allocations: 4 kB / 0.7533 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/5.453, allocations: 0 / 0.7533 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/5.453, allocations: 0 / 0.7533 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/5.453, allocations: 0 / 0.7533 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001444/5.454, allocations: 76.97 kB / 0.7534 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000364/5.454, allocations: 493.5 kB / 0.7539 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/5.454, allocations: 85.08 kB / 0.754 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/5.454, allocations: 0 / 0.754 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/5.454, allocations: 128 / 0.754 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/5.454, allocations: 7.984 kB / 0.754 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/5.454, allocations: 4 kB / 0.754 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.699e-05/5.454, allocations: 79.28 kB / 0.7541 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001271/5.455, allocations: 55.86 kB / 0.7541 GB, free: 8.5 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.0005304/5.456, allocations: 187.2 kB / 0.7543 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001499/5.456, allocations: 24 kB / 0.7543 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.456, allocations: 0 / 0.7543 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/5.456, allocations: 19.92 kB / 0.7543 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/5.456, allocations: 9.016 kB / 0.7543 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/5.457, allocations: 75.78 kB / 0.7544 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/5.457, allocations: 0.6919 MB / 0.7551 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/5.457, allocations: 0 / 0.7551 GB, free: 7.438 MB / 0.6355 GB