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.Logit1D.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.Logit1D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.279/4.279, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5319/4.811, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/5.075, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/5.355, allocations: 124 MB / 0.7494 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000419/5.356, allocations: 75.59 kB / 0.7495 GB, free: 13.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01685/5.373, allocations: 2.302 MB / 0.7517 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/5.373, allocations: 8 kB / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/5.373, allocations: 0 / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/5.373, allocations: 171 kB / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/5.373, allocations: 0 / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/5.373, allocations: 8 kB / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.974e-05/5.373, allocations: 0 / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/5.374, allocations: 45.62 kB / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/5.374, allocations: 0 / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/5.374, allocations: 3.984 kB / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/5.374, allocations: 0 / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/5.374, allocations: 134.1 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/5.374, allocations: 26.61 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/5.374, allocations: 16.86 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/5.374, allocations: 0 / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/5.374, allocations: 51.5 kB / 0.7522 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/5.374, allocations: 3.938 kB / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002532/5.375, allocations: 45.69 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/5.375, allocations: 55.31 kB / 0.7523 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/5.375, allocations: 97 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/5.375, allocations: 25.7 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/5.375, allocations: 84.12 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/5.375, allocations: 15.84 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/5.375, allocations: 3.938 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001619/5.375, allocations: 310.8 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/5.375, allocations: 8 kB / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/5.375, allocations: 35.42 kB / 0.7528 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/5.375, allocations: 12.66 kB / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/5.375, allocations: 0 / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002299/5.376, allocations: 61.53 kB / 0.7529 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/5.376, allocations: 8 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/5.376, allocations: 0 / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/5.376, allocations: 96 / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/5.376, allocations: 19.92 kB / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/5.376, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/5.376, allocations: 4 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/5.376, allocations: 0 / 0.7529 GB, free: 9.77 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 0.0001341/5.376, allocations: 112.9 kB / 0.753 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/5.376, allocations: 0 / 0.753 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/5.376, allocations: 7.688 kB / 0.753 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/5.376, allocations: 0 / 0.753 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/5.376, allocations: 7.938 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/5.376, allocations: 7.906 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/5.377, allocations: 130.2 kB / 0.7532 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.377, allocations: 0 / 0.7532 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/5.377, allocations: 3.984 kB / 0.7532 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/5.377, allocations: 0 / 0.7532 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/5.377, allocations: 0 / 0.7532 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/5.377, allocations: 4 kB / 0.7532 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.377, allocations: 0 / 0.7532 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002212/5.377, allocations: 73.31 kB / 0.7533 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005101/5.378, allocations: 485.4 kB / 0.7537 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/5.378, allocations: 77.11 kB / 0.7538 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/5.378, allocations: 7.906 kB / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/5.378, allocations: 4.078 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/5.378, allocations: 4 kB / 0.7538 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/5.378, allocations: 0 / 0.7538 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.662e-05/5.378, allocations: 83.28 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00205/5.38, allocations: 51.86 kB / 0.7539 GB, free: 8.629 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.0007539/5.381, allocations: 167.5 kB / 0.7541 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001968/5.381, allocations: 32.05 kB / 0.7541 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/5.381, allocations: 4.062 kB / 0.7541 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/5.381, allocations: 8 kB / 0.7541 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/5.381, allocations: 4 kB / 0.7542 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/5.382, allocations: 67.72 kB / 0.7542 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/5.382, allocations: 0.6993 MB / 0.7549 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/5.382, allocations: 0 / 0.7549 GB, free: 7.598 MB / 0.6355 GB