Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [: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.0.1-maint.8.0.x/package.mo): time 1.469/1.469, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001251/0.001251, allocations: 177.3 kB / 361.1 MB, free: 7.074 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.399/1.399, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000884/0.000884, allocations: 85.75 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.786e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6476, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.807, allocations: 137.5 MB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.8073, allocations: 72.78 kB / 1.098 GB, free: 2.387 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.006744/0.8141, allocations: 2.006 MB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8141, allocations: 0 / 1.1 GB, free: 432 kB / 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.0004683/0.8146, allocations: 384 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.8146, allocations: 8.031 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.8147, allocations: 7.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.8148, allocations: 165.1 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.8148, allocations: 0.6562 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.8149, allocations: 7.906 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.721e-05/0.8149, allocations: 9.812 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.815, allocations: 38.98 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.815, allocations: 2.625 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.815, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.815, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.8152, allocations: 134.2 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.8153, allocations: 29.08 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.8153, allocations: 9.422 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.8153, allocations: 3.906 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/0.8154, allocations: 63.62 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8154, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.8156, allocations: 50.2 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.8156, allocations: 54.28 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.8157, allocations: 93 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.8157, allocations: 29.7 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.8158, allocations: 85.08 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.8158, allocations: 15.83 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.8158, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8159, allocations: 315.7 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.816, allocations: 8 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.816, allocations: 25.19 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.816, allocations: 25.09 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.816, allocations: 0.5 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.085e-05/0.8161, allocations: 63.59 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8162, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8162, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8162, allocations: 8.875 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.8163, allocations: 8.797 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8163, allocations: 6.062 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.8163, allocations: 0.5938 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.8163, allocations: 4.844 kB / 1.102 GB, free: 14.61 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 8.467e-05/0.8164, allocations: 109.4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.8164, allocations: 4 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.8165, allocations: 8.531 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8165, allocations: 0.5312 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8165, allocations: 1.125 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.8165, allocations: 3.906 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.8166, allocations: 130.2 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8166, allocations: 1.75 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.8166, allocations: 7.984 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8167, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.8167, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8167, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8167, allocations: 5.203 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.84e-05/0.8168, allocations: 76.88 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.8168, allocations: 85.02 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.8169, allocations: 4.734 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.8169, allocations: 0.875 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.8169, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8169, allocations: 4.75 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.841e-05/0.817, allocations: 87.22 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002642/0.8173, allocations: 52.48 kB / 1.102 GB, free: 13.96 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.0003807/0.8177, allocations: 169.8 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.8178, allocations: 31.92 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8178, allocations: 0 / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.8178, allocations: 8 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.854e-05/0.8179, allocations: 7.984 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.8181, allocations: 69.06 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.8184, allocations: 0.6995 MB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8184, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.003357/0.8218, allocations: 1.273 MB / 1.104 GB, free: 11.71 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)