Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001282/0.001282, allocations: 181.2 kB / 366.3 MB, free: 1.953 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.497/1.497, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009175/0.0009175, allocations: 93.91 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2908/0.2917, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.9088, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/1.072, allocations: 138.5 MB / 1.108 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/1.072, allocations: 71.97 kB / 1.108 GB, free: 9.867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.006547/1.078, allocations: 2.365 MB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/1.078, allocations: 17.02 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/1.078, allocations: 3.906 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.079, allocations: 167.7 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.079, allocations: 0.9375 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/1.079, allocations: 3.906 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.511e-05/1.079, allocations: 7.938 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.822e-05/1.079, allocations: 38.22 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/1.079, allocations: 0.5 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/1.079, allocations: 0.5312 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.079, allocations: 0.5938 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/1.079, allocations: 139.1 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/1.079, allocations: 30.95 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/1.079, allocations: 12.86 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/1.079, allocations: 4.969 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/1.079, allocations: 56.84 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.079, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001253/1.079, allocations: 53.69 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/1.079, allocations: 51.41 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/1.079, allocations: 105 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/1.079, allocations: 25.7 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/1.079, allocations: 84.05 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/1.079, allocations: 16.41 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/1.079, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.08, allocations: 314.8 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/1.08, allocations: 12 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/1.08, allocations: 36.3 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/1.08, allocations: 7.938 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.08, allocations: 8.5 kB / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.789e-05/1.08, allocations: 69.52 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.08, allocations: 8 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.08, allocations: 0 / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/1.08, allocations: 0 / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/1.08, allocations: 8.047 kB / 1.111 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.08, allocations: 11.45 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/1.08, allocations: 7.891 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.08, allocations: 4 kB / 1.112 GB, free: 6.031 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 6.963e-05/1.08, allocations: 113.1 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/1.08, allocations: 7.906 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/1.08, allocations: 3.75 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.08, allocations: 0 / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.08, allocations: 0 / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.08, allocations: 4 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.891e-05/1.08, allocations: 138.2 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.08, allocations: 0.5625 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/1.08, allocations: 7.906 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.08, allocations: 0 / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.08, allocations: 7.984 kB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.08, allocations: 0 / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.08, allocations: 0 / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.707e-05/1.08, allocations: 81.81 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002579/1.081, allocations: 489.9 kB / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/1.081, allocations: 85.09 kB / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.081, allocations: 0 / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/1.081, allocations: 0 / 1.112 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/1.081, allocations: 4 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.081, allocations: 0 / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.158e-05/1.081, allocations: 87.17 kB / 1.112 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007997/1.082, allocations: 51.88 kB / 1.113 GB, free: 4.867 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.0003142/1.082, allocations: 177.3 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/1.082, allocations: 27.94 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.082, allocations: 4 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.533e-05/1.082, allocations: 12 kB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.797e-05/1.082, allocations: 0 / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/1.082, allocations: 75.77 kB / 1.113 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/1.083, allocations: 0.696 MB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.083, allocations: 0 / 1.114 GB, free: 3.836 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)