Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.489/1.489, allocations: 289.8 MB / 297.1 MB, free: 6.559 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.001166/0.001167, allocations: 176.8 kB / 366.3 MB, free: 1.93 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.217/1.217, allocations: 205.1 MB / 0.6256 GB, free: 7.41 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.000914/0.000914, allocations: 89.69 kB / 0.7395 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.871e-06, allocations: 0 / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.558, allocations: 116.3 MB / 0.9725 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.7205, allocations: 138.5 MB / 1.108 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.7208, allocations: 71.95 kB / 1.108 GB, free: 11.86 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.006337/0.7271, allocations: 2.006 MB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.7271, allocations: 4 kB / 1.11 GB, free: 9.867 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.0003751/0.7275, allocations: 383.1 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7276, allocations: 8.031 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.7276, allocations: 3.906 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.7278, allocations: 165.3 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.7278, allocations: 0 / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.7278, allocations: 3.906 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.984e-05/0.7279, allocations: 11.34 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.728, allocations: 41.69 kB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.728, allocations: 0 / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.728, allocations: 3.984 kB / 1.11 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.728, allocations: 0.6875 kB / 1.11 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.7281, allocations: 130.8 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.7282, allocations: 27.17 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.7283, allocations: 14.45 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.7283, allocations: 3.906 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.612e-05/0.7284, allocations: 55.16 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7284, allocations: 0.6875 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001422/0.7285, allocations: 49.67 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.7286, allocations: 56.22 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.7286, allocations: 93.62 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.7287, allocations: 25.7 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.7287, allocations: 88.92 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.7287, allocations: 20.44 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.7287, allocations: 0 / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7289, allocations: 315.4 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.7289, allocations: 4.875 kB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.7289, allocations: 32.09 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.729, allocations: 22.33 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.729, allocations: 0.5938 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.371e-05/0.7291, allocations: 62.25 kB / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7291, allocations: 8.531 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7291, allocations: 0.5625 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7291, allocations: 0 / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.7292, allocations: 11.31 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.7292, allocations: 0 / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.7293, allocations: 8.484 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.7293, allocations: 1.312 kB / 1.111 GB, free: 8.059 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 7.26e-05/0.7293, allocations: 117.7 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-06/0.7294, allocations: 1.812 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.7294, allocations: 8.531 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7294, allocations: 0 / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7294, allocations: 0.5938 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7294, allocations: 4.781 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.7296, allocations: 134.2 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7296, allocations: 0 / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.7296, allocations: 4.844 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7296, allocations: 3.984 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7296, allocations: 1.062 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7296, allocations: 0 / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7296, allocations: 0 / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.206e-05/0.7297, allocations: 74.34 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.7298, allocations: 81.55 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.7298, allocations: 9.484 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.7298, allocations: 2.062 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.7299, allocations: 4 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.7299, allocations: 0 / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.681e-05/0.7299, allocations: 87.22 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002558/0.7302, allocations: 51.86 kB / 1.112 GB, free: 7.402 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.000364/0.7305, allocations: 176.9 kB / 1.112 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.7306, allocations: 27.92 kB / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7307, allocations: 0 / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.7307, allocations: 12 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.983e-05/0.7308, allocations: 1.031 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.731, allocations: 71.69 kB / 1.112 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.7313, allocations: 0.6917 MB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7313, allocations: 4 kB / 1.113 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of Templates: time 0.003354/0.7346, allocations: 1.268 MB / 1.114 GB, free: 5.156 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)