Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.0.1-maint.8.0.x/package.mo): time 1.444/1.444, allocations: 285.5 MB / 292.8 MB, free: 9.941 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.0009376/0.0009376, allocations: 190.6 kB / 361.1 MB, free: 348 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.2 MB / 0.6195 GB, free: 2.965 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 99.23 kB / 0.7326 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4674/0.4683, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.6515, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5408/1.192, allocations: 137.5 MB / 1.098 GB, free: 44.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.193, allocations: 71.27 kB / 1.098 GB, free: 44.1 MB / 0.7136 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: 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.006167/1.199, allocations: 2.374 MB / 1.1 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.199, allocations: 7.781 kB / 1.1 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/1.199, allocations: 7.875 kB / 1.1 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/1.199, allocations: 162.1 kB / 1.101 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.199, allocations: 3.844 kB / 1.101 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/1.199, allocations: 0 / 1.101 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.054e-05/1.199, allocations: 14.19 kB / 1.101 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.333e-05/1.199, allocations: 43.28 kB / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.199, allocations: 0 / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.199, allocations: 0.5625 kB / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.199, allocations: 0 / 1.101 GB, free: 43.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/1.199, allocations: 140 kB / 1.101 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/1.199, allocations: 23.64 kB / 1.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/1.199, allocations: 14.98 kB / 1.101 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/1.199, allocations: 4 kB / 1.101 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/1.2, allocations: 59.47 kB / 1.101 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/1.2, allocations: 0 / 1.101 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001475/1.2, allocations: 49.66 kB / 1.101 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/1.2, allocations: 57.72 kB / 1.101 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/1.2, allocations: 91.38 kB / 1.101 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/1.2, allocations: 29.7 kB / 1.101 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/1.2, allocations: 86.52 kB / 1.101 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/1.2, allocations: 18.03 kB / 1.101 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.2, allocations: 0 / 1.101 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/1.2, allocations: 310.8 kB / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/1.2, allocations: 6.375 kB / 1.102 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/1.2, allocations: 40.72 kB / 1.102 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/1.2, allocations: 18.12 kB / 1.102 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.2, allocations: 0 / 1.102 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.748e-05/1.2, allocations: 70.17 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.2, allocations: 3.75 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.2, allocations: 6.5 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.2, allocations: 4.125 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/1.2, allocations: 11.61 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.2, allocations: 4.547 kB / 1.102 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/1.2, allocations: 7.891 kB / 1.102 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.2, allocations: 6.219 kB / 1.102 GB, free: 42.4 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 5.38e-05/1.2, allocations: 108.9 kB / 1.102 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.2, allocations: 3.906 kB / 1.102 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/1.2, allocations: 6.125 kB / 1.102 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.2, allocations: 0 / 1.102 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.2, allocations: 7.75 kB / 1.102 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.2, allocations: 0 / 1.102 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.193e-05/1.201, allocations: 134.5 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.201, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/1.201, allocations: 7.688 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.201, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/1.201, allocations: 3.906 kB / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.201, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.201, allocations: 0 / 1.102 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.535e-05/1.201, allocations: 87.2 kB / 1.102 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001801/1.201, allocations: 484.2 kB / 1.102 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/1.201, allocations: 87.2 kB / 1.103 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.201, allocations: 0 / 1.103 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/1.201, allocations: 3 kB / 1.103 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/1.201, allocations: 0 / 1.103 GB, free: 41.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/1.201, allocations: 7.781 kB / 1.103 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.98e-05/1.201, allocations: 82.28 kB / 1.103 GB, free: 41.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008151/1.202, allocations: 58.02 kB / 1.103 GB, free: 41.41 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.0003678/1.202, allocations: 181.9 kB / 1.103 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/1.202, allocations: 30.19 kB / 1.103 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.202, allocations: 0 / 1.103 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/1.202, allocations: 15.62 kB / 1.103 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.628e-05/1.202, allocations: 0 / 1.103 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/1.203, allocations: 75.28 kB / 1.103 GB, free: 41.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.203, allocations: 0.6912 MB / 1.104 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/1.203, allocations: 0 / 1.104 GB, free: 56.52 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)