Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.335/2.335, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.002665/0.002666, allocations: 181.3 kB / 360.3 MB, free: 7.551 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.838/1.838, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001196/0.001196, allocations: 90.12 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2748/0.276, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.9791, allocations: 115.2 MB / 0.9627 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/1.217, allocations: 137.3 MB / 1.097 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.217, allocations: 72.66 kB / 1.097 GB, free: 3.484 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01055/1.228, allocations: 2.298 MB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.228, allocations: 8.5 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/1.228, allocations: 6.906 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.228, allocations: 167.1 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/1.228, allocations: 0 / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/1.228, allocations: 8.438 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.55e-05/1.228, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/1.229, allocations: 45.59 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/1.229, allocations: 3.938 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.229, allocations: 0.5156 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/1.229, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/1.229, allocations: 134.2 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/1.229, allocations: 29.2 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/1.229, allocations: 16.5 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/1.229, allocations: 0 / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.453e-05/1.229, allocations: 55.53 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/1.229, allocations: 0 / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001768/1.229, allocations: 54.09 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.229, allocations: 51.41 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/1.229, allocations: 93.56 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/1.229, allocations: 25.7 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/1.229, allocations: 84.66 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/1.229, allocations: 17.03 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/1.229, allocations: 0 / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.23, allocations: 314.8 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/1.23, allocations: 5.719 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/1.23, allocations: 35.42 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/1.23, allocations: 10.7 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/1.23, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000139/1.23, allocations: 62.28 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.23, allocations: 8 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.23, allocations: 0.5938 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.23, allocations: 0.5 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.23, allocations: 16.53 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.23, allocations: 5.781 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/1.23, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.23, allocations: 0.5312 kB / 1.1 GB, free: 15.8 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 9.646e-05/1.23, allocations: 110.5 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.23, allocations: 4.656 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/1.23, allocations: 3.688 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.23, allocations: 0.8438 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.23, allocations: 4 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.23, allocations: 3.922 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/1.231, allocations: 135.9 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.231, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/1.231, allocations: 8.922 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.231, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.231, allocations: 3.938 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.231, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.231, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001402/1.231, allocations: 70.94 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004317/1.231, allocations: 479 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/1.231, allocations: 81.02 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/1.231, allocations: 4 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/1.232, allocations: 5.953 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/1.232, allocations: 3.938 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.232, allocations: 4.656 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.444e-05/1.232, allocations: 79.84 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001219/1.233, allocations: 51.86 kB / 1.101 GB, free: 14.67 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.0004854/1.233, allocations: 176.1 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001266/1.234, allocations: 28.53 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.234, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/1.234, allocations: 8.656 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/1.234, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/1.234, allocations: 68.92 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.234, allocations: 0.6954 MB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.234, allocations: 0 / 1.102 GB, free: 13.67 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)