Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.372/1.372, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001024/0.001024, allocations: 187.3 kB / 361.1 MB, free: 7.109 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.149/1.149, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007724/0.0007724, allocations: 92.59 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2181/0.2189, allocations: 121.4 MB / 0.8511 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.7856, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.9388, allocations: 137.5 MB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.939, allocations: 72.98 kB / 1.098 GB, free: 2.48 MB / 0.698 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006046/0.9451, allocations: 2.293 MB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.9451, allocations: 16.19 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.9452, allocations: 7.906 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.9454, allocations: 167.8 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.9454, allocations: 5.438 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.9454, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.733e-05/0.9454, allocations: 4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.9455, allocations: 37.59 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.9455, allocations: 0.5625 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.9455, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9455, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.9457, allocations: 135.5 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.9457, allocations: 36.3 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.9458, allocations: 8.859 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.9458, allocations: 3.938 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.9459, allocations: 53.31 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9459, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000124/0.946, allocations: 49.59 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.946, allocations: 52.28 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.9461, allocations: 94.38 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.9461, allocations: 29.55 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.9461, allocations: 89.06 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.9462, allocations: 7.844 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.9462, allocations: 0.5312 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.9463, allocations: 323.3 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.9463, allocations: 4.844 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.9463, allocations: 36.05 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.9464, allocations: 15.2 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9464, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.963e-05/0.9464, allocations: 57.62 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.9465, allocations: 6 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9465, allocations: 1.797 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.9465, allocations: 4 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.9465, allocations: 9.609 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9466, allocations: 7.906 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.9466, allocations: 1.312 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.9466, allocations: 4 kB / 1.102 GB, free: 14.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 6.038e-05/0.9467, allocations: 110 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.9467, allocations: 8.656 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.9467, allocations: 4.219 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9467, allocations: 0 / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.9467, allocations: 0.5938 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9467, allocations: 1.594 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.364e-05/0.9468, allocations: 134.2 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9468, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.9468, allocations: 15.89 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.9469, allocations: 0.6094 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.9469, allocations: 2.219 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.9469, allocations: 0.5625 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9469, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.353e-05/0.947, allocations: 78.97 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001995/0.9472, allocations: 476.1 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.9472, allocations: 81.02 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.9472, allocations: 0.5312 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.9473, allocations: 4.172 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.9473, allocations: 8 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.9473, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.693e-05/0.9473, allocations: 80.5 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007753/0.9481, allocations: 55.86 kB / 1.103 GB, free: 13.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.000296/0.9484, allocations: 171.1 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.465e-05/0.9485, allocations: 32.62 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.9485, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.9485, allocations: 12 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.255e-05/0.9486, allocations: 2.5 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.9488, allocations: 68.67 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.949, allocations: 0.6915 MB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.949, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)