Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 181.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008789, allocations: 89.61 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.339/0.3399, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.5019, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.9788, allocations: 132.1 MB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.9791, allocations: 71.33 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.005516/0.9846, allocations: 2.068 MB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9847, allocations: 8 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.9847, allocations: 3.984 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.9848, allocations: 163.1 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9849, allocations: 3.25 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.9849, allocations: 4.875 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.471e-05/0.9849, allocations: 7.938 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.985e-05/0.985, allocations: 41.25 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.985, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.985, allocations: 3.938 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.985, allocations: 4 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.9852, allocations: 126.2 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.9852, allocations: 26.45 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.9853, allocations: 15.55 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.9853, allocations: 3.906 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.983e-05/0.9854, allocations: 59.03 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.9854, allocations: 0 / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.9856, allocations: 45.44 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.9856, allocations: 54.03 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.9857, allocations: 89 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.9857, allocations: 29.83 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.9858, allocations: 84.02 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.9858, allocations: 15.75 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.9858, allocations: 1.031 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.9859, allocations: 318.8 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.9859, allocations: 7.984 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.986, allocations: 27 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.986, allocations: 19.92 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.986, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.203e-05/0.9861, allocations: 57.44 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9861, allocations: 4 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.9861, allocations: 0 / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9861, allocations: 4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.9862, allocations: 7.906 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.9862, allocations: 16.17 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.9863, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.9863, allocations: 7.812 kB / 1.017 GB, free: 3.184 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.0001099/0.9864, allocations: 108.9 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.9864, allocations: 8 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.9865, allocations: 7.672 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.9865, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9865, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9865, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.9866, allocations: 137.4 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9866, allocations: 3.938 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.9866, allocations: 3.906 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9866, allocations: 4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.9866, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9866, allocations: 3.438 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9866, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001362/0.9868, allocations: 79.89 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000292/0.9871, allocations: 471.4 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.9871, allocations: 89 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.9871, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.9872, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.9872, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.9872, allocations: 4 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.398e-05/0.9873, allocations: 83.16 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000807/0.9881, allocations: 47.11 kB / 1.018 GB, free: 2.086 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.0003487/0.9884, allocations: 153.2 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.9885, allocations: 27.8 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9885, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.9886, allocations: 15.22 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.9887, allocations: 7.906 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.9889, allocations: 67.81 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.9891, allocations: 0.6912 MB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.9891, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)