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.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.256/4.256, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5263/4.783, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/5.01, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/5.255, allocations: 124.1 MB / 0.7495 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/5.256, allocations: 75.59 kB / 0.7496 GB, free: 13.43 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.01719/5.273, allocations: 2.38 MB / 0.7519 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/5.273, allocations: 8 kB / 0.7519 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/5.273, allocations: 4 kB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/5.273, allocations: 171 kB / 0.7521 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/5.274, allocations: 0 / 0.7521 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/5.274, allocations: 4 kB / 0.7521 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.896e-05/5.274, allocations: 3.984 kB / 0.7521 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/5.274, allocations: 41.62 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/5.274, allocations: 3.984 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/5.274, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/5.274, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/5.274, allocations: 142.1 kB / 0.7523 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/5.274, allocations: 26.58 kB / 0.7523 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/5.274, allocations: 9 kB / 0.7523 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/5.274, allocations: 3.984 kB / 0.7523 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/5.275, allocations: 51.41 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.916e-06/5.275, allocations: 7.938 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000241/5.275, allocations: 49.59 kB / 0.7524 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/5.275, allocations: 55.41 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/5.275, allocations: 97 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/5.275, allocations: 29.64 kB / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/5.275, allocations: 92.06 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/5.275, allocations: 11.84 kB / 0.7527 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/5.275, allocations: 0 / 0.7527 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001566/5.276, allocations: 310.8 kB / 0.753 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/5.276, allocations: 12 kB / 0.753 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/5.276, allocations: 31.42 kB / 0.753 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/5.276, allocations: 12.7 kB / 0.753 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/5.276, allocations: 11.84 kB / 0.753 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002213/5.276, allocations: 61.69 kB / 0.7531 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/5.276, allocations: 4 kB / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/5.276, allocations: 0 / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/5.276, allocations: 4 kB / 0.7531 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/5.276, allocations: 7.984 kB / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/5.276, allocations: 0 / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/5.276, allocations: 7.906 kB / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/5.276, allocations: 0 / 0.7531 GB, free: 9.578 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.0001255/5.277, allocations: 106.5 kB / 0.7532 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/5.277, allocations: 3.906 kB / 0.7532 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/5.277, allocations: 16.03 kB / 0.7532 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/5.277, allocations: 0 / 0.7532 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/5.277, allocations: 0 / 0.7532 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/5.277, allocations: 3.938 kB / 0.7532 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/5.277, allocations: 134.2 kB / 0.7534 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/5.277, allocations: 0 / 0.7534 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/5.277, allocations: 7.906 kB / 0.7534 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/5.277, allocations: 0 / 0.7534 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/5.277, allocations: 0 / 0.7534 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/5.277, allocations: 0 / 0.7534 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/5.277, allocations: 4 kB / 0.7534 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002127/5.277, allocations: 77.03 kB / 0.7534 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000599/5.278, allocations: 485.5 kB / 0.7539 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/5.278, allocations: 77.11 kB / 0.754 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/5.278, allocations: 8.078 kB / 0.754 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/5.278, allocations: 4 kB / 0.754 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/5.278, allocations: 0 / 0.754 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/5.278, allocations: 4 kB / 0.754 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.238e-05/5.278, allocations: 95.38 kB / 0.7541 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00206/5.281, allocations: 47.92 kB / 0.7541 GB, free: 8.422 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.0006922/5.281, allocations: 177.7 kB / 0.7543 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001911/5.282, allocations: 27.92 kB / 0.7543 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/5.282, allocations: 0 / 0.7543 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/5.282, allocations: 15.98 kB / 0.7543 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/5.282, allocations: 0.6875 kB / 0.7543 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/5.282, allocations: 71.77 kB / 0.7544 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/5.283, allocations: 0.6878 MB / 0.7551 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of SimCode: time 1.382e-06/5.283, allocations: 7.938 kB / 0.7551 GB, free: 7.387 MB / 0.6355 GB