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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) [: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.477/1.477, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001136/0.001136, allocations: 185.3 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.238/1.238, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0009626/0.0009626, allocations: 92.62 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2417/0.2427, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.8372, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/1.016, allocations: 138.4 MB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.017, allocations: 76.53 kB / 1.108 GB, free: 9.918 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: 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.006941/1.024, allocations: 2.295 MB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.024, allocations: 8 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/1.024, allocations: 8.438 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/1.024, allocations: 167.1 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/1.024, allocations: 0.5625 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.024, allocations: 4 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.168e-05/1.024, allocations: 15.92 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/1.024, allocations: 37.59 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.024, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.024, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.024, allocations: 1.031 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/1.024, allocations: 134.2 kB / 1.111 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/1.024, allocations: 29.17 kB / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/1.024, allocations: 16.84 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/1.024, allocations: 0 / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/1.025, allocations: 55.48 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.025, allocations: 0 / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001542/1.025, allocations: 49.59 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.025, allocations: 59.39 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/1.025, allocations: 89 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.025, allocations: 25.7 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/1.025, allocations: 85.83 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/1.025, allocations: 11.84 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.025, allocations: 0 / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.025, allocations: 318.7 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/1.025, allocations: 8 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/1.025, allocations: 35.44 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/1.025, allocations: 11.92 kB / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.025, allocations: 0 / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.378e-05/1.025, allocations: 61.56 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.025, allocations: 8.094 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.025, allocations: 4 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.025, allocations: 0 / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/1.025, allocations: 8 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.025, allocations: 3.906 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/1.025, allocations: 4 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/1.025, allocations: 0 / 1.111 GB, free: 6.188 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.79e-05/1.025, allocations: 113.6 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/1.026, allocations: 7.906 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.026, allocations: 8.344 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.026, allocations: 4 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.026, allocations: 0 / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.026, allocations: 0 / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/1.026, allocations: 130.2 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.026, allocations: 0 / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/1.026, allocations: 3.906 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.026, allocations: 0.5625 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.026, allocations: 8 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.026, allocations: 0 / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.026, allocations: 0 / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001014/1.026, allocations: 81.02 kB / 1.112 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002661/1.026, allocations: 477.9 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.026, allocations: 89.84 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.026, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/1.026, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/1.026, allocations: 4 kB / 1.112 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/1.026, allocations: 4 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.042e-05/1.026, allocations: 79.31 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008464/1.027, allocations: 55.88 kB / 1.112 GB, free: 5.035 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.0004455/1.028, allocations: 170 kB / 1.113 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/1.028, allocations: 27.94 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.028, allocations: 4 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/1.028, allocations: 8 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/1.028, allocations: 6.672 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/1.028, allocations: 68.97 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.028, allocations: 0.6915 MB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.028, allocations: 0 / 1.113 GB, free: 4.027 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)