Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") [: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.479/1.479, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001319/0.001319, allocations: 185.2 kB / 366.3 MB, free: 1.961 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.248/1.248, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0009001/0.0009001, allocations: 98.36 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.084e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5461, allocations: 116.3 MB / 0.9725 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.7089, allocations: 138.4 MB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.7092, allocations: 80.66 kB / 1.108 GB, free: 9.934 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.006323/0.7156, allocations: 1.928 MB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.7156, allocations: 0.5625 kB / 1.11 GB, free: 8.02 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.0003361/0.7159, allocations: 377.8 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.716, allocations: 12.56 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.716, allocations: 4.406 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.7161, allocations: 163.1 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.7162, allocations: 8.594 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.7162, allocations: 4 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.004e-05/0.7162, allocations: 4 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.235e-05/0.7163, allocations: 41.53 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7163, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.7163, allocations: 1.031 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7163, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.7165, allocations: 134.2 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.7166, allocations: 26.61 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.7166, allocations: 16.86 kB / 1.11 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.7166, allocations: 0 / 1.11 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.586e-05/0.7167, allocations: 53.97 kB / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7167, allocations: 0 / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001462/0.7168, allocations: 53.53 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.7169, allocations: 55.41 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.717, allocations: 93 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.717, allocations: 26.45 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.717, allocations: 88.12 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.717, allocations: 7.844 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.7171, allocations: 4 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.7172, allocations: 314.8 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.7172, allocations: 8 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.7172, allocations: 35.42 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.7172, allocations: 12.17 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7173, allocations: 0.9375 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.614e-05/0.7173, allocations: 65.55 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.7174, allocations: 4 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7174, allocations: 0 / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7174, allocations: 4.094 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.7175, allocations: 11.98 kB / 1.111 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7175, allocations: 7.906 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.7175, allocations: 0 / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7175, allocations: 4 kB / 1.111 GB, free: 6.199 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.949e-05/0.7176, allocations: 105 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.7176, allocations: 8.844 kB / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.7176, allocations: 3.688 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.7177, allocations: 0 / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.7177, allocations: 4 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7177, allocations: 0 / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.276e-05/0.7178, allocations: 130.2 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7178, allocations: 0 / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.7178, allocations: 15.83 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7178, allocations: 0 / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.7178, allocations: 4 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7178, allocations: 0.5625 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7178, allocations: 0 / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.604e-05/0.7179, allocations: 81.03 kB / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.718, allocations: 77.11 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.718, allocations: 3.984 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.718, allocations: 4 kB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.718, allocations: 1.312 kB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.7181, allocations: 0 / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.749e-05/0.7181, allocations: 79.28 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002511/0.7184, allocations: 51.86 kB / 1.112 GB, free: 5.555 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.0003411/0.7187, allocations: 176.4 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.7188, allocations: 27.97 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7188, allocations: 0 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.7188, allocations: 15.94 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.149e-05/0.7189, allocations: 0.625 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.7191, allocations: 68.11 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.7194, allocations: 0.6876 MB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7194, allocations: 0 / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of Templates: time 0.003219/0.7226, allocations: 1.232 MB / 1.114 GB, free: 3.34 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)