Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.452/2.452, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 185.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001317, allocations: 102.8 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.678e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6652/0.8817, allocations: 131.9 MB / 1.017 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.882, allocations: 76.31 kB / 1.017 GB, free: 6.328 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: Performance of FrontEnd: time 0.00877/0.8908, allocations: 1.726 MB / 1.019 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8908, allocations: 0 / 1.019 GB, free: 4.898 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004389/0.8913, allocations: 349.7 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8914, allocations: 8.031 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.8914, allocations: 0 / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8915, allocations: 167 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.8916, allocations: 4 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8916, allocations: 0 / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.442e-05/0.8917, allocations: 15.52 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.8918, allocations: 37.67 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8918, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.8918, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.8918, allocations: 0 / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.892, allocations: 134.2 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.8921, allocations: 29.95 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.8922, allocations: 12.86 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.8922, allocations: 0 / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.8923, allocations: 56.84 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.8924, allocations: 0 / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.8926, allocations: 44.88 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8926, allocations: 51.41 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.8927, allocations: 99.92 kB / 1.02 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.8928, allocations: 25.7 kB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.8928, allocations: 84.08 kB / 1.02 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.8929, allocations: 11.09 kB / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.8929, allocations: 0 / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.893, allocations: 318.8 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.8931, allocations: 11.48 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.8931, allocations: 36.45 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.8932, allocations: 8 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8932, allocations: 0 / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.8933, allocations: 60.5 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8934, allocations: 4 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.8934, allocations: 0 / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8934, allocations: 8.094 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.8935, allocations: 8.672 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.8935, allocations: 12 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.8936, allocations: 0 / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.8936, allocations: 4 kB / 1.02 GB, free: 3.16 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 9.317e-05/0.8937, allocations: 111.5 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.8937, allocations: 7.844 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.8938, allocations: 7.688 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8938, allocations: 4 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8938, allocations: 4 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8938, allocations: 0 / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.894, allocations: 133.4 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.894, allocations: 0 / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.894, allocations: 0 / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.894, allocations: 7.906 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8941, allocations: 3.984 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.8941, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8941, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001588/0.8942, allocations: 84.08 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.8943, allocations: 81.02 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.8943, allocations: 3.984 kB / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.91e-05/0.8944, allocations: 0 / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.8944, allocations: 4 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.8944, allocations: 0 / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.031e-05/0.8945, allocations: 75.28 kB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003923/0.8949, allocations: 51.36 kB / 1.021 GB, free: 2.527 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.0004673/0.8954, allocations: 161.7 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.8955, allocations: 27.12 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8955, allocations: 0 / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.8955, allocations: 8 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.8957, allocations: 7.703 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.896, allocations: 81.81 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.8963, allocations: 0.6915 MB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.8963, allocations: 0 / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of Templates: time 0.00477/0.9011, allocations: 1.156 MB / 1.023 GB, free: 388 kB / 0.6355 GB