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.ExponentialVariableGeneration.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.ExponentialVariableGeneration,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.335/4.335, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2594/4.594, allocations: 104.3 MB / 0.5319 GB, free: 2.371 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/5.116, allocations: 98.7 MB / 0.6283 GB, free: 116 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/5.352, allocations: 123.9 MB / 0.7493 GB, free: 3.996 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/5.353, allocations: 67.95 kB / 0.7494 GB, free: 3.93 MB / 0.6199 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.009723/5.363, allocations: 2.068 MB / 0.7514 GB, free: 1.816 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/5.363, allocations: 12 kB / 0.7514 GB, free: 1.805 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/5.363, allocations: 0 / 0.7514 GB, free: 1.805 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/5.363, allocations: 163.1 kB / 0.7516 GB, free: 1.605 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/5.363, allocations: 7.906 kB / 0.7516 GB, free: 1.598 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/5.363, allocations: 4 kB / 0.7516 GB, free: 1.594 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.854e-05/5.363, allocations: 4 kB / 0.7516 GB, free: 1.59 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/5.363, allocations: 41.62 kB / 0.7516 GB, free: 1.543 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/5.363, allocations: 0 / 0.7516 GB, free: 1.543 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/5.363, allocations: 0 / 0.7516 GB, free: 1.543 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/5.363, allocations: 3.984 kB / 0.7516 GB, free: 1.539 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/5.363, allocations: 134.2 kB / 0.7518 GB, free: 1.371 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/5.363, allocations: 18.58 kB / 0.7518 GB, free: 1.344 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/5.364, allocations: 16.77 kB / 0.7518 GB, free: 1.324 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/5.364, allocations: 8.078 kB / 0.7518 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/5.364, allocations: 55.39 kB / 0.7519 GB, free: 1.25 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=4): time 4.528e-06/5.364, allocations: 0 / 0.7519 GB, free: 1.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=4): time 0.0002107/5.364, allocations: 49.62 kB / 0.7519 GB, free: 1.195 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/5.364, allocations: 55.41 kB / 0.752 GB, free: 1.129 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/5.364, allocations: 85 kB / 0.752 GB, free: 1.039 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/5.364, allocations: 33.77 kB / 0.7521 GB, free: 1 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/5.364, allocations: 84.14 kB / 0.7521 GB, free: 0.9141 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/5.364, allocations: 15.75 kB / 0.7522 GB, free: 0.8984 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/5.364, allocations: 0 / 0.7522 GB, free: 0.8984 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001331/5.364, allocations: 314.8 kB / 0.7525 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/5.364, allocations: 8 kB / 0.7525 GB, free: 0.5742 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/5.364, allocations: 27.44 kB / 0.7525 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/5.364, allocations: 14.19 kB / 0.7525 GB, free: 0.5234 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/5.364, allocations: 0 / 0.7525 GB, free: 0.5234 MB / 0.6199 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/5.365, allocations: 65.55 kB / 0.7526 GB, free: 464 kB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/5.365, allocations: 8 kB / 0.7526 GB, free: 456 kB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/5.365, allocations: 0 / 0.7526 GB, free: 456 kB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/5.365, allocations: 3.906 kB / 0.7526 GB, free: 452 kB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/5.365, allocations: 8 kB / 0.7526 GB, free: 444 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/5.365, allocations: 4.094 kB / 0.7526 GB, free: 440 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/5.365, allocations: 8 kB / 0.7526 GB, free: 432 kB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/5.365, allocations: 0 / 0.7526 GB, free: 432 kB / 0.6199 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.753e-05/5.365, allocations: 108.9 kB / 0.7527 GB, free: 320 kB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/5.365, allocations: 7.891 kB / 0.7527 GB, free: 312 kB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/5.365, allocations: 7.688 kB / 0.7527 GB, free: 304 kB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/5.365, allocations: 0 / 0.7527 GB, free: 304 kB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/5.365, allocations: 4 kB / 0.7527 GB, free: 300 kB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/5.365, allocations: 0 / 0.7527 GB, free: 300 kB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/5.365, allocations: 138.2 kB / 0.7529 GB, free: 124 kB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/5.365, allocations: 7.906 kB / 0.7529 GB, free: 116 kB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/5.365, allocations: 0 / 0.7529 GB, free: 116 kB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/5.365, allocations: 0 / 0.7529 GB, free: 116 kB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/5.365, allocations: 0 / 0.7529 GB, free: 116 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/5.365, allocations: 0 / 0.7529 GB, free: 116 kB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/5.365, allocations: 11.92 kB / 0.7529 GB, free: 104 kB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001725/5.366, allocations: 77.02 kB / 0.7529 GB, free: 8 kB / 0.6199 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004799/5.366, allocations: 481.6 kB / 0.7534 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/5.366, allocations: 85.09 kB / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/5.366, allocations: 4 kB / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/5.366, allocations: 0 / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/5.366, allocations: 0 / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/5.366, allocations: 0 / 0.7535 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.374e-05/5.366, allocations: 83.28 kB / 0.7536 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00123/5.368, allocations: 39.92 kB / 0.7536 GB, free: 15.29 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.0005442/5.368, allocations: 162.2 kB / 0.7538 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001462/5.368, allocations: 23.94 kB / 0.7538 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/5.368, allocations: 288 / 0.7538 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/5.368, allocations: 15.98 kB / 0.7538 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/5.369, allocations: 7.906 kB / 0.7538 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/5.369, allocations: 59.92 kB / 0.7539 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/5.369, allocations: 0.6876 MB / 0.7545 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/5.369, allocations: 0 / 0.7545 GB, free: 14.28 MB / 0.6355 GB