Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") [: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.513/1.513, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.001023/0.001023, allocations: 181.3 kB / 366.3 MB, free: 1.918 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.233/1.233, allocations: 205.1 MB / 0.6256 GB, free: 5.758 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.0008614/0.0008614, allocations: 89.95 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/8.967e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5126, allocations: 116.3 MB / 0.9725 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.6838, allocations: 138.5 MB / 1.108 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.6841, allocations: 74.41 kB / 1.108 GB, free: 9.844 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.006774/0.6909, allocations: 2.005 MB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.691, allocations: 1.531 kB / 1.11 GB, free: 7.855 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004134/0.6914, allocations: 372.1 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6915, allocations: 10.38 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.6915, allocations: 7.891 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.6917, allocations: 164.5 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6917, allocations: 0.8438 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.6917, allocations: 7.906 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.022e-05/0.6918, allocations: 4.562 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.6919, allocations: 42.16 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6919, allocations: 0 / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6919, allocations: 4.594 kB / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.6919, allocations: 0.875 kB / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.6921, allocations: 138.8 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.6922, allocations: 23.77 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.6922, allocations: 13.83 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.6922, allocations: 7.906 kB / 1.111 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.719e-05/0.6923, allocations: 56.09 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.6923, allocations: 4 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001572/0.6925, allocations: 49.62 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6925, allocations: 57 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.6926, allocations: 97.67 kB / 1.111 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6927, allocations: 25.7 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.6927, allocations: 84.05 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.6927, allocations: 15.84 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.6928, allocations: 0 / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6929, allocations: 310.8 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.6929, allocations: 16 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.966e-05/0.693, allocations: 36.28 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.693, allocations: 11.94 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.693, allocations: 3.938 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001072/0.6931, allocations: 73.52 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6932, allocations: 4 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6932, allocations: 0.5 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6932, allocations: 4 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.6933, allocations: 8 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6933, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.6933, allocations: 9.625 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.6933, allocations: 4 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.28e-05/0.6934, allocations: 117 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.6935, allocations: 7.891 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.6935, allocations: 7.75 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6935, allocations: 0 / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6935, allocations: 0 / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6935, allocations: 0 / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.6936, allocations: 134.2 kB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6937, allocations: 0 / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.6937, allocations: 7.906 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6937, allocations: 0 / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6937, allocations: 4 kB / 1.112 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6937, allocations: 3.984 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6937, allocations: 4 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001053/0.6938, allocations: 81.81 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.6939, allocations: 77.11 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.6939, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.694, allocations: 0 / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.694, allocations: 11.89 kB / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.694, allocations: 4 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.513e-05/0.6941, allocations: 83.28 kB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002844/0.6944, allocations: 51.86 kB / 1.112 GB, free: 5.348 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 (5): * Single equations (assignments): 3 * 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.000416/0.6948, allocations: 174.4 kB / 1.112 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.6949, allocations: 35.94 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6949, allocations: 0 / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.6949, allocations: 16 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.349e-05/0.695, allocations: 3 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.6953, allocations: 75.7 kB / 1.112 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.6956, allocations: 0.6919 MB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6956, allocations: 0 / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.003714/0.6994, allocations: 1.281 MB / 1.114 GB, free: 3.059 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)