Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [: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 8.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 289.8 MB / 297.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 189.2 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 89.47 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.448e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5665, allocations: 116.3 MB / 0.9725 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.7308, allocations: 138.3 MB / 1.108 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.7311, allocations: 76.42 kB / 1.108 GB, free: 10.18 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: Performance of FrontEnd: time 0.005278/0.7364, allocations: 1.702 MB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7364, allocations: 0 / 1.109 GB, free: 8.496 MB / 0.7136 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.0003159/0.7367, allocations: 369.6 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7368, allocations: 12.53 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.7368, allocations: 7.891 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.7369, allocations: 159.6 kB / 1.11 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.737, allocations: 0.6875 kB / 1.11 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.737, allocations: 9.438 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.158e-05/0.737, allocations: 12.62 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.119e-05/0.7371, allocations: 33.69 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7371, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.7371, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7371, allocations: 0 / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.7373, allocations: 134.1 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.953e-05/0.7373, allocations: 26.61 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.7374, allocations: 17.86 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.7374, allocations: 4 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.7375, allocations: 47.44 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7375, allocations: 0 / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001357/0.7376, allocations: 49.59 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.7377, allocations: 55.41 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.7377, allocations: 93 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.7377, allocations: 25.7 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.7378, allocations: 86.77 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7378, allocations: 7.891 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.7378, allocations: 0 / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.7379, allocations: 317.3 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.7379, allocations: 4 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.738, allocations: 39.5 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.738, allocations: 11.98 kB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.738, allocations: 0 / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.361e-05/0.7381, allocations: 57.53 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.7381, allocations: 8 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7381, allocations: 0 / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7382, allocations: 3.938 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.7382, allocations: 16.09 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7382, allocations: 0 / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.7383, allocations: 7.984 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.7383, allocations: 7.906 kB / 1.111 GB, free: 6.695 MB / 0.7136 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 6.327e-05/0.7383, allocations: 112.9 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.7384, allocations: 96 / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.7384, allocations: 7.672 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7384, allocations: 0 / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7384, allocations: 4 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7384, allocations: 7.906 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.144e-05/0.7385, allocations: 130.2 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7385, allocations: 0 / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.7385, allocations: 4 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.7385, allocations: 0 / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.7386, allocations: 0 / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7386, allocations: 0 / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7386, allocations: 5.312 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.342e-05/0.7387, allocations: 77.02 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.7387, allocations: 77.11 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7387, allocations: 3.906 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.7387, allocations: 0 / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.7388, allocations: 11.92 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.7388, allocations: 0 / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.992e-05/0.7388, allocations: 83.28 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002436/0.7391, allocations: 35.94 kB / 1.111 GB, free: 6.059 MB / 0.7136 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.0003457/0.7394, allocations: 160.8 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.7395, allocations: 27.92 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7395, allocations: 0 / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.7396, allocations: 12.75 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.02e-05/0.7397, allocations: 8.781 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.7399, allocations: 68.05 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.7402, allocations: 0.6876 MB / 1.112 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7402, allocations: 0 / 1.112 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of Templates: time 0.003098/0.7433, allocations: 1.156 MB / 1.113 GB, free: 3.918 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)