Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009461/0.0009462, allocations: 186.1 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 94.75 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3439/0.3448, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.5222, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/1.022, allocations: 132.3 MB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.022, allocations: 70.39 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.006573/1.029, allocations: 2.373 MB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.029, allocations: 8 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/1.029, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.029, allocations: 170.3 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/1.029, allocations: 6.688 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.029, allocations: 3.938 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.74e-05/1.029, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/1.029, allocations: 40.56 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.03, allocations: 4 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.03, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.03, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/1.03, allocations: 141.7 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/1.03, allocations: 25.08 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/1.03, allocations: 16.8 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/1.03, allocations: 0 / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/1.03, allocations: 55.38 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/1.03, allocations: 0 / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001493/1.03, allocations: 53.41 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.03, allocations: 55.28 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/1.03, allocations: 89 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.03, allocations: 37.62 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/1.03, allocations: 83.27 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/1.03, allocations: 15.75 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/1.03, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.03, allocations: 317.8 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/1.03, allocations: 7.938 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/1.03, allocations: 39.84 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/1.03, allocations: 8 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.03, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.406e-05/1.031, allocations: 72.02 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/1.031, allocations: 7.938 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.031, allocations: 4 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.031, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/1.031, allocations: 9.062 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.031, allocations: 4 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/1.031, allocations: 4.125 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.031, allocations: 8.703 kB / 1.017 GB, free: 2.723 MB / 0.6355 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 7.818e-05/1.031, allocations: 104.9 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.031, allocations: 7.984 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/1.031, allocations: 6.938 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.031, allocations: 3.938 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.031, allocations: 7.875 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.031, allocations: 0 / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.148e-05/1.031, allocations: 138.1 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.031, allocations: 4 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/1.031, allocations: 6.938 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.031, allocations: 0 / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.031, allocations: 4 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.031, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.031, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.491e-05/1.031, allocations: 80.83 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002299/1.031, allocations: 488.9 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/1.031, allocations: 89 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/1.031, allocations: 3.984 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/1.031, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/1.031, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.031, allocations: 4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.318e-05/1.032, allocations: 86.97 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007794/1.032, allocations: 59.17 kB / 1.018 GB, free: 1.586 MB / 0.6355 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.0003177/1.033, allocations: 160 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.732e-05/1.033, allocations: 31.3 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/1.033, allocations: 0 / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/1.033, allocations: 11.62 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.933e-05/1.033, allocations: 15.34 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/1.033, allocations: 75.14 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.033, allocations: 0.6957 MB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.033, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)