Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.38/2.38, allocations: 284.9 MB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001635, allocations: 181.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001302, allocations: 83.39 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.855e-06, allocations: 0 / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5921, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.8161, allocations: 137.1 MB / 1.097 GB, free: 3.648 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.8164, allocations: 76.92 kB / 1.097 GB, free: 3.578 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.008662/0.8251, allocations: 1.705 MB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.8252, allocations: 4 kB / 1.098 GB, free: 1.902 MB / 0.698 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.0004291/0.8256, allocations: 373.5 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8257, allocations: 8.531 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.8257, allocations: 10.16 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.8259, allocations: 163.1 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.8259, allocations: 0 / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.826, allocations: 0 / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.706e-05/0.826, allocations: 6.5 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.8261, allocations: 34.44 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8261, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.8262, allocations: 5.609 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8262, allocations: 4 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.8263, allocations: 134 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.8264, allocations: 30.55 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.8265, allocations: 13.47 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.8265, allocations: 0 / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/0.8266, allocations: 51.5 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.8266, allocations: 0.6562 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001723/0.8268, allocations: 51.2 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.8268, allocations: 51.41 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.8269, allocations: 93.64 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.827, allocations: 30.2 kB / 1.099 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.827, allocations: 80.64 kB / 1.099 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.827, allocations: 12.5 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.827, allocations: 0 / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8272, allocations: 314.8 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.8272, allocations: 8 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.8273, allocations: 28.2 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.8273, allocations: 13.95 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8273, allocations: 0 / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001336/0.8275, allocations: 62.62 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8275, allocations: 5.281 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8275, allocations: 0.5312 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8275, allocations: 4.797 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.8276, allocations: 16.39 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8277, allocations: 8.219 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.8277, allocations: 0 / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.8277, allocations: 7.906 kB / 1.1 GB, free: 128 kB / 0.698 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.282e-05/0.8278, allocations: 109.2 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.8278, allocations: 4.562 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.8279, allocations: 8.297 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8279, allocations: 1.531 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8279, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8279, allocations: 8.641 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.8281, allocations: 134.1 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8281, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.8281, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8281, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8281, allocations: 5.859 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8282, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8282, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001202/0.8283, allocations: 73.67 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.8284, allocations: 85.11 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.8284, allocations: 3.906 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.8284, allocations: 3.984 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.8285, allocations: 4 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.8285, allocations: 4 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.753e-05/0.8285, allocations: 75.28 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000366/0.8289, allocations: 39.92 kB / 1.1 GB, free: 15.49 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.0004472/0.8294, allocations: 167.6 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.8295, allocations: 23.94 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8295, allocations: 2.25 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.8295, allocations: 8 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.8297, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.8299, allocations: 77.3 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.8302, allocations: 0.6876 MB / 1.101 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.8303, allocations: 0 / 1.101 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.004567/0.8348, allocations: 1.156 MB / 1.103 GB, free: 13.39 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)