Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.29/2.29, allocations: 284.9 MB / 292.2 MB, free: 1.43 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001596, allocations: 182.4 kB / 360.4 MB, free: 15.59 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.1 MB / 0.6188 GB, free: 6.562 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 89.34 kB / 0.7318 GB, free: 47.26 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.478e-06, allocations: 0 / 0.8502 GB, free: 13.66 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5928, allocations: 115.2 MB / 0.9628 GB, free: 86.34 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.8065, allocations: 137.2 MB / 1.097 GB, free: 13.14 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.8068, allocations: 73.5 kB / 1.097 GB, free: 13.07 MB / 0.7061 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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: Performance of FrontEnd: time 0.009195/0.8161, allocations: 1.733 MB / 1.099 GB, free: 11.37 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8161, allocations: 0 / 1.099 GB, free: 11.37 MB / 0.7061 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.000469/0.8166, allocations: 344.8 kB / 1.099 GB, free: 10.99 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8166, allocations: 12.03 kB / 1.099 GB, free: 10.98 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.8167, allocations: 3.906 kB / 1.099 GB, free: 10.97 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8168, allocations: 167 kB / 1.099 GB, free: 10.77 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8169, allocations: 1.906 kB / 1.099 GB, free: 10.77 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.8169, allocations: 4 kB / 1.099 GB, free: 10.77 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.143e-05/0.817, allocations: 10.25 kB / 1.099 GB, free: 10.76 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/0.817, allocations: 33.69 kB / 1.099 GB, free: 10.72 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8171, allocations: 0 / 1.099 GB, free: 10.72 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8171, allocations: 0.9375 kB / 1.099 GB, free: 10.72 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8171, allocations: 0 / 1.099 GB, free: 10.72 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.8173, allocations: 139.4 kB / 1.099 GB, free: 10.55 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.8174, allocations: 23.17 kB / 1.099 GB, free: 10.52 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.8174, allocations: 8.859 kB / 1.099 GB, free: 10.5 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.8174, allocations: 3.172 kB / 1.099 GB, free: 10.5 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.8175, allocations: 57.81 kB / 1.099 GB, free: 10.44 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.8176, allocations: 0.9062 kB / 1.099 GB, free: 10.44 MB / 0.7061 GB Notification: Performance of matching and sorting (n=4): time 0.0002141/0.8178, allocations: 53.58 kB / 1.099 GB, free: 10.38 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8178, allocations: 56.34 kB / 1.099 GB, free: 10.31 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.8179, allocations: 85.78 kB / 1.099 GB, free: 10.22 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.8179, allocations: 29.7 kB / 1.099 GB, free: 10.19 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.818, allocations: 84.77 kB / 1.1 GB, free: 10.1 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.818, allocations: 12.06 kB / 1.1 GB, free: 10.09 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.818, allocations: 0 / 1.1 GB, free: 10.09 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8182, allocations: 315.8 kB / 1.1 GB, free: 9.777 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.8182, allocations: 8 kB / 1.1 GB, free: 9.77 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.8183, allocations: 36.03 kB / 1.1 GB, free: 9.727 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.8183, allocations: 9.469 kB / 1.1 GB, free: 9.719 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.8183, allocations: 5.25 kB / 1.1 GB, free: 9.715 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001763/0.8185, allocations: 65.52 kB / 1.1 GB, free: 9.645 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8185, allocations: 8.812 kB / 1.1 GB, free: 9.637 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8186, allocations: 0 / 1.1 GB, free: 9.637 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.8186, allocations: 2.938 kB / 1.1 GB, free: 9.637 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.8187, allocations: 8 kB / 1.1 GB, free: 9.629 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8187, allocations: 0 / 1.1 GB, free: 9.629 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.8188, allocations: 4 kB / 1.1 GB, free: 9.625 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.8188, allocations: 3.906 kB / 1.1 GB, free: 9.621 MB / 0.7061 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 8.967e-05/0.8189, allocations: 109.9 kB / 1.1 GB, free: 9.508 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.8189, allocations: 7.922 kB / 1.1 GB, free: 9.5 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.819, allocations: 4.188 kB / 1.1 GB, free: 9.492 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.819, allocations: 5.344 kB / 1.1 GB, free: 9.488 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.819, allocations: 0 / 1.1 GB, free: 9.488 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.819, allocations: 3.906 kB / 1.1 GB, free: 9.484 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.8192, allocations: 138 kB / 1.1 GB, free: 9.316 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8192, allocations: 2.156 kB / 1.1 GB, free: 9.316 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.8193, allocations: 0 / 1.1 GB, free: 9.316 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.8193, allocations: 3.984 kB / 1.1 GB, free: 9.312 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.8193, allocations: 0 / 1.1 GB, free: 9.312 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8193, allocations: 4 kB / 1.1 GB, free: 9.309 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8193, allocations: 0 / 1.1 GB, free: 9.309 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.8195, allocations: 77.02 kB / 1.1 GB, free: 9.215 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.8196, allocations: 81.64 kB / 1.1 GB, free: 9.117 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.8196, allocations: 4.406 kB / 1.1 GB, free: 9.113 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.8196, allocations: 0 / 1.1 GB, free: 9.113 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.8197, allocations: 4.219 kB / 1.1 GB, free: 9.109 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.8197, allocations: 4 kB / 1.1 GB, free: 9.105 MB / 0.7061 GB Notification: Performance of sort global known variables: time 3.998e-05/0.8197, allocations: 75.28 kB / 1.101 GB, free: 9.031 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0003946/0.8202, allocations: 47.86 kB / 1.101 GB, free: 8.984 MB / 0.7061 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.0004839/0.8206, allocations: 166.9 kB / 1.101 GB, free: 8.832 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.8208, allocations: 23.98 kB / 1.101 GB, free: 8.809 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8208, allocations: 3.938 kB / 1.101 GB, free: 8.805 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.8209, allocations: 15.94 kB / 1.101 GB, free: 8.789 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.821, allocations: 2.625 kB / 1.101 GB, free: 8.789 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.8213, allocations: 60.73 kB / 1.101 GB, free: 8.707 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.8216, allocations: 0.6876 MB / 1.102 GB, free: 7.996 MB / 0.7061 GB Notification: Performance of SimCode: time 1.032e-06/0.8216, allocations: 0 / 1.102 GB, free: 7.996 MB / 0.7061 GB Notification: Performance of Templates: time 0.004988/0.8266, allocations: 1.164 MB / 1.103 GB, free: 6.863 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)